|
@@ -17,21 +17,21 @@
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="content">
|
|
|
- <view class="flex item-card">
|
|
|
+ <view class="flex item-card" @click="handleToUserPermission">
|
|
|
<image src="../../static/user-icon-1.png" mode="widthFix" />
|
|
|
- <text class="label">品种权限:</text>
|
|
|
+ <text class="label">品种权限</text>
|
|
|
<block v-if="userInfo.permission_list.length==0">
|
|
|
<text style="color:#666666">暂无权限</text>
|
|
|
<van-button custom-class="apply-btn" plain round color="#DDAA6A" size="small" @click="handleGoApplyPermission">立即申请</van-button>
|
|
|
</block>
|
|
|
- <view v-else class="right-text" @click="handleToUserPermission">
|
|
|
+ <view v-else class="right-text">
|
|
|
<text>查看</text>
|
|
|
<van-icon name="arrow"></van-icon>
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="flex item-card">
|
|
|
<image src="../../static/calendar.png" mode="widthFix" />
|
|
|
- <text class="label">服务截止日期:</text>
|
|
|
+ <text class="label">服务截止日期</text>
|
|
|
<text class="right-text">{{lastTime}}</text>
|
|
|
</view>
|
|
|
</view>
|
|
@@ -105,6 +105,7 @@
|
|
|
},
|
|
|
|
|
|
handleToUserPermission(){
|
|
|
+ if(this.userInfo.permission_list.length==0) return
|
|
|
uni.navigateTo({ url: '/pages-user/permissionList' })
|
|
|
}
|
|
|
}
|