From a332db7a4b309b0a8ebb0f68cff19eddc66500e9 Mon Sep 17 00:00:00 2001 From: kun <1422840143@qq.com> Date: Thu, 29 Feb 2024 20:32:08 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20BUG=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/areaTree.vue | 10 +++++++--- src/views/companyFront/environManage/overview.vue | 3 +++ 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/src/components/areaTree.vue b/src/components/areaTree.vue index 6e5f9594..0cd4289c 100644 --- a/src/components/areaTree.vue +++ b/src/components/areaTree.vue @@ -182,7 +182,7 @@ export default { this.searchsn = this.$store.state.projectSn } else { var backArr = this.$store.state.mapBackArr - + console.log(Number(this.$store.state.userInfo.accountType),'778899') switch (Number(this.$store.state.userInfo.accountType)) { case 2: this.searchsn = this.$store.state.userInfo.headquartersSn @@ -197,10 +197,14 @@ export default { this.searchsn = this.$store.state.userInfo.sn this.numIndex = 4 break - case 7: + case 5: this.searchsn = this.$store.state.userInfo.sn this.numIndex = 5 break + case 7: + this.searchsn = this.$store.state.userInfo.sn + this.numIndex = 7 + break } if (this.videoType == 1 && backArr.length > 0) { this.searchsn = backArr[backArr.length - 1].sn @@ -210,7 +214,7 @@ export default { } } } - + console.log(this.searchsn,'113355') // getComapnyVideoListApi({ // sn: this.searchsn // }).then((res) => { diff --git a/src/views/companyFront/environManage/overview.vue b/src/views/companyFront/environManage/overview.vue index 62d9ed79..4165151d 100644 --- a/src/views/companyFront/environManage/overview.vue +++ b/src/views/companyFront/environManage/overview.vue @@ -118,6 +118,9 @@ export default { case 4: this.searchsn = this.$store.state.userInfo.sn; break; + case 5: + this.searchsn = this.$store.state.userInfo.sn; + break; } }