|
|
@ -605,7 +605,7 @@ export default { |
|
|
|
this.vDisabled = false |
|
|
|
this.bDisabled = false |
|
|
|
if (obj.level === 'building') {//点击楼栋 |
|
|
|
this.$refs['ref_buildingTable'].loadTable('tree', this.selTreeObj) |
|
|
|
|
|
|
|
this.selAgencyId = '' |
|
|
|
this.selGridId = '' |
|
|
|
await this.getValiheList() |
|
|
@ -613,16 +613,18 @@ export default { |
|
|
|
await this.getBuildList() |
|
|
|
this.buildingId = this.selTreeObj.id |
|
|
|
await this.getUniList() |
|
|
|
this.$refs['ref_buildingTable'].loadTable('tree', this.selTreeObj) |
|
|
|
this.vDisabled = true |
|
|
|
this.bDisabled = true |
|
|
|
|
|
|
|
} else if (obj.level === 'neighborHood') {//点击小区 |
|
|
|
this.$refs['ref_neighTable'].loadTable(true, this.selTreeObj) |
|
|
|
|
|
|
|
this.selAgencyId = '' |
|
|
|
this.selGridId = '' |
|
|
|
await this.getValiheList() |
|
|
|
this.neighborHoodId = this.selTreeObj.id |
|
|
|
await this.getBuildList() |
|
|
|
this.$refs['ref_neighTable'].loadTable(true, this.selTreeObj) |
|
|
|
this.vDisabled = true |
|
|
|
} else { |
|
|
|
this.$refs['ref_communityTable'].loadTable(true, this.selTreeObj) |
|
|
|