服务内容配置
This commit is contained in:
@@ -27,7 +27,7 @@
|
||||
<!-- 专职 -->
|
||||
<ZhuanZhi :devCount="devCount" v-if="userInfo.authorities === 'market_user'" />
|
||||
<!-- 工程 -->
|
||||
<GongCheng :devCount="devCount" v-if="userInfo.authorities === 'engineering_user'" />
|
||||
<GongCheng ref="gongCheng" :devCount="devCount" v-if="userInfo.authorities === 'engineering_user'" />
|
||||
<!-- 主用户 -->
|
||||
<ZhuYongHu :devCount="devCount" v-if="userInfo.authorities === 'app_vip_user'" />
|
||||
<YouKe :devCount="devCount" v-if="userInfo.authorities === 'tourist'"></YouKe>
|
||||
@@ -146,6 +146,7 @@ export default {
|
||||
if (!this.select.engineeringId) return
|
||||
if (!uni.getStorageSync(this.$cacheKey.access_token)) {
|
||||
clearInterval(this.timer)
|
||||
return
|
||||
}
|
||||
getDevCount(this.select.engineeringId).then((res) => {
|
||||
// Object.assign(this.devCount, res.data)
|
||||
@@ -221,6 +222,8 @@ export default {
|
||||
})
|
||||
} else {
|
||||
this.init()
|
||||
console.log(this.$refs.gongCheng);
|
||||
this.$refs.gongCheng?.init()
|
||||
}
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user