|
|
|
@ -2395,50 +2395,56 @@ const tabChenge = val => {
|
|
|
|
|
console.log('全部'); |
|
|
|
|
} else if (val == 1) { |
|
|
|
|
// 处理中 |
|
|
|
|
if (UserPermissions.value == '职能客服') { |
|
|
|
|
data.workOrderStatus = 40; |
|
|
|
|
details.query.workOrderStatus = 40; |
|
|
|
|
} else { |
|
|
|
|
if (UserPermissions.value == '仓库客服') { |
|
|
|
|
data.workOrderStatus = 20; |
|
|
|
|
details.query.workOrderStatus = 20; |
|
|
|
|
Tableheaderswitching(columnList); |
|
|
|
|
empty(); |
|
|
|
|
ProcessingPartyFun(data); |
|
|
|
|
} else { |
|
|
|
|
data.workOrderStatus = 40; |
|
|
|
|
details.query.workOrderStatus = 40; |
|
|
|
|
Tableheaderswitching(columnList); |
|
|
|
|
empty(); |
|
|
|
|
IndexTable(data); |
|
|
|
|
} |
|
|
|
|
ProcessingPartyState.value = false; //关闭处理方 |
|
|
|
|
|
|
|
|
|
ArbitrationStatus.value = true; //可以申请仲裁 |
|
|
|
|
Tableheaderswitching(columnList); |
|
|
|
|
empty(); |
|
|
|
|
IndexTable(data); |
|
|
|
|
} else if (val == 2) { |
|
|
|
|
if (UserPermissions.value == '职能客服') { |
|
|
|
|
data.workOrderStatus = 50; |
|
|
|
|
details.query.workOrderStatus = 50; |
|
|
|
|
} else { |
|
|
|
|
if (UserPermissions.value == '仓库客服') { |
|
|
|
|
data.workOrderStatus = 30; |
|
|
|
|
details.query.workOrderStatus = 30; |
|
|
|
|
Tableheaderswitching(columnList); |
|
|
|
|
empty(); |
|
|
|
|
ProcessingPartyFun(data); |
|
|
|
|
} else { |
|
|
|
|
data.workOrderStatus = 50; |
|
|
|
|
details.query.workOrderStatus = 50; |
|
|
|
|
Tableheaderswitching(columnList); |
|
|
|
|
empty(); |
|
|
|
|
IndexTable(data); |
|
|
|
|
} |
|
|
|
|
// 处理完毕 |
|
|
|
|
ProcessingPartyState.value = false; //关闭处理方 |
|
|
|
|
|
|
|
|
|
ArbitrationStatus.value = false; //不可以申请仲裁 |
|
|
|
|
Tableheaderswitching(columnList); |
|
|
|
|
empty(); |
|
|
|
|
IndexTable(data); |
|
|
|
|
} else if (val == 3) { |
|
|
|
|
console.log(UserPermissions.value, '当前身份'); |
|
|
|
|
if (UserPermissions.value == '客服经理') { |
|
|
|
|
if (UserPermissions.value == '仓库客服') { |
|
|
|
|
data.workOrderStatus = 10; |
|
|
|
|
details.query.workOrderStatus = 10; |
|
|
|
|
ArbitrationStatus.value = true; //可以申请仲裁 |
|
|
|
|
Tableheaderswitching(columnList); |
|
|
|
|
empty(); |
|
|
|
|
IndexTable(data); |
|
|
|
|
ProcessingPartyFun(data); //单独接口 |
|
|
|
|
} else { |
|
|
|
|
console.log('待处理'); |
|
|
|
|
ProcessingPartyState.value = true; //开启处理方 |
|
|
|
|
details.query.workOrderStatus = ''; |
|
|
|
|
data.workOrderStatus = 30; |
|
|
|
|
details.query.workOrderStatus = 30; |
|
|
|
|
ArbitrationStatus.value = true; //可以申请仲裁 |
|
|
|
|
Tableheaderswitching(columnList); |
|
|
|
|
empty(); |
|
|
|
|
ProcessingPartyFun(data); |
|
|
|
|
IndexTable(data); |
|
|
|
|
} |
|
|
|
|
} else if (val == 4) { |
|
|
|
|
ProcessingPartyState.value = false; //关闭处理方 |
|
|
|
@ -2508,7 +2514,6 @@ const ProcessingPartyFun = val => {
|
|
|
|
|
details.loadingObj.list = true; //开启动画加载 |
|
|
|
|
let data = { |
|
|
|
|
...val, |
|
|
|
|
workOrderStatus: 10, |
|
|
|
|
}; |
|
|
|
|
console.log(val, 'val接收的参数'); |
|
|
|
|
columnList[2].checkarr = []; //重置下拉搜索框 |
|
|
|
|