Browse Source

修复街道级别的用户无法通过网格查找到对应房屋

feature
duanliangtao 2 years ago
parent
commit
8bf1269a4c
  1. 11
      src/views/components/resiSearch.vue

11
src/views/components/resiSearch.vue

@ -833,9 +833,14 @@ export default {
} else {
agencyIdTemp = this.form.agencyId[this.form.agencyId.length - 1]
}
const lastIndex = this.form.agencyId.length - 1;
const gridIdQuery = this.form.agencyId[lastIndex - 1];
const agencyIdQuery = this.form.agencyId[lastIndex];
const gridIdQuery = '';
const agencyIdQuery = this.form.agencyId[0];
if (this.form.agencyId.length >= 2) {
lastIndex = this.form.agencyId.length - 1;
agencyIdQuery= this.form.agencyId[lastIndex - 1];
gridIdQuery = this.form.agencyId[lastIndex];
}
this.$http
.post('/actual/base/communityQuarters/listQuartersOptions', {
gridId: gridIdQuery,

Loading…
Cancel
Save