|
|
@@ -9,7 +9,7 @@
|
|
|
<!-- 用户信息 -->
|
|
|
<UserInfo :userInfoValue="userInfoValue" @selfCardClick="selfCardClick"></UserInfo>
|
|
|
|
|
|
- <view class="work-panel_signin">
|
|
|
+ <view class="work-panel_signin" v-if="isSign">
|
|
|
<text class="title">你已累计打卡{{ userInfoValue.signdays }}天</text>
|
|
|
<navigator class="but" @click="toDailyYttendance" url="/packageA/dailyYttendance/index"
|
|
|
hover-class="navigator-hover">
|
|
|
@@ -75,7 +75,15 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
userInfoValue: {},
|
|
|
- roles: []
|
|
|
+ roles: [],
|
|
|
+ auth:uni.getStorageSync('authList').资料库
|
|
|
+ }
|
|
|
+ },
|
|
|
+ computed: {
|
|
|
+ isSign () {
|
|
|
+ if (!uni.getStorageSync('authList').资料库) return false
|
|
|
+ if (!uni.getStorageSync('authList').资料库.每日一签) return false
|
|
|
+ return true
|
|
|
}
|
|
|
},
|
|
|
methods: {
|