From 4244770e15cab4e0f06367bb1f07c24b739dde93 Mon Sep 17 00:00:00 2001 From: xzg <4727863@qq.com> Date: Thu, 21 Dec 2023 14:16:23 +0800 Subject: [PATCH] =?UTF-8?q?=E7=8A=B6=E6=80=81=E5=88=87=E6=8D=A2=EF=BC=8C?= =?UTF-8?q?=E8=B4=A2=E5=8A=A1=E6=8C=89=E9=92=AE=EF=BC=8C=E8=81=8A=E5=A4=A9?= =?UTF-8?q?=E8=8E=B7=E5=8F=96=E5=A4=B1=E8=B4=A5=EF=BC=8C=E4=BF=AE=E6=94=B9?= =?UTF-8?q?=E6=8C=89=E9=92=AE=E5=90=8D=E7=A7=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/aftersales/aftersalesWorkOrder.vue | 24 ++++++++++++++----- .../aftersales/aftersalesWorkOrderInfo.vue | 5 ++-- .../aftersales/aftersalesWorkOrderend.vue | 6 +++-- 3 files changed, 25 insertions(+), 10 deletions(-) diff --git a/src/views/aftersales/aftersalesWorkOrder.vue b/src/views/aftersales/aftersalesWorkOrder.vue index 52d9986f..f3044049 100644 --- a/src/views/aftersales/aftersalesWorkOrder.vue +++ b/src/views/aftersales/aftersalesWorkOrder.vue @@ -2395,25 +2395,37 @@ const tabChenge = val => { console.log('全部'); } else if (val == 1) { // 处理中 + if (UserPermissions.value == '职能客服') { + data.workOrderStatus = 40; + details.query.workOrderStatus = 40; + } else { + data.workOrderStatus = 20; + details.query.workOrderStatus = 20; + } ProcessingPartyState.value = false; //关闭处理方 - data.workOrderStatus = 20; - details.query.workOrderStatus = 20; + ArbitrationStatus.value = true; //可以申请仲裁 Tableheaderswitching(columnList); empty(); IndexTable(data); } else if (val == 2) { + if (UserPermissions.value == '职能客服') { + data.workOrderStatus = 50; + details.query.workOrderStatus = 50; + } else { + data.workOrderStatus = 30; + details.query.workOrderStatus = 30; + } // 处理完毕 ProcessingPartyState.value = false; //关闭处理方 - data.workOrderStatus = 30; - details.query.workOrderStatus = 30; + ArbitrationStatus.value = false; //不可以申请仲裁 Tableheaderswitching(columnList); empty(); IndexTable(data); } else if (val == 3) { - console.log(JSON.parse(localStorage.getItem('TWMS-userInfo')).content.role_name,'当前身份'); - if (JSON.parse(localStorage.getItem('TWMS-userInfo')).content.role_name == '客服经理') { + console.log(UserPermissions.value, '当前身份'); + if (UserPermissions.value == '客服经理') { data.workOrderStatus = 10; ArbitrationStatus.value = true; //可以申请仲裁 Tableheaderswitching(columnList); diff --git a/src/views/aftersales/aftersalesWorkOrderInfo.vue b/src/views/aftersales/aftersalesWorkOrderInfo.vue index 4224d722..c9fa4f48 100644 --- a/src/views/aftersales/aftersalesWorkOrderInfo.vue +++ b/src/views/aftersales/aftersalesWorkOrderInfo.vue @@ -407,7 +407,7 @@