Browse Source

bug修改

V1.0
jiangyy 3 years ago
parent
commit
54544f9931
  1. 16
      src/views/modules/base/community/community.vue

16
src/views/modules/base/community/community.vue

@ -127,6 +127,7 @@
<div class="resi-cell-col">
<el-form-item prop="neighborHoodId">
<el-select v-model.trim="neighborHoodId"
:disabled="vDisabled"
placeholder="小区"
size="small"
clearable
@ -142,7 +143,7 @@
<el-form-item prop="buildingId">
<el-select v-model.trim="buildingId"
placeholder="楼号"
:disabled="!neighborHoodId"
:disabled="!neighborHoodId || bDisabled"
size="small"
clearable
class="resi-cell-select resi-cell-select-middle list_item_width_1"
@ -343,7 +344,10 @@ export default {
buildingUnitId: "",
houseId: "",
selGridId: '',
selAgencyId: ''
selAgencyId: '',
vDisabled: false,
bDisabled: false,
}
},
components: {
@ -598,7 +602,8 @@ export default {
this.selObj = JSON.parse(JSON.stringify(obj))
this.getTreeObj(obj)
await nextTick(1000)
this.vDisabled = false
this.bDisabled = false
if (obj.level === 'building') {//
this.$refs['ref_buildingTable'].loadTable('tree', this.selTreeObj)
this.selAgencyId = ''
@ -608,7 +613,8 @@ export default {
await this.getBuildList()
this.buildingId = this.selTreeObj.id
await this.getUniList()
this.vDisabled = true
this.bDisabled = true
} else if (obj.level === 'neighborHood') {//
this.$refs['ref_neighTable'].loadTable(true, this.selTreeObj)
@ -617,7 +623,7 @@ export default {
await this.getValiheList()
this.neighborHoodId = this.selTreeObj.id
await this.getBuildList()
this.vDisabled = true
} else {
this.$refs['ref_communityTable'].loadTable(true, this.selTreeObj)

Loading…
Cancel
Save