|
|
|
@ -664,6 +664,7 @@ export default { |
|
|
|
async loadTree (isRefresh) { |
|
|
|
const url = "/actual/base/communityBuilding/tree/initTree" |
|
|
|
const { data, code, msg } = await requestGet(url) |
|
|
|
this.handleNodeClick(data) |
|
|
|
if (code === 0) { |
|
|
|
this.treeData = [] |
|
|
|
this.treeData.push(data) |
|
|
|
@ -739,7 +740,9 @@ export default { |
|
|
|
this.vDisabled = false |
|
|
|
this.bDisabled = false |
|
|
|
if (obj.level === 'building') {//点击楼栋 |
|
|
|
this.$refs['ref_buildingTable'].loadTable('tree', this.selTreeObj) |
|
|
|
setTimeout(()=>{ |
|
|
|
this.$refs['ref_buildingTable'].loadTable('tree', this.selTreeObj) |
|
|
|
},100) |
|
|
|
this.selAgencyId = '' |
|
|
|
this.selGridId = '' |
|
|
|
await this.getValiheList() |
|
|
|
|