|
|
@ -431,10 +431,10 @@ |
|
|
|
</el-dialog> |
|
|
|
</el-dialog> |
|
|
|
<!-- 客服介入原因 --> |
|
|
|
<!-- 客服介入原因 --> |
|
|
|
<el-dialog v-model="dialogCustomer" |
|
|
|
<el-dialog v-model="dialogCustomer" |
|
|
|
v-loading="loadingCustomer" |
|
|
|
|
|
|
|
element-loading-text="正在处理中..." |
|
|
|
|
|
|
|
title="客服介入" width="30%" draggable> |
|
|
|
title="客服介入" width="30%" draggable> |
|
|
|
<el-form :model="CustomerServiceForm" > |
|
|
|
<el-form :model="CustomerServiceForm" v-loading="loadingCustomer" |
|
|
|
|
|
|
|
element-loading-text="正在处理中..." > |
|
|
|
<el-form-item label="介入原因"> |
|
|
|
<el-form-item label="介入原因"> |
|
|
|
<el-input v-model="CustomerServiceForm.reasonRemarks" type="textarea" placeholder="请输入介入原因"/> |
|
|
|
<el-input v-model="CustomerServiceForm.reasonRemarks" type="textarea" placeholder="请输入介入原因"/> |
|
|
|
</el-form-item> |
|
|
|
</el-form-item> |
|
|
@ -443,7 +443,7 @@ |
|
|
|
<template #footer> |
|
|
|
<template #footer> |
|
|
|
<span class="dialog-footer"> |
|
|
|
<span class="dialog-footer"> |
|
|
|
<el-button @click="dialogCustomer = false">取消</el-button> |
|
|
|
<el-button @click="dialogCustomer = false">取消</el-button> |
|
|
|
<el-button type="primary" @click="CustomerServiceintervention"> |
|
|
|
<el-button type="primary" @click="CustomerServiceintervention" :disabled="loadingCustomer"> |
|
|
|
提交 |
|
|
|
提交 |
|
|
|
</el-button> |
|
|
|
</el-button> |
|
|
|
</span> |
|
|
|
</span> |
|
|
@ -1377,7 +1377,7 @@ const IndexTable = val => { |
|
|
|
details.data = res.data.data.records; |
|
|
|
details.data = res.data.data.records; |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
// details.data = res.data.data.records; |
|
|
|
// details.data = res.data.data.records; |
|
|
|
details.data = [{}]; |
|
|
|
details.data = res.data.data.records; |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
@ -2175,11 +2175,22 @@ const btnsc = val => { |
|
|
|
|
|
|
|
|
|
|
|
/** 表格表头下拉框选择 */ |
|
|
|
/** 表格表头下拉框选择 */ |
|
|
|
const selectsc = (index, row) => { |
|
|
|
const selectsc = (index, row) => { |
|
|
|
processRowProperty(index, row, details); |
|
|
|
|
|
|
|
console.log(details, '下拉的参数'); |
|
|
|
|
|
|
|
details.query.workOrderStatus = TabPermissions.value; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
console.log(index,'type'); |
|
|
|
|
|
|
|
// details.query[row.prop] = index; |
|
|
|
|
|
|
|
// processRowProperty(index, row, details); |
|
|
|
|
|
|
|
console.log(row,'row搜索'); |
|
|
|
|
|
|
|
// details.query.workOrderStatus = TabPermissions.value; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
details.query[row.prop] = index; |
|
|
|
|
|
|
|
if (!index) delete details.query[row.prop]; |
|
|
|
|
|
|
|
if (row.prop == 'workOrderStatusNameS') { |
|
|
|
|
|
|
|
details.query['workOrderStatus'] = index; |
|
|
|
|
|
|
|
if (!index) delete details.query['workOrderStatus']; |
|
|
|
|
|
|
|
} |
|
|
|
DataRendering(TabPermissions.value, details.query); |
|
|
|
DataRendering(TabPermissions.value, details.query); |
|
|
|
|
|
|
|
console.log(details.query); |
|
|
|
|
|
|
|
|
|
|
|
return; |
|
|
|
return; |
|
|
|
|
|
|
|
|
|
|
|
if (TimeoutStatus.value) { |
|
|
|
if (TimeoutStatus.value) { |
|
|
@ -3059,9 +3070,21 @@ const EndArbitration=(val)=>{ |
|
|
|
let data={ |
|
|
|
let data={ |
|
|
|
assignList:[val.row.id] |
|
|
|
assignList:[val.row.id] |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
details.loadingObj.list = true; //开启加载效果 |
|
|
|
$_updateArbitrateStatu(data).then(res=>{ |
|
|
|
$_updateArbitrateStatu(data).then(res=>{ |
|
|
|
console.log(res,'处理成功'); |
|
|
|
console.log(res,'处理成功'); |
|
|
|
|
|
|
|
if(res.data.code == 200){ |
|
|
|
|
|
|
|
ElMessage({ |
|
|
|
|
|
|
|
message: res.data.msg, |
|
|
|
|
|
|
|
type: 'success', |
|
|
|
|
|
|
|
}) |
|
|
|
|
|
|
|
DataRendering(TabPermissions.value); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
}).catch(res=>{ |
|
|
|
|
|
|
|
console.log(res,'报错原因'); |
|
|
|
|
|
|
|
}).finally(()=>{ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
details.loadingObj.list = false; //开启加载效果 |
|
|
|
}) |
|
|
|
}) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
@ -3334,6 +3357,7 @@ const CustomerServiceintervention = () => { |
|
|
|
}); |
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
console.log(data, '仲裁处理好的参数'); |
|
|
|
console.log(data, '仲裁处理好的参数'); |
|
|
|
|
|
|
|
loadingCustomer.value=true;//开启加载 |
|
|
|
// 发送请求 |
|
|
|
// 发送请求 |
|
|
|
$_arbitrate(data).then(res => { |
|
|
|
$_arbitrate(data).then(res => { |
|
|
|
console.log(res, '仲裁成功返回值'); |
|
|
|
console.log(res, '仲裁成功返回值'); |
|
|
@ -3345,7 +3369,8 @@ const CustomerServiceintervention = () => { |
|
|
|
}); |
|
|
|
}); |
|
|
|
} |
|
|
|
} |
|
|
|
}).finally(()=>{ |
|
|
|
}).finally(()=>{ |
|
|
|
dialogCustomer.value=true;//关闭弹窗 |
|
|
|
dialogCustomer.value=false;//关闭弹窗 |
|
|
|
|
|
|
|
loadingCustomer.value=false;//关闭加载 |
|
|
|
}); |
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
}; |
|
|
|
}; |
|
|
|