Browse Source

修复居民查询调用了老产品接口的历史遗留问题

feature
duanliangtao 2 years ago
parent
commit
7d2496c2e4
  1. 8
      src/views/components/resiSearch.vue
  2. 6
      src/views/modules/base/residentManagement/louzhang/louzhangList.vue
  3. 8
      src/views/modules/base/residentManagement/tefu/tefuList.vue

8
src/views/components/resiSearch.vue

@ -853,8 +853,8 @@ export default {
},
getBuildList () {
this.$http
.post('/gov/org/icbuilding/buildingoption', {
neighborHoodId: this.form.villageId
.post('/actual/base/communityBuilding/buildingoption', {
quartersId: this.form.villageId
})
.then(({ data: res }) => {
if (res.code !== 0) {
@ -870,7 +870,7 @@ export default {
},
getUniList () {
this.$http
.post('/gov/org/icbuildingunit/unitoption', {
.post('/actual/base/communityBuildingUnit/unitoption', {
buildingId: this.form.buildId
})
.then(({ data: res }) => {
@ -887,7 +887,7 @@ export default {
},
getHouseList () {
this.$http
.post('/gov/org/ichouse/houseoption', { unitId: this.form.unitId })
.post('/actual/base/communityHouse/houseoption', { buildingId: this.form.buildId,unitId: this.form.unitId })
.then(({ data: res }) => {
if (res.code !== 0) {
return this.$message.error(res.msg)

6
src/views/modules/base/residentManagement/louzhang/louzhangList.vue

@ -392,8 +392,8 @@ export default {
},
getBuildList () {
this.$http
.post('/gov/org/icbuilding/buildingoption', {
neighborHoodId: this.formData.villageId
.post('/actual/base/communityBuilding/buildingoption', {
quartersId: this.formData.villageId
})
.then(({ data: res }) => {
if (res.code !== 0) {
@ -409,7 +409,7 @@ export default {
},
getUniList () {
this.$http
.post('/gov/org/icbuildingunit/unitoption', {
.post('/actual/base/communityBuildingUnit/unitoption', {
buildingId: this.formData.buildId
})
.then(({ data: res }) => {

8
src/views/modules/base/residentManagement/tefu/tefuList.vue

@ -683,8 +683,8 @@ export default {
},
getBuildList () {
this.$http
.post('/gov/org/icbuilding/buildingoption', {
neighborHoodId: this.formData.villageId
.post('/actual/base/communityBuilding/buildingoption', {
quartersId: this.formData.villageId
})
.then(({ data: res }) => {
if (res.code !== 0) {
@ -700,7 +700,7 @@ export default {
},
getUniList () {
this.$http
.post('/gov/org/icbuildingunit/unitoption', {
.post('/actual/base/communityBuildingUnit/unitoption', {
buildingId: this.formData.buildId
})
.then(({ data: res }) => {
@ -717,7 +717,7 @@ export default {
},
getHouseList () {
this.$http
.post('/gov/org/ichouse/houseoption', { unitId: this.formData.unitId })
.post('/actual/base/communityHouse/houseoption', { buildingId: this.formData.buildId,unitId: this.formData.unitId })
.then(({ data: res }) => {
if (res.code !== 0) {
return this.$message.error(res.msg)

Loading…
Cancel
Save