From 41106226302aa8d85d47f1d3f245387acc20eea4 Mon Sep 17 00:00:00 2001 From: Jackwang Date: Wed, 20 Jul 2022 15:20:35 +0800 Subject: [PATCH] =?UTF-8?q?=E6=88=BF=E5=B1=8B=E3=80=81=E5=B0=8F=E5=8C=BA?= =?UTF-8?q?=E7=AE=A1=E7=90=86=E6=8E=A5=E5=8F=A3=E5=9C=B0=E5=9D=80=E8=B0=83?= =?UTF-8?q?=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../personroom/epidemicbuildingunit-add-or-update.vue | 6 +++--- .../personroom/epidemicplotcoordinate-add-or-update.vue | 6 +++--- src/views/modules/personroom/epidemicplotcoordinate.vue | 6 +++--- .../personroom/epidemicreportuserinfo-add-or-update.vue | 4 ++-- src/views/modules/personroom/plotbinding.vue | 2 +- 5 files changed, 12 insertions(+), 12 deletions(-) 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(() => {}) },