|
|
|
@ -136,6 +136,14 @@
|
|
|
|
|
@click="Batchcompletion" |
|
|
|
|
>批量完结</el-button |
|
|
|
|
> |
|
|
|
|
<!-- 仲裁中确定结束仲裁按钮 --> |
|
|
|
|
<el-button |
|
|
|
|
type="primary" |
|
|
|
|
v-if="ButtonPermissions.ArbitrationDetermination" |
|
|
|
|
@click="AllEndArbitration" |
|
|
|
|
>批量仲裁完成</el-button |
|
|
|
|
> |
|
|
|
|
|
|
|
|
|
<!-- <el-button |
|
|
|
|
ButtonPermissions.batchFinish |
|
|
|
|
type="primary" |
|
|
|
@ -1108,6 +1116,7 @@ const ButtonPermissions = computed(() => {
|
|
|
|
|
batchFinish: UserPermissions.value != '仓库客服', //批量完结 |
|
|
|
|
appeal: false, //申诉 |
|
|
|
|
ManagerConfirmed:false,//处理完毕下面的客服经理批量确定 |
|
|
|
|
ArbitrationDetermination:false,//批量仲裁确定 |
|
|
|
|
}; |
|
|
|
|
case 1: //处理中 |
|
|
|
|
return { |
|
|
|
@ -1119,6 +1128,7 @@ const ButtonPermissions = computed(() => {
|
|
|
|
|
Batchdetermination: UserPermissions.value != '仓库客服', //批量确定 |
|
|
|
|
appeal: false, //申诉 |
|
|
|
|
ManagerConfirmed:false,//处理完毕下面的客服经理批量确定 |
|
|
|
|
ArbitrationDetermination:false,//批量仲裁确定 |
|
|
|
|
}; |
|
|
|
|
case 2: //处理完毕 |
|
|
|
|
return { |
|
|
|
@ -1130,6 +1140,7 @@ const ButtonPermissions = computed(() => {
|
|
|
|
|
appeal: UserPermissions.value == '仓库客服' && AppealStatusT.value, //申诉 |
|
|
|
|
Batchdetermination: UserPermissions.value == '仓库客服', //批量确定 |
|
|
|
|
ManagerConfirmed:UserPermissions.value == '总部客服经理',//处理完毕下面的客服经理批量确定 |
|
|
|
|
ArbitrationDetermination:false,//批量仲裁确定 |
|
|
|
|
}; |
|
|
|
|
case 3: //待处理 |
|
|
|
|
return { |
|
|
|
@ -1141,6 +1152,7 @@ const ButtonPermissions = computed(() => {
|
|
|
|
|
appeal: false, //申诉 |
|
|
|
|
Batchdetermination: false, //批量确定 |
|
|
|
|
ManagerConfirmed:false,//处理完毕下面的客服经理批量确定 |
|
|
|
|
ArbitrationDetermination:false,//批量仲裁确定 |
|
|
|
|
}; |
|
|
|
|
case 4: //理赔金额未出 |
|
|
|
|
return { |
|
|
|
@ -1152,6 +1164,7 @@ const ButtonPermissions = computed(() => {
|
|
|
|
|
appeal: false, //申诉 |
|
|
|
|
Batchdetermination: false, //批量确定 |
|
|
|
|
ManagerConfirmed:false,//处理完毕下面的客服经理批量确定 |
|
|
|
|
ArbitrationDetermination:false,//批量仲裁确定 |
|
|
|
|
}; |
|
|
|
|
case 5: //仲裁中 |
|
|
|
|
return { |
|
|
|
@ -1163,6 +1176,7 @@ const ButtonPermissions = computed(() => {
|
|
|
|
|
appeal: false, //申诉 |
|
|
|
|
Batchdetermination: false, //批量确定 |
|
|
|
|
ManagerConfirmed:false,//处理完毕下面的客服经理批量确定 |
|
|
|
|
ArbitrationDetermination:true,//批量仲裁确定 |
|
|
|
|
}; |
|
|
|
|
case 6: //完结 |
|
|
|
|
return { |
|
|
|
@ -1174,6 +1188,7 @@ const ButtonPermissions = computed(() => {
|
|
|
|
|
appeal: UserPermissions.value == '仓库客服', //申诉 |
|
|
|
|
Batchdetermination: false, //批量确定 |
|
|
|
|
ManagerConfirmed:false,//处理完毕下面的客服经理批量确定 |
|
|
|
|
ArbitrationDetermination:false,//批量仲裁确定 |
|
|
|
|
}; |
|
|
|
|
case 7: //超时未处理 |
|
|
|
|
return { |
|
|
|
@ -1185,6 +1200,7 @@ const ButtonPermissions = computed(() => {
|
|
|
|
|
appeal: false, //申诉 |
|
|
|
|
Batchdetermination: false, //批量确定 |
|
|
|
|
ManagerConfirmed:false,//处理完毕下面的客服经理批量确定 |
|
|
|
|
ArbitrationDetermination:false,//批量仲裁确定 |
|
|
|
|
}; |
|
|
|
|
case 8: //待回复 |
|
|
|
|
return { |
|
|
|
@ -1196,6 +1212,7 @@ const ButtonPermissions = computed(() => {
|
|
|
|
|
appeal: false, //申诉 |
|
|
|
|
Batchdetermination: false, //批量确定 |
|
|
|
|
ManagerConfirmed:false,//处理完毕下面的客服经理批量确定 |
|
|
|
|
ArbitrationDetermination:false,//批量仲裁确定 |
|
|
|
|
}; |
|
|
|
|
// 其他任何情况下的默认情况 |
|
|
|
|
default: |
|
|
|
@ -1208,6 +1225,7 @@ const ButtonPermissions = computed(() => {
|
|
|
|
|
appeal: false, |
|
|
|
|
Batchdetermination: false, //批量确定 |
|
|
|
|
ManagerConfirmed:false,//处理完毕下面的客服经理批量确定 |
|
|
|
|
ArbitrationDetermination:false,//批量仲裁确定 |
|
|
|
|
}; |
|
|
|
|
} |
|
|
|
|
}); |
|
|
|
@ -1265,6 +1283,7 @@ const Statusprocessing = val => {
|
|
|
|
|
// } |
|
|
|
|
// 对状态进行处理 |
|
|
|
|
if (item.workOrderType == 1) { |
|
|
|
|
console.log(columnList,'columnList'); |
|
|
|
|
item.workOrderTypeNameS = columnList[2].checkarr[0].label; //货损 |
|
|
|
|
} else if (item.workOrderType == 2) { |
|
|
|
|
item.workOrderTypeNameS = columnList[2].checkarr[1].label; //少货 |
|
|
|
@ -3058,14 +3077,6 @@ const DetermineStorage = val => {
|
|
|
|
|
|
|
|
|
|
// 仲裁里面确定按钮 |
|
|
|
|
const EndArbitration=(val)=>{ |
|
|
|
|
// if (!details.selectionList.length) { |
|
|
|
|
// ElMessage({ |
|
|
|
|
// message: '请勾选要处理的数据数据', |
|
|
|
|
// type: 'warning', |
|
|
|
|
// }); |
|
|
|
|
// return; |
|
|
|
|
// } |
|
|
|
|
|
|
|
|
|
console.log(val,'当前参数'); |
|
|
|
|
let data={ |
|
|
|
|
assignList:[val.row.id] |
|
|
|
@ -3078,16 +3089,45 @@ $_updateArbitrateStatu(data).then(res=>{
|
|
|
|
|
message: res.data.msg, |
|
|
|
|
type: 'success', |
|
|
|
|
}) |
|
|
|
|
DataRendering(TabPermissions.value); |
|
|
|
|
DataRendering(TabPermissions.value,details.query); |
|
|
|
|
} |
|
|
|
|
}).catch(res=>{ |
|
|
|
|
console.log(res,'报错原因'); |
|
|
|
|
}).finally(()=>{ |
|
|
|
|
|
|
|
|
|
details.loadingObj.list = false; //开启加载效果 |
|
|
|
|
}) |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// 批量仲裁确定 |
|
|
|
|
const AllEndArbitration=()=>{ |
|
|
|
|
// 校验是否勾选了数据 |
|
|
|
|
if (!details.selectionList.length) { |
|
|
|
|
ElMessage({ |
|
|
|
|
message: '请勾选要处理的数据数据', |
|
|
|
|
type: 'warning', |
|
|
|
|
}); |
|
|
|
|
return; |
|
|
|
|
} |
|
|
|
|
let data={ |
|
|
|
|
assignList:[] |
|
|
|
|
} |
|
|
|
|
data['assignList'] = details.selectionList.map(res=>res.id);//获取批量仲裁的ID |
|
|
|
|
console.log('批量仲裁确定处理好的值'); |
|
|
|
|
$_updateArbitrateStatu(data).then(res=>{ |
|
|
|
|
console.log(res,'处理成功'); |
|
|
|
|
if(res.data.code == 200){ |
|
|
|
|
ElMessage({ |
|
|
|
|
message: res.data.msg, |
|
|
|
|
type: 'success', |
|
|
|
|
}) |
|
|
|
|
DataRendering(TabPermissions.value,details.query); |
|
|
|
|
} |
|
|
|
|
}).catch(res=>{ |
|
|
|
|
console.log(res,'报错原因'); |
|
|
|
|
}).finally(()=>{ |
|
|
|
|
details.selectionList=[];//清空勾选数据 |
|
|
|
|
details.loadingObj.list = false; //开启加载效果 |
|
|
|
|
}) |
|
|
|
|
} |
|
|
|
|
// 处理完毕里面确定(仓库客服用的) |
|
|
|
|
|
|
|
|
|
const ResultConfirmation = (val) => { |
|
|
|
|