diff --git a/src/views/modules/base/community/community.vue b/src/views/modules/base/community/community.vue index 07a6f6270..da2f0835e 100644 --- a/src/views/modules/base/community/community.vue +++ b/src/views/modules/base/community/community.vue @@ -817,14 +817,16 @@ export default { console.log(this.selTreeObj,'传给子组件'); this.$nextTick(()=>{ this.$refs["ref_buildingTable"].loadTable("tree", this.selTreeObj); + this.buildingId = this.selTreeObj.id; + this.neighborHoodId = this.selTreeObj.pid; }) this.selAgencyId = ""; this.selGridId = ""; await this.getValiheList(); - this.neighborHoodId = this.selTreeObj.pid; + await this.getBuildList(); - await nextTick(2000); - this.buildingId = this.selTreeObj.id; + // await nextTick(2000); + // this.buildingId = this.selTreeObj.id; await this.getUniList(); this.vDisabled = true; this.bDisabled = true; diff --git a/src/views/modules/base/community/roomForm.vue b/src/views/modules/base/community/roomForm.vue index db27b6ad7..370b0a9e0 100644 --- a/src/views/modules/base/community/roomForm.vue +++ b/src/views/modules/base/community/roomForm.vue @@ -11,7 +11,7 @@ - {{agencyObj.neighborHoodName}}-{{ dataForm.buildingName }} + {{agencyObj.label}}