|
|
|
@ -2115,12 +2115,23 @@ const tabChenge = val => {
|
|
|
|
|
let data = {}; |
|
|
|
|
if (val == 0) { |
|
|
|
|
ProcessingPartyState.value = false; //关闭处理方 |
|
|
|
|
details.query.workOrderStatus = null; |
|
|
|
|
|
|
|
|
|
ArbitrationStatus.value = false; //不可以申请仲裁 |
|
|
|
|
if(UserPermissions.value=='仓库客服'){ |
|
|
|
|
data.workOrderStatus = 1000; |
|
|
|
|
details.query.workOrderStatus = 1000; |
|
|
|
|
Tableheaderswitching(columnList); |
|
|
|
|
IndexTable(data); |
|
|
|
|
empty(); |
|
|
|
|
}else{ |
|
|
|
|
details.query.workOrderStatus = null; |
|
|
|
|
Tableheaderswitching(columnList); |
|
|
|
|
IndexTable(); |
|
|
|
|
empty(); |
|
|
|
|
console.log('全部'); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} else if (val == 1) { |
|
|
|
|
// 处理中 |
|
|
|
|
if (UserPermissions.value == '仓库客服') { |
|
|
|
@ -2153,9 +2164,15 @@ const tabChenge = val => {
|
|
|
|
|
console.log(UserPermissions.value, '当前身份'); |
|
|
|
|
console.log('待处理'); |
|
|
|
|
ProcessingPartyState.value = true; //开启处理方 |
|
|
|
|
if(UserPermissions.value!='仓库客服'){ |
|
|
|
|
data.workOrderStatus = 500; |
|
|
|
|
details.query.workOrderStatus = 500; |
|
|
|
|
ArbitrationStatus.value = true; //可以申请仲裁 |
|
|
|
|
}else{ |
|
|
|
|
data.workOrderStatus = 10; |
|
|
|
|
details.query.workOrderStatus = 10; |
|
|
|
|
ArbitrationStatus.value = true; //可以申请仲裁 |
|
|
|
|
} |
|
|
|
|
Tableheaderswitching(columnList); |
|
|
|
|
empty(); |
|
|
|
|
IndexTable(data); |
|
|
|
|