mk 2 years ago
parent
commit
59b0ef1a8c
  1. 9
      src/views/components/resiSearch.vue

9
src/views/components/resiSearch.vue

@ -833,12 +833,11 @@ export default {
} else { } else {
agencyIdTemp = this.form.agencyId[this.form.agencyId.length - 1] agencyIdTemp = this.form.agencyId[this.form.agencyId.length - 1]
} }
const gridIdQuery = ''; var gridIdQuery = '';
const agencyIdQuery = this.form.agencyId[0]; var agencyIdQuery = this.form.agencyId[0];
if (this.form.agencyId.length >= 2) { if (this.form.agencyId.length >= 2) {
lastIndex = this.form.agencyId.length - 1; agencyIdQuery= this.form.agencyId[this.form.agencyId.length - 2];
agencyIdQuery= this.form.agencyId[lastIndex - 1]; gridIdQuery = this.form.agencyId[this.form.agencyId.length - 1];
gridIdQuery = this.form.agencyId[lastIndex];
} }
this.$http this.$http

Loading…
Cancel
Save