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; } }