|
|
|
@@ -1,14 +1,6 @@ |
|
|
|
<template> |
|
|
|
<div class="box-center"> |
|
|
|
<!-- 顾问 --> |
|
|
|
<div |
|
|
|
v-if="isAdviser" |
|
|
|
style="text-align: center; font-size: 30px; margin: 300px auto" |
|
|
|
> |
|
|
|
欢迎光临 |
|
|
|
</div> |
|
|
|
|
|
|
|
<div class="house-only" v-if="isHouse"> |
|
|
|
<div class="house-only" v-if="role == 3 && info.userRoleType != 6"> |
|
|
|
<!-- 楼盘后台 --> |
|
|
|
<div class="app-titel"> |
|
|
|
<div class="titel-text">时间</div> |
|
|
|
@@ -459,7 +451,7 @@ |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
<div v-if="isSystem"> |
|
|
|
<div v-if="role != 3 && info.userRoleType != 6"> |
|
|
|
<!-- 系统后台 --> |
|
|
|
<div style="margin-bottom: 10px; cursor: pointer" v-if="role != 2"> |
|
|
|
<span style="font-weight: bold; font-size: 18px">待处理</span> |
|
|
|
@@ -1094,6 +1086,12 @@ |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div |
|
|
|
v-if="info.userRoleType == 6" |
|
|
|
style="text-align: center; font-size: 30px; margin: 300px auto" |
|
|
|
> |
|
|
|
欢迎光临 |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</template> |
|
|
|
|
|
|
|
@@ -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; |
|
|
|
} |
|
|
|
</style> |
|
|
|
Powered by Gitea 当前版本: 1.12.4 页面: 104ms 模板: 8ms JavaScript licenses API 官方网站 Go1.14.8 |
|
|
|
</style> |