diff --git a/src/views/modules/personroom/epidemicbuildingunit-add-or-update.vue b/src/views/modules/personroom/epidemicbuildingunit-add-or-update.vue index b9a4042..3bce8e2 100644 --- a/src/views/modules/personroom/epidemicbuildingunit-add-or-update.vue +++ b/src/views/modules/personroom/epidemicbuildingunit-add-or-update.vue @@ -362,12 +362,12 @@ export default { }).catch(() => {}) }, queryComm (event) { - this.$http.get(`sys/dept/deptInfo?deptPid=${event}`).then(({ data: res }) => { + this.$http.get(`sys/sysdeptinfo/getDeptInfo?deptPid=${event}`).then(({ data: res }) => { this.communitys = res.data }).catch(() => {}) }, queryGrid (event) { - this.$http.get(`sys/dept/deptInfo?deptPid=${event}`).then(({ data: res }) => { + this.$http.get(`sys/sysdeptinfo/getDeptInfo?deptPid=${event}`).then(({ data: res }) => { this.grids = res.data }).catch(() => {}) }, @@ -394,7 +394,7 @@ export default { }, // 获取乡镇下拉信息(传参:4代表查“街道”) getDailyTypeArrInfo () { - this.$http.get(`sys/dept/deptInfo?tags=street_party`).then(({ data: res }) => { + this.$http.get(`sys/sysdeptinfo/getDeptInfo?tags=street_party`).then(({ data: res }) => { this.streetArr = res.data }).catch(() => {}) }, diff --git a/src/views/modules/personroom/epidemicplotcoordinate-add-or-update.vue b/src/views/modules/personroom/epidemicplotcoordinate-add-or-update.vue index 98050ed..e8eedb3 100644 --- a/src/views/modules/personroom/epidemicplotcoordinate-add-or-update.vue +++ b/src/views/modules/personroom/epidemicplotcoordinate-add-or-update.vue @@ -233,17 +233,17 @@ export default { }, // 获取乡镇下拉信息(传参:4代表查“街道”) getDailyTypeArrInfo () { - this.$http.get(`sys/dept/deptInfo?tags=street_party`).then(({ data: res }) => { + this.$http.get(`sys/sysdeptinfo/getDeptInfo?tags=street_party`).then(({ data: res }) => { this.streetArr = res.data }).catch(() => {}) }, queryComm (event) { - this.$http.get(`sys/dept/deptInfo?deptPid=${event}`).then(({ data: res }) => { + this.$http.get(`sys/sysdeptinfo/getDeptInfo?deptPid=${event}`).then(({ data: res }) => { this.communitys = res.data }).catch(() => {}) }, queryGrid (event) { - this.$http.get(`sys/dept/deptInfo?deptPid=${event}`).then(({ data: res }) => { + this.$http.get(`sys/sysdeptinfo/getDeptInfo?deptPid=${event}`).then(({ data: res }) => { this.grids = res.data }).catch(() => {}) }, diff --git a/src/views/modules/personroom/epidemicplotcoordinate.vue b/src/views/modules/personroom/epidemicplotcoordinate.vue index 177c2d7..ed47678 100644 --- a/src/views/modules/personroom/epidemicplotcoordinate.vue +++ b/src/views/modules/personroom/epidemicplotcoordinate.vue @@ -108,7 +108,7 @@ export default { methods: { // 获取乡镇下拉信息(传参:4代表查“街道”) getDailyTypeArrInfo () { - this.$http.get(`sys/dept/deptInfo?tags=street_party`).then(({ data: res }) => { + this.$http.get(`sys/sysdeptinfo/getDeptInfo?tags=street_party`).then(({ data: res }) => { this.streetArr = res.data }).catch(() => {}) }, @@ -125,7 +125,7 @@ export default { this.streetArr.find((item) => { if (item.deptId === event) { this.dataForm.streetId = item.deptId - this.$http.get(`sys/dept/deptInfo?deptPid=${event}`).then(({ data: res }) => { + this.$http.get(`sys/sysdeptinfo/getDeptInfo?deptPid=${event}`).then(({ data: res }) => { this.communitys = res.data }).catch(() => {}) } @@ -137,7 +137,7 @@ export default { this.communitys.find((item) => { if (item.deptId === event) { this.dataForm.communityId = item.deptId - this.$http.get(`sys/dept/deptInfo?deptPid=${event}`).then(({ data: res }) => { + this.$http.get(`sys/sysdeptinfo/getDeptInfo?deptPid=${event}`).then(({ data: res }) => { this.grids = res.data }).catch(() => {}) } diff --git a/src/views/modules/personroom/epidemicreportuserinfo-add-or-update.vue b/src/views/modules/personroom/epidemicreportuserinfo-add-or-update.vue index 4fe6767..0f194c5 100644 --- a/src/views/modules/personroom/epidemicreportuserinfo-add-or-update.vue +++ b/src/views/modules/personroom/epidemicreportuserinfo-add-or-update.vue @@ -512,7 +512,7 @@ export default { }).catch((err) => { console.log(err) }) - this.$http.get(`/sys/dept/deptInfo?deptPid=53613e1c5de6ed473467f0159a10b135&tags=street_party`).then(({ data: res }) => { + this.$http.get(`/sys/sysdeptinfo/getDeptInfo?deptPid=53613e1c5de6ed473467f0159a10b135&tags=street_party`).then(({ data: res }) => { if (res.code !== 0) { return this.$message.error(res.msg) } @@ -551,7 +551,7 @@ export default { }, // 获取村庄社区/网格 deptInfo (id, isCommunityOfGrid) { - this.$http.get(`/sys/dept/deptInfo?deptPid=${id}`).then(({ data: res }) => { + this.$http.get(`/sys/sysdeptinfo/getDeptInfo?deptPid=${id}`).then(({ data: res }) => { if (res.code !== 0) { return this.$message.error(res.msg) } diff --git a/src/views/modules/personroom/plotbinding.vue b/src/views/modules/personroom/plotbinding.vue index a4f3023..f24fb7a 100644 --- a/src/views/modules/personroom/plotbinding.vue +++ b/src/views/modules/personroom/plotbinding.vue @@ -153,7 +153,7 @@ export default { }, // 获取乡镇下拉信息(传参:4代表查“街道”) getDailyTypeArrInfo () { - this.$http.get(`/sys/dept/deptInfo?deptPid=53613e1c5de6ed473467f0159a10b135&tags=street_party`).then(({ data: res }) => { + this.$http.get(`/sys/sysdeptinfo/getDeptInfo?deptPid=53613e1c5de6ed473467f0159a10b135&tags=street_party`).then(({ data: res }) => { this.streetArr = res.data }).catch(() => {}) },