From debd79d8167c22436b7b78a31ddd8845ab93e790 Mon Sep 17 00:00:00 2001 From: douzhuo <17611323298@163.com> Date: Fri, 11 Mar 2022 17:51:14 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A6=96=E9=A1=B5=E7=94=A8=E6=88=B7=E4=BF=A1?= =?UTF-8?q?=E6=81=AF=E8=8E=B7=E5=8F=96=E6=96=B9=E5=BC=8F=E6=9B=B4=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/page/wel.vue | 45 +++++++++++++-------------------------------- 1 file changed, 13 insertions(+), 32 deletions(-) diff --git a/src/page/wel.vue b/src/page/wel.vue index 3d6b88d..d67410b 100644 --- a/src/page/wel.vue +++ b/src/page/wel.vue @@ -1,14 +1,6 @@ @@ -1144,31 +1142,16 @@ export default { computed: { ...mapGetters(["permissions"]), - // 获取用户信息 - userInfo() { - return this.$store.state.user.userInfo; - }, - // 是否楼盘后台 - isHouse() { - return this.userInfo.userRoleType == null && this.role == 3; - }, - - // 是否系统后台 - isSystem() { - return this.role != 3 && this.userInfo.userRoleType == 1; - }, - - // 是否顾问 - isAdviser() { - return this.userInfo.userRoleType == 6; - }, + info() { + return this.$store.state.user.userInfo + } }, mounted() { this.role = localStorage.getItem("orgType"); - if (this.role == 3) { this.houseId = localStorage.getItem("houseId"); + this.getgicd(); // 获取维度占比 this.getindexZxllist(); @@ -1183,7 +1166,6 @@ export default { this.waitingForOperation(); } }, - methods: { // 跳转详情 toDetail(path, params2 = "", name) { @@ -1783,5 +1765,4 @@ export default { /deep/ .el-badge__content { top: 10px; } - -Powered by Gitea 当前版本: 1.12.4 页面: 104ms 模板: 8ms JavaScript licenses API 官方网站 Go1.14.8 \ No newline at end of file + \ No newline at end of file