|
|
|
@ -815,12 +815,15 @@ export default { |
|
|
|
if (obj.level === "building") { |
|
|
|
//点击楼栋 |
|
|
|
console.log(this.selTreeObj,'传给子组件'); |
|
|
|
this.$refs["ref_buildingTable"].loadTable("tree", this.selTreeObj); |
|
|
|
this.$nextTick(()=>{ |
|
|
|
this.$refs["ref_buildingTable"].loadTable("tree", this.selTreeObj); |
|
|
|
}) |
|
|
|
this.selAgencyId = ""; |
|
|
|
this.selGridId = ""; |
|
|
|
await this.getValiheList(); |
|
|
|
this.neighborHoodId = this.selTreeObj.pid; |
|
|
|
await this.getBuildList(); |
|
|
|
await nextTick(2000); |
|
|
|
this.buildingId = this.selTreeObj.id; |
|
|
|
await this.getUniList(); |
|
|
|
this.vDisabled = true; |
|
|
|
|