|
@@ -20,15 +20,18 @@
|
|
|
<view class="flex item-card" @click="handleToUserPermission">
|
|
|
<image src="../../static/user-icon-1.png" mode="widthFix" />
|
|
|
<text class="label">品种权限</text>
|
|
|
- <block v-if="userInfo.permission_list.length==0">
|
|
|
+ <block v-if="userInfo.status=='冻结'||(userInfo.status=='试用'&&userInfo.is_suspend==1)">
|
|
|
<text style="color:#666666;margin-left:10px">暂无权限</text>
|
|
|
<van-button
|
|
|
custom-class="apply-btn"
|
|
|
plain round color="#DDAA6A"
|
|
|
size="small"
|
|
|
@click="handleContact"
|
|
|
- v-if="userInfo.status=='冻结'||(userInfo.status=='试用'&&userInfo.is_suspend==1)"
|
|
|
>联系销售</van-button>
|
|
|
+ </block>
|
|
|
+
|
|
|
+ <block v-else-if="userInfo.permission_list.length==0">
|
|
|
+ <text style="color:#666666;margin-left:10px">暂无权限</text>
|
|
|
<van-button
|
|
|
custom-class="apply-btn"
|
|
|
plain round color="#DDAA6A"
|
|
@@ -36,8 +39,8 @@
|
|
|
@click="handleGoApplyPermission"
|
|
|
v-else
|
|
|
>立即申请</van-button>
|
|
|
-
|
|
|
</block>
|
|
|
+
|
|
|
<view v-else class="right-text">
|
|
|
<text>查看</text>
|
|
|
<van-icon name="arrow"></van-icon>
|