diff --git a/src/views/aftersales/aftersalesWorkOrder.vue b/src/views/aftersales/aftersalesWorkOrder.vue index 577be0cd..935b1976 100644 --- a/src/views/aftersales/aftersalesWorkOrder.vue +++ b/src/views/aftersales/aftersalesWorkOrder.vue @@ -4,7 +4,7 @@
@@ -678,7 +678,7 @@ const AppealStatusT = ref(false); //是否为申诉列表 const TabList = ref([ { name: 0, label: '全部', state: true }, { name: 3, label: '待处理', state: true }, - { name: 8, label: '待回复', state: UserPermissions.value == '仓库客服' }, + { name: 8, label: '待回复', state: false }, { name: 1, label: '处理中', state: true }, { name: 2, label: '处理完毕', state: true }, { name: 6, label: '完结', state: true }, @@ -1031,8 +1031,17 @@ const IndexTable = val => { item => item.dictValue == JSON.parse(localStorage.getItem('TWMS-userInfo')).content.role_name ); if (matchingItem) { + console.log(TabList.value,'导航'); UserPermissions.value = matchingItem.dictValue; + console.log(matchingItem.dictValue,'角色'); + if(matchingItem.dictValue!='仓库客服'){ + TabList.value[2].state=false + }else{ + TabList.value[2].state=true + } + } else { + TabList.value[2].state=true UserPermissions.value = '仓库客服'; } console.log(UserPermissions.value, '当前角色权限');