|
|
|
@ -641,7 +641,7 @@
|
|
|
|
|
<el-dialog |
|
|
|
|
v-model="dialogappeal" |
|
|
|
|
:title="AppealeditorState ? '工单申述编辑' : '工单申诉'" |
|
|
|
|
width="30%" |
|
|
|
|
width="40%" |
|
|
|
|
> |
|
|
|
|
<div class="el_appeal" v-loading="loadingappeal" element-loading-text="Loading..."> |
|
|
|
|
<el-form-item label="选择实际责任方"> |
|
|
|
@ -660,13 +660,16 @@
|
|
|
|
|
/> |
|
|
|
|
</el-select> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-input |
|
|
|
|
<el-form-item label="申诉原因"> |
|
|
|
|
<el-input |
|
|
|
|
v-model="Reasonforappeal" |
|
|
|
|
:rows="4" |
|
|
|
|
type="textarea" |
|
|
|
|
placeholder="请输入申诉原因" |
|
|
|
|
/> |
|
|
|
|
<el-upload |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="`照片"> |
|
|
|
|
<el-upload |
|
|
|
|
v-model:file-list="AppealAttachment" |
|
|
|
|
list-type="picture-card" |
|
|
|
|
:on-preview="AppealAttachmentpictureList" |
|
|
|
@ -680,6 +683,8 @@
|
|
|
|
|
> |
|
|
|
|
<el-icon><Plus /></el-icon> |
|
|
|
|
</el-upload> |
|
|
|
|
</el-form-item> |
|
|
|
|
|
|
|
|
|
<span class="el_sdialog-footer"> |
|
|
|
|
<el-button @click="dialogappeal = false">取消</el-button> |
|
|
|
|
<el-button type="primary" @click="Appealbutton"> 确定 </el-button> |
|
|
|
@ -1746,6 +1751,10 @@ const Statusprocessing = val => {
|
|
|
|
|
item.workOrderStatusNameS = columnList[10].checkarr[8].label; //理赔金未出 |
|
|
|
|
} else if (item.workOrderStatus == 21) { |
|
|
|
|
item.workOrderStatusNameS = columnList[10].checkarr[9].label; //处理结果已提交 |
|
|
|
|
}else if(item.workOrderStatus == 100){ |
|
|
|
|
item.workOrderStatusNameS = columnList[10].checkarr[10].label; //处理结果已提交 |
|
|
|
|
}else if(item.workOrderStatus == 110){ |
|
|
|
|
item.workOrderStatusNameS = columnList[10].checkarr[11].label; //处理结果已提交 |
|
|
|
|
} |
|
|
|
|
// } else if (item.workOrderStatus == 100) { |
|
|
|
|
// item.workOrderStatusNameS = columnList[10].checkarr[10].label; //申诉中 |
|
|
|
@ -1903,7 +1912,7 @@ watch(() => $route.path, (newPath, oldPath) => {
|
|
|
|
|
console.log(TabPermissions.value,'当前TabPermissions.value'); |
|
|
|
|
console.log( tabValue.value,'当前 tabValue.value'); |
|
|
|
|
tabValue.value=$useStore.state.Customer.Customerobj;//菜单编号 |
|
|
|
|
if([0,2,3,4].includes(TabPermissions.value)){ |
|
|
|
|
if([0,2,3,4,6].includes(TabPermissions.value)){ |
|
|
|
|
//0.全部菜单 |
|
|
|
|
//4. 理赔金未出 |
|
|
|
|
tabChenge(TabPermissions.value,null,true) |
|
|
|
@ -2372,6 +2381,16 @@ const appealAll = () => {
|
|
|
|
|
}; |
|
|
|
|
// 确定理赔金额 |
|
|
|
|
const DetermineClaims = val => { |
|
|
|
|
ElMessageBox.confirm( |
|
|
|
|
'是否确认理赔金额?', |
|
|
|
|
'提示', |
|
|
|
|
{ |
|
|
|
|
confirmButtonText: '确定', |
|
|
|
|
cancelButtonText: '取消', |
|
|
|
|
type: 'warning', |
|
|
|
|
} |
|
|
|
|
) |
|
|
|
|
.then(() => { |
|
|
|
|
console.log(val.row); |
|
|
|
|
let data = { |
|
|
|
|
id: val.row.lawoId, |
|
|
|
@ -2391,6 +2410,8 @@ const DetermineClaims = val => {
|
|
|
|
|
details.loadingObj.list = false; //关闭动画加载 |
|
|
|
|
pageLoad.value=false |
|
|
|
|
}); |
|
|
|
|
}) |
|
|
|
|
.catch(() => {}) |
|
|
|
|
}; |
|
|
|
|
// 理赔金额未出编辑操作 |
|
|
|
|
const Resultediting = val => { |
|
|
|
@ -2455,7 +2476,17 @@ const CompletedEditing = val => {
|
|
|
|
|
}; |
|
|
|
|
// 工单申诉确认按钮 |
|
|
|
|
const Appealbutton = state => { |
|
|
|
|
if (UserPermissions.value == '仓库客服') { |
|
|
|
|
ElMessageBox.confirm( |
|
|
|
|
'是否确认发起工单申诉?', |
|
|
|
|
'提示', |
|
|
|
|
{ |
|
|
|
|
confirmButtonText: '确定', |
|
|
|
|
cancelButtonText: '取消', |
|
|
|
|
type: 'warning', |
|
|
|
|
} |
|
|
|
|
) |
|
|
|
|
.then(() => { |
|
|
|
|
if (UserPermissions.value == '仓库客服') { |
|
|
|
|
if (AppealAttachment.value.length > 1) { |
|
|
|
|
ElMessage({ |
|
|
|
|
message: '只能上传一张图片', |
|
|
|
@ -2543,6 +2574,11 @@ const Appealbutton = state => {
|
|
|
|
|
}); |
|
|
|
|
}); |
|
|
|
|
} |
|
|
|
|
}) |
|
|
|
|
.catch(() => {}) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
/** 表格表头输入框搜索 */ |
|
|
|
@ -2825,8 +2861,11 @@ const appealFn = val => {
|
|
|
|
|
ClaimStatus.value = false; //关闭理赔查询状态 |
|
|
|
|
AppealList[5].checkarr = []; //异常类型名称 |
|
|
|
|
AppealList[6].checkarr = []; //发现环节 |
|
|
|
|
AppealList[7].checkarr = []; //发现环节 |
|
|
|
|
updateDictionary(AppealList[5].checkarr, 'pc_work_order'); //异常类型 |
|
|
|
|
updateDictionary(AppealList[6].checkarr, 'pc_discovery_node'); //发现环节 |
|
|
|
|
updateDictionary(AppealList[7].checkarr, 'work_order_status'); //发现环节 |
|
|
|
|
|
|
|
|
|
console.log('当前是申诉列表'); |
|
|
|
|
let data = { |
|
|
|
|
current: details.page.currentPage, |
|
|
|
@ -2839,7 +2878,6 @@ const appealFn = val => {
|
|
|
|
|
details.loadingObj.list = false; //开启动画加载 |
|
|
|
|
pageLoad.value=false |
|
|
|
|
console.log(res, '申诉列表返回值'); |
|
|
|
|
|
|
|
|
|
if (res.data.data.records.length) { |
|
|
|
|
// details.data = res.data.data.records; |
|
|
|
|
TabList.value.find(res => res.name == TabPermissions.value).DataList = |
|
|
|
@ -2895,10 +2933,10 @@ function AppealListFn(val) {
|
|
|
|
|
data.workOrderStatus = ''; |
|
|
|
|
console.log(data.workOrderStatus, '当前搜索状态'); |
|
|
|
|
Tableheaderswitching(AppealList); //切换表头 |
|
|
|
|
AppealList.forEach(item => { |
|
|
|
|
//清空搜索记录 |
|
|
|
|
item.values = ''; |
|
|
|
|
}); |
|
|
|
|
// AppealList.forEach(item => { |
|
|
|
|
// //清空搜索记录 |
|
|
|
|
// item.values = ''; |
|
|
|
|
// }); |
|
|
|
|
appealFn(val); // 获取申诉列表 |
|
|
|
|
} |
|
|
|
|
|
|
|
|
@ -3350,7 +3388,7 @@ const fellSuccess = (response, uploadFile) => {
|
|
|
|
|
KFfeel.value = response.data.link; |
|
|
|
|
} |
|
|
|
|
}; |
|
|
|
|
// 处理结果和理赔确定 |
|
|
|
|
//批量审核(由客服经理批量审核确定) |
|
|
|
|
const DetermineStorage = val => { |
|
|
|
|
if (!details.selectionList.length) { |
|
|
|
|
ElMessage({ |
|
|
|
@ -3359,14 +3397,24 @@ const DetermineStorage = val => {
|
|
|
|
|
}); |
|
|
|
|
return; |
|
|
|
|
} |
|
|
|
|
let data = { |
|
|
|
|
ElMessageBox.confirm( |
|
|
|
|
'是否确定确定批量审核?', |
|
|
|
|
'提示', |
|
|
|
|
{ |
|
|
|
|
confirmButtonText: '确定', |
|
|
|
|
cancelButtonText: '取消', |
|
|
|
|
type: 'warning', |
|
|
|
|
} |
|
|
|
|
) |
|
|
|
|
.then(() => { |
|
|
|
|
let data = { |
|
|
|
|
assignList: [], |
|
|
|
|
}; |
|
|
|
|
data['assignList'] = details.selectionList.map(item => item.id); |
|
|
|
|
|
|
|
|
|
details.loadingObj.list = true; //开启加载效果 |
|
|
|
|
pageLoad.value=true |
|
|
|
|
// 完结结果确定 |
|
|
|
|
console.log(data, '处理好的值'); |
|
|
|
|
$_updateManagerConfirmed(data) |
|
|
|
|
.then(res => { |
|
|
|
|
if (res.data.code == 200) { |
|
|
|
@ -3385,8 +3433,8 @@ const DetermineStorage = val => {
|
|
|
|
|
details.loadingObj.list = false; //关闭加载效果 |
|
|
|
|
pageLoad.value=false |
|
|
|
|
}); |
|
|
|
|
// 赔款方 |
|
|
|
|
console.log(data, '处理好的值'); |
|
|
|
|
}) |
|
|
|
|
.catch(() => { }) |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
// 完结里面确定按钮 |
|
|
|
@ -4837,6 +4885,13 @@ const AssignSubmission = () => {
|
|
|
|
|
width: 100% !important; |
|
|
|
|
margin-bottom: 10px; |
|
|
|
|
} |
|
|
|
|
:deep(.el-form-item){ |
|
|
|
|
flex-direction: column; |
|
|
|
|
align-items: flex-start; |
|
|
|
|
.el-form-item__content{ |
|
|
|
|
width: 100% !important; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
.el_sdialog-footer { |
|
|
|
|
display: flex; |
|
|
|
|