客户管理页面仅在管理员和bst用户下存在
This commit is contained in:
parent
57ca6f3291
commit
58803811fb
|
|
@ -47,8 +47,9 @@
|
|||
<uv-tabbar-item text="工作台" icon="calendar"></uv-tabbar-item>
|
||||
<template v-if="admin_bst">
|
||||
<uv-tabbar-item text="月度考核 " icon="integral"></uv-tabbar-item>
|
||||
</template>
|
||||
|
||||
<uv-tabbar-item text="客户管理" icon="kefu-ermai" ></uv-tabbar-item>
|
||||
</template>
|
||||
<uv-tabbar-item text="我的" icon="account"></uv-tabbar-item>
|
||||
</uv-tabbar>
|
||||
</view>
|
||||
|
|
@ -146,9 +147,9 @@ const value=ref(0);
|
|||
const admin_bst=ref(false);
|
||||
|
||||
// 动态计算各个页面的索引
|
||||
const rankingIndex = computed(() => 4); // 月度考核固定为索引2(如果有权限)
|
||||
const customerManagementIndex = computed(() => 2); // 客户管理:有权限时为3,无权限时为2
|
||||
const myIndex = computed(() => 3); // 我的:有权限时为4,无权限时为3
|
||||
const rankingIndex = computed(() => 3);
|
||||
const customerManagementIndex = computed(() => 4);
|
||||
const myIndex = computed(() => 2);
|
||||
|
||||
// 判断是否显示顶部Tabs栏
|
||||
const shouldShowTopTabs = computed(() => {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user