From 16c4b9151e44f4118addc6f0d4ad5c13d1f2cc81 Mon Sep 17 00:00:00 2001 From: mk <2403457699@qq.com> Date: Tue, 27 Jun 2023 19:55:11 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E6=88=BF=E5=B1=8B=E6=8F=90?= =?UTF-8?q?=E7=A4=BA=E5=B0=8F=E5=8C=BAid=E4=B8=BA=E7=A9=BAbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/modules/base/community/community.vue | 8 +++++--- src/views/modules/base/community/roomForm.vue | 4 ++-- 2 files changed, 7 insertions(+), 5 deletions(-) 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}}