|
|
@ -1,5 +1,5 @@ |
|
|
|
<template> |
|
|
|
<template> |
|
|
|
<div class="content_max"> |
|
|
|
<div class="content_max" v-loading="pageLoad"> |
|
|
|
<!-- 菜单 --> |
|
|
|
<!-- 菜单 --> |
|
|
|
<el-tabs type="border-card" v-model="tabValue" @tab-change="tabChenge" class="el_tabs"> |
|
|
|
<el-tabs type="border-card" v-model="tabValue" @tab-change="tabChenge" class="el_tabs"> |
|
|
|
<div></div> |
|
|
|
<div></div> |
|
|
@ -1088,6 +1088,7 @@ const $useStore = useStore(); |
|
|
|
const $route = useRoute(); |
|
|
|
const $route = useRoute(); |
|
|
|
/** vuex */ |
|
|
|
/** vuex */ |
|
|
|
const customerData = ref([]); //查询已绑定的客服 |
|
|
|
const customerData = ref([]); //查询已绑定的客服 |
|
|
|
|
|
|
|
const pageLoad=ref(false) |
|
|
|
const accessControl = $useStore.getters.permission; |
|
|
|
const accessControl = $useStore.getters.permission; |
|
|
|
console.log(accessControl, '权限按钮'); |
|
|
|
console.log(accessControl, '权限按钮'); |
|
|
|
const loadingFinancial = ref(false); |
|
|
|
const loadingFinancial = ref(false); |
|
|
@ -1770,6 +1771,7 @@ const IndexTable = (val, Refresh) => { |
|
|
|
TimeoutStatus.value = false; //关闭超时 |
|
|
|
TimeoutStatus.value = false; //关闭超时 |
|
|
|
// ProcessingPartyState.value = false; //关闭处理方 |
|
|
|
// ProcessingPartyState.value = false; //关闭处理方 |
|
|
|
details.loadingObj.list = true; //开启动画加载 |
|
|
|
details.loadingObj.list = true; //开启动画加载 |
|
|
|
|
|
|
|
pageLoad.value=true |
|
|
|
columnList[2].checkarr = []; //重置下拉搜索框 |
|
|
|
columnList[2].checkarr = []; //重置下拉搜索框 |
|
|
|
columnList[3].checkarr = []; |
|
|
|
columnList[3].checkarr = []; |
|
|
|
columnList[10].checkarr = []; |
|
|
|
columnList[10].checkarr = []; |
|
|
@ -1816,6 +1818,7 @@ const IndexTable = (val, Refresh) => { |
|
|
|
Tableheaderswitching(columnList); |
|
|
|
Tableheaderswitching(columnList); |
|
|
|
console.log(res, '初始化返回值'); |
|
|
|
console.log(res, '初始化返回值'); |
|
|
|
details.loadingObj.list = false; //关闭动画加载 |
|
|
|
details.loadingObj.list = false; //关闭动画加载 |
|
|
|
|
|
|
|
pageLoad.value=false |
|
|
|
if (res.data.data) { |
|
|
|
if (res.data.data) { |
|
|
|
console.log(res.data.data, '初始化返回值===>'); |
|
|
|
console.log(res.data.data, '初始化返回值===>'); |
|
|
|
// page.value.total = res.data.data.total; //总页数 |
|
|
|
// page.value.total = res.data.data.total; //总页数 |
|
|
@ -2348,6 +2351,7 @@ const DetermineClaims = val => { |
|
|
|
workOrderStatus: 30, |
|
|
|
workOrderStatus: 30, |
|
|
|
}; |
|
|
|
}; |
|
|
|
details.loadingObj.list = true; //开启动画加载 |
|
|
|
details.loadingObj.list = true; //开启动画加载 |
|
|
|
|
|
|
|
pageLoad.value=true |
|
|
|
console.log(data, '处理好的值'); |
|
|
|
console.log(data, '处理好的值'); |
|
|
|
$_settlementUpdate(data) |
|
|
|
$_settlementUpdate(data) |
|
|
|
.then(res => { |
|
|
|
.then(res => { |
|
|
@ -2358,6 +2362,7 @@ const DetermineClaims = val => { |
|
|
|
}) |
|
|
|
}) |
|
|
|
.catch(res => { |
|
|
|
.catch(res => { |
|
|
|
details.loadingObj.list = false; //关闭动画加载 |
|
|
|
details.loadingObj.list = false; //关闭动画加载 |
|
|
|
|
|
|
|
pageLoad.value=false |
|
|
|
}); |
|
|
|
}); |
|
|
|
}; |
|
|
|
}; |
|
|
|
// 理赔金额未出编辑操作 |
|
|
|
// 理赔金额未出编辑操作 |
|
|
@ -2713,6 +2718,7 @@ const settlementclaim = (val, Refresh) => { |
|
|
|
return; |
|
|
|
return; |
|
|
|
} |
|
|
|
} |
|
|
|
details.loadingObj.list = true; //开启动画加载 |
|
|
|
details.loadingObj.list = true; //开启动画加载 |
|
|
|
|
|
|
|
pageLoad.value=true |
|
|
|
console.log(Claimsfield, '理赔数据'); |
|
|
|
console.log(Claimsfield, '理赔数据'); |
|
|
|
ClaimStatus.value = true; //开启理赔查询状态 |
|
|
|
ClaimStatus.value = true; //开启理赔查询状态 |
|
|
|
AppealStatus.value = false; //关闭申诉状态 |
|
|
|
AppealStatus.value = false; //关闭申诉状态 |
|
|
@ -2759,6 +2765,7 @@ const settlementclaim = (val, Refresh) => { |
|
|
|
$_listSettlement(data) |
|
|
|
$_listSettlement(data) |
|
|
|
.then(res => { |
|
|
|
.then(res => { |
|
|
|
details.loadingObj.list = false; //关闭动画加载 |
|
|
|
details.loadingObj.list = false; //关闭动画加载 |
|
|
|
|
|
|
|
pageLoad.value=false |
|
|
|
console.log(res, '查询理赔数据'); |
|
|
|
console.log(res, '查询理赔数据'); |
|
|
|
if (res.data.data) { |
|
|
|
if (res.data.data) { |
|
|
|
if (res.data.data.records.length) { |
|
|
|
if (res.data.data.records.length) { |
|
|
@ -2779,11 +2786,13 @@ const settlementclaim = (val, Refresh) => { |
|
|
|
}) |
|
|
|
}) |
|
|
|
.catch(res => { |
|
|
|
.catch(res => { |
|
|
|
details.loadingObj.list = false; //关闭动画加载 |
|
|
|
details.loadingObj.list = false; //关闭动画加载 |
|
|
|
|
|
|
|
pageLoad.value=false |
|
|
|
}); |
|
|
|
}); |
|
|
|
}; |
|
|
|
}; |
|
|
|
// 获取申诉列表 |
|
|
|
// 获取申诉列表 |
|
|
|
const appealFn = val => { |
|
|
|
const appealFn = val => { |
|
|
|
details.loadingObj.list = true; //开启动画加载 |
|
|
|
details.loadingObj.list = true; //开启动画加载 |
|
|
|
|
|
|
|
pageLoad.value=true |
|
|
|
AppealStatus.value = true; //开启申诉列表状态 |
|
|
|
AppealStatus.value = true; //开启申诉列表状态 |
|
|
|
TimeoutStatus.value = false; //关闭 超时状态 |
|
|
|
TimeoutStatus.value = false; //关闭 超时状态 |
|
|
|
ClaimStatus.value = false; //关闭理赔查询状态 |
|
|
|
ClaimStatus.value = false; //关闭理赔查询状态 |
|
|
@ -2801,6 +2810,7 @@ const appealFn = val => { |
|
|
|
$_listAppeal(data) |
|
|
|
$_listAppeal(data) |
|
|
|
.then(res => { |
|
|
|
.then(res => { |
|
|
|
details.loadingObj.list = false; //开启动画加载 |
|
|
|
details.loadingObj.list = false; //开启动画加载 |
|
|
|
|
|
|
|
pageLoad.value=false |
|
|
|
console.log(res, '申诉列表返回值'); |
|
|
|
console.log(res, '申诉列表返回值'); |
|
|
|
|
|
|
|
|
|
|
|
if (res.data.data.records.length) { |
|
|
|
if (res.data.data.records.length) { |
|
|
@ -2820,6 +2830,7 @@ const appealFn = val => { |
|
|
|
}) |
|
|
|
}) |
|
|
|
.catch(res => { |
|
|
|
.catch(res => { |
|
|
|
details.loadingObj.list = false; //关闭动画加载 |
|
|
|
details.loadingObj.list = false; //关闭动画加载 |
|
|
|
|
|
|
|
pageLoad.value=false |
|
|
|
}); |
|
|
|
}); |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
@ -2933,6 +2944,7 @@ const TimeoutHandling = (val, Refresh) => { |
|
|
|
AppealStatus.value = false; //关闭申诉状态 |
|
|
|
AppealStatus.value = false; //关闭申诉状态 |
|
|
|
TimeoutStatus.value = true; //开启超时记录查询 |
|
|
|
TimeoutStatus.value = true; //开启超时记录查询 |
|
|
|
details.loadingObj.list = true; //开启动画加载 |
|
|
|
details.loadingObj.list = true; //开启动画加载 |
|
|
|
|
|
|
|
pageLoad.value=true |
|
|
|
updateDictionary(timeoutList[3].checkarr, 'pc_work_order'); //异常类型 |
|
|
|
updateDictionary(timeoutList[3].checkarr, 'pc_work_order'); //异常类型 |
|
|
|
updateDictionary(timeoutList[4].checkarr, 'pc_discovery_node'); //发现环节 |
|
|
|
updateDictionary(timeoutList[4].checkarr, 'pc_discovery_node'); //发现环节 |
|
|
|
let data = { |
|
|
|
let data = { |
|
|
@ -2943,6 +2955,7 @@ const TimeoutHandling = (val, Refresh) => { |
|
|
|
$_listOwn(data) |
|
|
|
$_listOwn(data) |
|
|
|
.then(res => { |
|
|
|
.then(res => { |
|
|
|
details.loadingObj.list = false; //关闭动画加载 |
|
|
|
details.loadingObj.list = false; //关闭动画加载 |
|
|
|
|
|
|
|
pageLoad.value=false |
|
|
|
console.log(res, '超时记录'); |
|
|
|
console.log(res, '超时记录'); |
|
|
|
|
|
|
|
|
|
|
|
if (res.data.data.records.length) { |
|
|
|
if (res.data.data.records.length) { |
|
|
@ -2963,6 +2976,7 @@ const TimeoutHandling = (val, Refresh) => { |
|
|
|
}) |
|
|
|
}) |
|
|
|
.catch(res => { |
|
|
|
.catch(res => { |
|
|
|
details.loadingObj.list = false; //关闭动画加载 |
|
|
|
details.loadingObj.list = false; //关闭动画加载 |
|
|
|
|
|
|
|
pageLoad.value=false |
|
|
|
}); |
|
|
|
}); |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
@ -3158,6 +3172,7 @@ const ProcessingPartyFun = (val, Refresh) => { |
|
|
|
AppealStatus.value = false; //关闭申诉状态 |
|
|
|
AppealStatus.value = false; //关闭申诉状态 |
|
|
|
// details.query.workOrderStatus = null; |
|
|
|
// details.query.workOrderStatus = null; |
|
|
|
details.loadingObj.list = true; //开启动画加载 |
|
|
|
details.loadingObj.list = true; //开启动画加载 |
|
|
|
|
|
|
|
pageLoad.value=true |
|
|
|
let data = { |
|
|
|
let data = { |
|
|
|
...val, |
|
|
|
...val, |
|
|
|
}; |
|
|
|
}; |
|
|
@ -3171,6 +3186,7 @@ const ProcessingPartyFun = (val, Refresh) => { |
|
|
|
$_getProcessor(data) |
|
|
|
$_getProcessor(data) |
|
|
|
.then(res => { |
|
|
|
.then(res => { |
|
|
|
details.loadingObj.list = false; //关闭动画加载 |
|
|
|
details.loadingObj.list = false; //关闭动画加载 |
|
|
|
|
|
|
|
pageLoad.value=false |
|
|
|
// page.value.total = res.data.data.total; //总页数 |
|
|
|
// page.value.total = res.data.data.total; //总页数 |
|
|
|
if (res.data.data.records.length) { |
|
|
|
if (res.data.data.records.length) { |
|
|
|
Statusprocessing(res.data.data.records); |
|
|
|
Statusprocessing(res.data.data.records); |
|
|
@ -3322,6 +3338,7 @@ const DetermineStorage = val => { |
|
|
|
data['assignList'] = details.selectionList.map(item => item.id); |
|
|
|
data['assignList'] = details.selectionList.map(item => item.id); |
|
|
|
|
|
|
|
|
|
|
|
details.loadingObj.list = true; //开启加载效果 |
|
|
|
details.loadingObj.list = true; //开启加载效果 |
|
|
|
|
|
|
|
pageLoad.value=true |
|
|
|
// 完结结果确定 |
|
|
|
// 完结结果确定 |
|
|
|
$_updateManagerConfirmed(data) |
|
|
|
$_updateManagerConfirmed(data) |
|
|
|
.then(res => { |
|
|
|
.then(res => { |
|
|
@ -3339,6 +3356,7 @@ const DetermineStorage = val => { |
|
|
|
}) |
|
|
|
}) |
|
|
|
.finally(res => { |
|
|
|
.finally(res => { |
|
|
|
details.loadingObj.list = false; //关闭加载效果 |
|
|
|
details.loadingObj.list = false; //关闭加载效果 |
|
|
|
|
|
|
|
pageLoad.value=false |
|
|
|
}); |
|
|
|
}); |
|
|
|
// 赔款方 |
|
|
|
// 赔款方 |
|
|
|
console.log(data, '处理好的值'); |
|
|
|
console.log(data, '处理好的值'); |
|
|
@ -3351,6 +3369,7 @@ const EndArbitration = val => { |
|
|
|
assignList: [val.row.id], |
|
|
|
assignList: [val.row.id], |
|
|
|
}; |
|
|
|
}; |
|
|
|
details.loadingObj.list = true; //开启加载效果 |
|
|
|
details.loadingObj.list = true; //开启加载效果 |
|
|
|
|
|
|
|
pageLoad.value=true |
|
|
|
$_updateArbitrateStatu(data) |
|
|
|
$_updateArbitrateStatu(data) |
|
|
|
.then(res => { |
|
|
|
.then(res => { |
|
|
|
console.log(res, '处理成功'); |
|
|
|
console.log(res, '处理成功'); |
|
|
@ -3367,6 +3386,7 @@ const EndArbitration = val => { |
|
|
|
}) |
|
|
|
}) |
|
|
|
.finally(() => { |
|
|
|
.finally(() => { |
|
|
|
details.loadingObj.list = false; //开启加载效果 |
|
|
|
details.loadingObj.list = false; //开启加载效果 |
|
|
|
|
|
|
|
pageLoad.value=false |
|
|
|
}); |
|
|
|
}); |
|
|
|
}; |
|
|
|
}; |
|
|
|
// 批量仲裁确定 |
|
|
|
// 批量仲裁确定 |
|
|
@ -3401,6 +3421,7 @@ const AllEndArbitration = () => { |
|
|
|
.finally(() => { |
|
|
|
.finally(() => { |
|
|
|
details.selectionList = []; //清空勾选数据 |
|
|
|
details.selectionList = []; //清空勾选数据 |
|
|
|
details.loadingObj.list = false; //开启加载效果 |
|
|
|
details.loadingObj.list = false; //开启加载效果 |
|
|
|
|
|
|
|
pageLoad.value=false |
|
|
|
}); |
|
|
|
}); |
|
|
|
}; |
|
|
|
}; |
|
|
|
// 处理完毕里面确定(仓库客服用的) |
|
|
|
// 处理完毕里面确定(仓库客服用的) |
|
|
@ -3460,6 +3481,7 @@ const ResultConfirmation = val => { |
|
|
|
}) |
|
|
|
}) |
|
|
|
.then(() => { |
|
|
|
.then(() => { |
|
|
|
details.loadingObj.list = true; //开启加载效果 |
|
|
|
details.loadingObj.list = true; //开启加载效果 |
|
|
|
|
|
|
|
pageLoad.value=true |
|
|
|
console.log(data, '处理好的数据'); |
|
|
|
console.log(data, '处理好的数据'); |
|
|
|
$_updateWorkOrderStatus(data) |
|
|
|
$_updateWorkOrderStatus(data) |
|
|
|
.then(res => { |
|
|
|
.then(res => { |
|
|
@ -3477,6 +3499,7 @@ const ResultConfirmation = val => { |
|
|
|
}) |
|
|
|
}) |
|
|
|
.finally(() => { |
|
|
|
.finally(() => { |
|
|
|
details.loadingObj.list = false; //关闭加载效果 |
|
|
|
details.loadingObj.list = false; //关闭加载效果 |
|
|
|
|
|
|
|
pageLoad.value=false |
|
|
|
}); |
|
|
|
}); |
|
|
|
}) |
|
|
|
}) |
|
|
|
.catch(() => { |
|
|
|
.catch(() => { |
|
|
@ -3536,6 +3559,7 @@ const ResultConfirmation = val => { |
|
|
|
}) |
|
|
|
}) |
|
|
|
.then(() => { |
|
|
|
.then(() => { |
|
|
|
details.loadingObj.list = true; //开启加载效果 |
|
|
|
details.loadingObj.list = true; //开启加载效果 |
|
|
|
|
|
|
|
pageLoad.value=true |
|
|
|
// 完结结果确定 |
|
|
|
// 完结结果确定 |
|
|
|
$_updateManagerConfirmed(data) |
|
|
|
$_updateManagerConfirmed(data) |
|
|
|
.then(res => { |
|
|
|
.then(res => { |
|
|
@ -3553,6 +3577,7 @@ const ResultConfirmation = val => { |
|
|
|
}) |
|
|
|
}) |
|
|
|
.finally(res => { |
|
|
|
.finally(res => { |
|
|
|
details.loadingObj.list = false; //关闭加载效果 |
|
|
|
details.loadingObj.list = false; //关闭加载效果 |
|
|
|
|
|
|
|
pageLoad.value=false |
|
|
|
}); |
|
|
|
}); |
|
|
|
// 赔款方 |
|
|
|
// 赔款方 |
|
|
|
console.log(data, '处理好的值'); |
|
|
|
console.log(data, '处理好的值'); |
|
|
|