From 7d03bc205a25e3bafb07eb7145fbdba033cec98d Mon Sep 17 00:00:00 2001 From: jiangyy Date: Wed, 16 Nov 2022 13:31:40 +0800 Subject: [PATCH] =?UTF-8?q?=E6=88=BF=E5=B1=8Bbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/modules/base/community/community.vue | 6 ++++-- src/views/modules/base/community/roomTable.vue | 2 ++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/views/modules/base/community/community.vue b/src/views/modules/base/community/community.vue index 4507abb30..fb38da89d 100644 --- a/src/views/modules/base/community/community.vue +++ b/src/views/modules/base/community/community.vue @@ -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) diff --git a/src/views/modules/base/community/roomTable.vue b/src/views/modules/base/community/roomTable.vue index 55875f770..200139c66 100644 --- a/src/views/modules/base/community/roomTable.vue +++ b/src/views/modules/base/community/roomTable.vue @@ -291,6 +291,8 @@ export default { async mounted () { this.updateBtnAuths(); + console.log(this.buildingId) + this.displayedBaobiaoBtn = await this.$refs.baobiao.existsTemplate({ elseParams: { categoryKeys: ["house_info"],