服务内容配置

This commit is contained in:
仲么了
2023-09-22 16:33:10 +08:00
parent 525e7e6f04
commit c727be80c0
7 changed files with 198 additions and 33 deletions

View File

@@ -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()
}
},
}