Browse Source

房屋、小区管理接口地址调整

master
Jackwang 3 years ago
parent
commit
4110622630
  1. 6
      src/views/modules/personroom/epidemicbuildingunit-add-or-update.vue
  2. 6
      src/views/modules/personroom/epidemicplotcoordinate-add-or-update.vue
  3. 6
      src/views/modules/personroom/epidemicplotcoordinate.vue
  4. 4
      src/views/modules/personroom/epidemicreportuserinfo-add-or-update.vue
  5. 2
      src/views/modules/personroom/plotbinding.vue

6
src/views/modules/personroom/epidemicbuildingunit-add-or-update.vue

@ -362,12 +362,12 @@ export default {
}).catch(() => {}) }).catch(() => {})
}, },
queryComm (event) { 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 this.communitys = res.data
}).catch(() => {}) }).catch(() => {})
}, },
queryGrid (event) { 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 this.grids = res.data
}).catch(() => {}) }).catch(() => {})
}, },
@ -394,7 +394,7 @@ export default {
}, },
// (4) // (4)
getDailyTypeArrInfo () { 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 this.streetArr = res.data
}).catch(() => {}) }).catch(() => {})
}, },

6
src/views/modules/personroom/epidemicplotcoordinate-add-or-update.vue

@ -233,17 +233,17 @@ export default {
}, },
// (4) // (4)
getDailyTypeArrInfo () { 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 this.streetArr = res.data
}).catch(() => {}) }).catch(() => {})
}, },
queryComm (event) { 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 this.communitys = res.data
}).catch(() => {}) }).catch(() => {})
}, },
queryGrid (event) { 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 this.grids = res.data
}).catch(() => {}) }).catch(() => {})
}, },

6
src/views/modules/personroom/epidemicplotcoordinate.vue

@ -108,7 +108,7 @@ export default {
methods: { methods: {
// (4) // (4)
getDailyTypeArrInfo () { 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 this.streetArr = res.data
}).catch(() => {}) }).catch(() => {})
}, },
@ -125,7 +125,7 @@ export default {
this.streetArr.find((item) => { this.streetArr.find((item) => {
if (item.deptId === event) { if (item.deptId === event) {
this.dataForm.streetId = item.deptId 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 this.communitys = res.data
}).catch(() => {}) }).catch(() => {})
} }
@ -137,7 +137,7 @@ export default {
this.communitys.find((item) => { this.communitys.find((item) => {
if (item.deptId === event) { if (item.deptId === event) {
this.dataForm.communityId = item.deptId 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 this.grids = res.data
}).catch(() => {}) }).catch(() => {})
} }

4
src/views/modules/personroom/epidemicreportuserinfo-add-or-update.vue

@ -512,7 +512,7 @@ export default {
}).catch((err) => { }).catch((err) => {
console.log(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) { if (res.code !== 0) {
return this.$message.error(res.msg) return this.$message.error(res.msg)
} }
@ -551,7 +551,7 @@ export default {
}, },
// / // /
deptInfo (id, isCommunityOfGrid) { 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) { if (res.code !== 0) {
return this.$message.error(res.msg) return this.$message.error(res.msg)
} }

2
src/views/modules/personroom/plotbinding.vue

@ -153,7 +153,7 @@ export default {
}, },
// (4) // (4)
getDailyTypeArrInfo () { 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 this.streetArr = res.data
}).catch(() => {}) }).catch(() => {})
}, },

Loading…
Cancel
Save