Commit 29a6f2c8 by 前端

Merge branch 'v3.18.0' into 'master'

V3.18.0

See merge request !42
2 parents 17273400 1d603b67
...@@ -89,6 +89,9 @@ ...@@ -89,6 +89,9 @@
<div> <div>
<explanation :supplementList="repotData.supplementList2" :operatorName="repotData.updatedBy" :id="repotData.id"></explanation> <explanation :supplementList="repotData.supplementList2" :operatorName="repotData.updatedBy" :id="repotData.id"></explanation>
</div> </div>
<div v-if="accountMatchResultList.length" class="widget">
<wraning style="margin-top:16px" :isWatchOrder="isWatchOrder" @getWarningData="getWarningData" :list="accountMatchResultList"></wraning>
</div>
</div> </div>
</template> </template>
<script type="text/ecmascript-6"> <script type="text/ecmascript-6">
...@@ -97,12 +100,14 @@ const phoneReg = /^(13[0-9]|15[0-9]|16[0-9]|17[0-9]|18[0-9]|19[0-9]|14[0-9])[0-9 ...@@ -97,12 +100,14 @@ const phoneReg = /^(13[0-9]|15[0-9]|16[0-9]|17[0-9]|18[0-9]|19[0-9]|14[0-9])[0-9
import glsxCombiForm from '@/components/glsx-combi-form' import glsxCombiForm from '@/components/glsx-combi-form'
import uploadMaterial from '../uploadMaterial.vue' import uploadMaterial from '../uploadMaterial.vue'
import explanation from '../explanation.vue' import explanation from '../explanation.vue'
import wraning from '../wraning/index.vue'
export default { export default {
name: 'checkClaimsPage', name: 'checkClaimsPage',
components: { components: {
glsxCombiForm, glsxCombiForm,
uploadMaterial, uploadMaterial,
explanation explanation,
wraning
}, },
data() { data() {
return { return {
...@@ -251,7 +256,9 @@ export default { ...@@ -251,7 +256,9 @@ export default {
accountForm: Object, accountForm: Object,
itemsList: Array, itemsList: Array,
insuranceAttachmentConfigs: Array, insuranceAttachmentConfigs: Array,
lossTypeList: Array lossTypeList: Array,
accountMatchResultList: Array,
isWatchOrder: Boolean
}, },
watch: { watch: {
'accountForm.objectType': { 'accountForm.objectType': {
...@@ -326,6 +333,22 @@ export default { ...@@ -326,6 +333,22 @@ export default {
return prev + +(curPrice * 100).toFixed(0) return prev + +(curPrice * 100).toFixed(0)
}, 0) }, 0)
this.repotData[type] = (total / 100).toFixed(2) this.repotData[type] = (total / 100).toFixed(2)
},
getWarningData(e) {
if (e) {
let arr = []
e.forEach(el => {
let obj = {
id: el.id,
verifyResultDesc: el.verifyResultDesc,
accountVerifyImagesList: el.accountVerifyImagesList,
matchType: el.matchType
}
arr.push(obj)
})
console.log(arr);
this.$emit('getWarningInfo', arr)
}
} }
} }
} }
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
<template> <template>
<div class="tab_wrap"> <div class="tab_wrap">
<el-tabs v-model="activeNameTabs"> <el-tabs v-model="activeNameTabs">
<el-tab-pane v-if="[1, 12, 13, 14, 2, 3, 4, 0, 10, 11, 8, 9, 7].includes(repotData.status)" class="bg" label="核赔信息" name="second"> <el-tab-pane v-if="[1, 12, 13, 14, 2, 3, 4, 0, 10, 11, 8, 9, 7, 26, 27, 28].includes(repotData.status)" class="bg" label="核赔信息" name="second">
<div class="widget"> <div class="widget">
<div class="title">维修信息</div> <div class="title">维修信息</div>
<div class="content pad20"> <div class="content pad20">
...@@ -161,6 +161,9 @@ ...@@ -161,6 +161,9 @@
<div> <div>
<explanation :isCheck="true" :supplementList="repotData.supplementList2" :operatorName="repotData.updatedBy" :id="repotData.id"></explanation> <explanation :isCheck="true" :supplementList="repotData.supplementList2" :operatorName="repotData.updatedBy" :id="repotData.id"></explanation>
</div> </div>
<div v-if="accountMatchResultList.length" class="widget">
<wraning style="margin-top: 16px" :isWatchOrder="true" :list="accountMatchResultList"></wraning>
</div>
</el-tab-pane> </el-tab-pane>
<el-tab-pane class="bg" label="定损信息" name="first"> <el-tab-pane class="bg" label="定损信息" name="first">
<div class="widget"> <div class="widget">
...@@ -308,11 +311,13 @@ ...@@ -308,11 +311,13 @@
<script type="text/ecmascript-6"> <script type="text/ecmascript-6">
import explanation from '../explanation.vue' import explanation from '../explanation.vue'
import otherInfo from '../otherInfo.vue' import otherInfo from '../otherInfo.vue'
import wraning from '../wraning/index.vue'
export default { export default {
name: 'watchPage', name: 'watchPage',
components: { components: {
explanation, explanation,
otherInfo otherInfo,
wraning
}, },
data() { data() {
return { return {
...@@ -322,7 +327,7 @@ export default { ...@@ -322,7 +327,7 @@ export default {
activeNameClaims: '0', activeNameClaims: '0',
currentServicesIndex: 0, currentServicesIndex: 0,
activeNameTabs: 'first', activeNameTabs: 'first',
srcList:[] srcList: []
} }
}, },
props: { props: {
...@@ -333,20 +338,18 @@ export default { ...@@ -333,20 +338,18 @@ export default {
images: Array, images: Array,
images2: Array, images2: Array,
otherInfoData: Object, otherInfoData: Object,
lossTypeList:Array lossTypeList: Array,
}, accountMatchResultList: Array
mounted() {
}, },
watch:{ mounted() {},
images(val){ watch: {
images(val) {
this.getImgList(val[0]) this.getImgList(val[0])
}, },
activeNameTabs(val){ activeNameTabs(val) {
if(val=='first'){ if (val == 'first') {
this.getImgList(this.images[0]) this.getImgList(this.images[0])
}else{ } else {
this.getImgList(this.images2[0]) this.getImgList(this.images2[0])
} }
} }
...@@ -359,20 +362,18 @@ export default { ...@@ -359,20 +362,18 @@ export default {
this.activeName = e.index.toString() this.activeName = e.index.toString()
this.currentIndx = e.index this.currentIndx = e.index
this.getImgList(this.images[this.currentIndx]) this.getImgList(this.images[this.currentIndx])
}, },
changeTabss(e) { changeTabss(e) {
this.activeNameClaims = e.index.toString() this.activeNameClaims = e.index.toString()
this.currentIndxClaims = e.index this.currentIndxClaims = e.index
this.getImgList(this.images2[this.currentIndxClaims]) this.getImgList(this.images2[this.currentIndxClaims])
}, },
getImgList(data){ getImgList(data) {
this.srcList=[] this.srcList = []
data.secondClassifyList.forEach(item=>{ data.secondClassifyList.forEach(item => {
item.attachmentList.forEach(img=>{ item.attachmentList.forEach(img => {
this.srcList.push(img.attachmentFile) this.srcList.push(img.attachmentFile)
}) })
}) })
} }
} }
......
...@@ -170,7 +170,19 @@ const statusList = [ ...@@ -170,7 +170,19 @@ const statusList = [
{ {
confId: 14, confId: 14,
confName: '核赔通过' confName: '核赔通过'
} },
{
confId: 26,
confName: '待运营经理审核'
},
{
confId: 27,
confName: '运营经理审核通过'
},
{
confId: 28,
confName: '运营经理审核不通过'
},
] ]
const describeList = [ const describeList = [
{ {
...@@ -192,16 +204,18 @@ const followList = [ ...@@ -192,16 +204,18 @@ const followList = [
confName: '全部' confName: '全部'
} }
] ]
const tableStatus = ['待提交国任', '待支付', '校验不通过', '支付成功', '支付失败', '待受理', '待定损', '定损不通过', '定损通过', '待主管审核', '主管审核不通过', '待客户签字授权', '待核赔', '核赔不通过', '核赔通过'] const tableStatus = ['待提交国任', '待支付', '校验不通过', '支付成功', '支付失败', '待受理', '待定损', '定损不通过', '定损通过', '待主管审核', '主管审核不通过', '待客户签字授权', '待核赔', '核赔不通过', '核赔通过','','','','','','','','','','','','待运营经理审核','运营经理审核通过','运营经理审核不通过']
const colors = ['#FDB757', '#FDB757', '#EB4E4E', ' #2CCA74', '#EB4E4E', '#FDB757', '#FDB757', '#EB4E4E', ' #2CCA74', '#FDB757', '#EB4E4E', '#FDB757', '#FDB757', '#EB4E4E', '#2CCA74'] const colors = ['#FDB757', '#FDB757', '#EB4E4E', ' #2CCA74', '#EB4E4E', '#FDB757', '#FDB757', '#EB4E4E', ' #2CCA74', '#FDB757', '#EB4E4E', '#FDB757', '#FDB757', '#EB4E4E', '#2CCA74','','','','','','','','','','','','#FDB757','#2CCA74','#EB4E4E']
// 操作对应状态 // 操作对应状态
const WATCH = [5, 7, 13, 8, 9, 10, 11, 1, 3, 4] // 查看 const WATCH = [5, 7, 13, 8, 9, 10, 11, 1, 3, 4,26,27,28] // 查看
const FOLLOW_HISTORY = [5, 6, 12, 7, 13, 8, 9, 10, 11, 2, 1, 3] //跟进记录和历史赔付 const FOLLOW_HISTORY = [5, 6, 12, 7, 13, 8, 9, 10, 11, 2, 1, 3] //跟进记录和历史赔付
const CHECK = [6, 12] // 审核 const CHECK = [6] // 定损审核
const CHECK_HP = [12] // 核赔审核
const RE_SUMBIT = [2] //重新提交 const RE_SUMBIT = [2] //重新提交
const RETURN_IT = [7, 13] // 撤销 const RETURN_IT = [7, 13,28] // 撤销
const UPLOAD_INFO = [11] // 上传资料 const UPLOAD_INFO = [11] // 上传资料
const TO_HANDLE = [0] // 去处理 const TO_HANDLE = [0] // 去处理
const Operations_Mananger = [26] // 运营经理审核
export default { export default {
name: 'index', name: 'index',
data() { data() {
...@@ -215,20 +229,52 @@ export default { ...@@ -215,20 +229,52 @@ export default {
{ {
type: 'GLButton', type: 'GLButton',
name: row => { name: row => {
return '审核' return '定损审核'
}, },
condition: row => { condition: row => {
return CHECK.includes(row.scope.status) return CHECK.includes(row.scope.status)
}, },
attrs: { attrs: {
type: 'text', type: 'text',
fn: '审核' fn: '定损审核'
}, },
listeners: { listeners: {
click: row => this.handleEdit(5, row.scope) click: row => this.handleEdit(5, row.scope)
} }
}, },
{ {
type: 'GLButton',
name: row => {
return '核赔审核'
},
condition: row => {
return CHECK_HP.includes(row.scope.status)
},
attrs: {
type: 'text',
fn: '核赔审核'
},
listeners: {
click: row => this.handleEdit(7, row.scope)
}
},
{
type: 'GLButton',
name: row => {
return '运营经理审核'
},
condition: row => {
return Operations_Mananger.includes(row.scope.status)
},
attrs: {
type: 'text',
fn: '运营经理审核'
},
listeners: {
click: row => this.handleEdit(8, row.scope)
}
},
{
type: 'el-button', type: 'el-button',
name: row => { name: row => {
return '撤销' return '撤销'
...@@ -768,7 +814,7 @@ export default { ...@@ -768,7 +814,7 @@ export default {
this.orderCount = res this.orderCount = res
}) })
}, },
// 1.新增 2.查看 6.重新提交 4.去处理 5.审核 // 1.新增 2.查看 6.重新提交 4.去处理 5.定损审核 7.核赔审核 8.运营经理审核
handleEdit(editNo, row) { handleEdit(editNo, row) {
let urlParam = {} let urlParam = {}
const title = this.jumpTitle(editNo) const title = this.jumpTitle(editNo)
...@@ -904,7 +950,7 @@ export default { ...@@ -904,7 +950,7 @@ export default {
}) })
}, },
jumpTitle(addOrEdit) { jumpTitle(addOrEdit) {
let title = '审核' let title = '详情'
switch (addOrEdit) { switch (addOrEdit) {
case 1: case 1:
title = '新增核赔' title = '新增核赔'
...@@ -919,10 +965,16 @@ export default { ...@@ -919,10 +965,16 @@ export default {
title = '去处理' title = '去处理'
break break
case 5: case 5:
title = '审核' title = '定损审核'
break
case 7:
title = '核赔审核'
break
case 8:
title = '运营经理审核'
break break
default: default:
title = '审核' title = '详情'
break break
} }
return title return title
......
<template> <template>
<div class="order-container-page"> <div class="order-container-page">
<template v-if="pageType == 2"> <template v-if="pageType == 2">
<WatchData :lossTypeList.sync="lossTypeList" :otherInfoData.sync="otherInfoData" :images="insuranceAttachmentConfigs" :images2="claimsAttachmentConfigs" :itemsList.sync="itemList" :repotData.sync="repotData" :accountList.sync="accountList" :watchData.sync="watchData"></WatchData> <WatchData :accountMatchResultList="accountMatchResultList" :lossTypeList.sync="lossTypeList" :otherInfoData.sync="otherInfoData" :images="insuranceAttachmentConfigs" :images2="claimsAttachmentConfigs" :itemsList.sync="itemList" :repotData.sync="repotData" :accountList.sync="accountList" :watchData.sync="watchData"></WatchData>
</template> </template>
<template v-else-if="pageType == 5 && routeInfo.status < 11"> <template v-else-if="(pageType == 5 || pageType == 7 || pageType == 8) && routeInfo.status < 11">
<CheckData @getCurrentLoosType="getLossType" :lossTypeList.sync="lossTypeList" :otherInfoData.sync="otherInfoData" :itemList.sync="itemList" :insuranceAttachmentConfigs.sync="insuranceAttachmentConfigs" :repotData.sync="repotData"></CheckData> <CheckData @getCurrentLoosType="getLossType" :lossTypeList.sync="lossTypeList" :otherInfoData.sync="otherInfoData" :itemList.sync="itemList" :insuranceAttachmentConfigs.sync="insuranceAttachmentConfigs" :repotData.sync="repotData"></CheckData>
</template> </template>
<template v-else-if="(pageType == 5 && routeInfo.status > 10) || (routeInfo.status == 2 && pageType == 6)"> <template v-else-if="((pageType == 5 || pageType == 7 || pageType == 8) && routeInfo.status > 10) || (routeInfo.status == 2 && pageType == 6)">
<div class="tab_wrap"> <div class="tab_wrap">
<el-tabs v-model="activeName"> <el-tabs v-model="activeName">
<el-tab-pane class="bg" label="核赔信息" name="first"> <el-tab-pane class="bg" label="核赔信息" name="first">
<CheckClaims ref="checkclaims" @getCurrentLoosType="getLossType" :lossTypeList.sync="lossTypeList" @changeObjectType="changeObjectType" :insuranceAttachmentConfigs.sync="claimsAttachmentConfigs" :repotData.sync="repotData" :itemsList.sync="itemList" :accountForm.sync="accountForm"></CheckClaims> <CheckClaims @getWarningInfo="getWarningInfo" :accountMatchResultList="accountMatchResultList" ref="checkclaims" @getCurrentLoosType="getLossType" :lossTypeList.sync="lossTypeList" @changeObjectType="changeObjectType" :insuranceAttachmentConfigs.sync="claimsAttachmentConfigs" :repotData.sync="repotData" :itemsList.sync="itemList" :accountForm.sync="accountForm"></CheckClaims>
</el-tab-pane> </el-tab-pane>
<el-tab-pane class="bg" label="定损信息" name="second"> <el-tab-pane class="bg" label="定损信息" name="second">
<CheckData @getCurrentLoosType="getLossType" :lossTypeList.sync="lossTypeList" :isDisabled="true" :otherInfoData.sync="otherInfoData" :itemList.sync="itemList" :insuranceAttachmentConfigs.sync="insuranceAttachmentConfigs" :repotData.sync="repotData"></CheckData> <CheckData @getCurrentLoosType="getLossType" :lossTypeList.sync="lossTypeList" :isDisabled="true" :otherInfoData.sync="otherInfoData" :itemList.sync="itemList" :insuranceAttachmentConfigs.sync="insuranceAttachmentConfigs" :repotData.sync="repotData"></CheckData>
...@@ -19,12 +19,17 @@ ...@@ -19,12 +19,17 @@
</div> </div>
</template> </template>
<!-- 底部按钮 --> <!-- 底部按钮 -->
<div v-if="pageType != 2 && activeName != 'second'" class="btn-box"> <div v-if="pageType != 2 && activeName != 'second' && orderMsg.status != 26" class="btn-box">
<el-button plain class="btn-three" @click="toBackList">取消</el-button> <el-button plain class="btn-three" @click="toBackList">取消</el-button>
<el-button plain class="btn-three" @click="toSaveOrder">保存</el-button> <el-button plain class="btn-three" @click="toSaveOrder">保存</el-button>
<el-button plain @click="toNoPassOrder">不通过</el-button> <el-button plain @click="toNoPassOrder">不通过</el-button>
<el-button type="primary" @click="toPassOrder">通过</el-button> <el-button type="primary" @click="toPassOrder">通过</el-button>
</div> </div>
<div v-if="pageType != 2 && activeName != 'second' && orderMsg.status == 26" class="btn-box">
<el-button plain class="btn-three" @click="toBackList">取消</el-button>
<el-button plain @click="toNoPassOrder">不通过</el-button>
<el-button type="primary" @click="toPassOrderAddWarning">通过</el-button>
</div>
<qrCode :bottom="320" phone="400 6123 886" phoneTitle="定损及核赔服务咨询" :codeUrl="qrcodUrl"></qrCode> <qrCode :bottom="320" phone="400 6123 886" phoneTitle="定损及核赔服务咨询" :codeUrl="qrcodUrl"></qrCode>
<!-- 弹窗 --> <!-- 弹窗 -->
...@@ -135,13 +140,18 @@ export default { ...@@ -135,13 +140,18 @@ export default {
maxlength: 200 maxlength: 200
} }
], ],
isSave:true, isSave: true,
testServiceList: [], testServiceList: [],
insuranceAttachmentConfigs: [], insuranceAttachmentConfigs: [],
itemList: [], itemList: [],
otherInfoData: {}, otherInfoData: {},
claimsAttachmentConfigs: [], claimsAttachmentConfigs: [],
lossTypeList: [] lossTypeList: [],
accountMatchResultList: [],
orderMsg: {
id: 0,
status: 0
}
} }
}, },
mounted() { mounted() {
...@@ -201,7 +211,7 @@ export default { ...@@ -201,7 +211,7 @@ export default {
attachments2: res.attachments2, attachments2: res.attachments2,
attachments3: res.attachments3, attachments3: res.attachments3,
claimsAttachmentConfigs2: res.claimsAttachmentConfigs2, claimsAttachmentConfigs2: res.claimsAttachmentConfigs2,
updatedBy:res.updatedBy updatedBy: res.updatedBy
} }
// 图片list // 图片list
...@@ -285,9 +295,16 @@ export default { ...@@ -285,9 +295,16 @@ export default {
if (res.bankAccountDTO) { if (res.bankAccountDTO) {
this.accountForm = res.bankAccountDTO this.accountForm = res.bankAccountDTO
} }
console.log(this.repotData,'----------------') res.accountMatchResultList.forEach(el => {
let arr = []
el.accountVerifyImagesList.forEach(ele => {
let obj = { verifyImage: ele.verifyImage }
arr.push(obj)
})
el.accountVerifyImagesList = arr
})
this.accountMatchResultList = res.accountMatchResultList
}) })
}, },
// 处理查看状态下数据展示 // 处理查看状态下数据展示
handlerWatch(obj, type) { handlerWatch(obj, type) {
...@@ -384,7 +401,7 @@ export default { ...@@ -384,7 +401,7 @@ export default {
}, },
// 通过订单 // 通过订单
toPassOrder() { toPassOrder() {
this.isSave =false this.isSave = false
if (this.orderMsg.status == 12 || this.orderMsg.status == 2) { if (this.orderMsg.status == 12 || this.orderMsg.status == 2) {
const isPass = this.verifyImages(this.claimsAttachmentConfigs) const isPass = this.verifyImages(this.claimsAttachmentConfigs)
if (!isPass) { if (!isPass) {
...@@ -475,6 +492,17 @@ export default { ...@@ -475,6 +492,17 @@ export default {
para.reasonForFailureCode = this.noPassObj.reason para.reasonForFailureCode = this.noPassObj.reason
para.reasonForFailure = this.noPassObj.desc para.reasonForFailure = this.noPassObj.desc
} }
if (this.orderMsg.status == 26) {
let _accountMatchResultList = []
if (this.queryList && this.queryList.length > 0) {
const _temArr = JSON.stringify(this.queryList)
_accountMatchResultList = JSON.parse(_temArr)
_accountMatchResultList.forEach(el => {
delete el.matchType
})
}
para.accountMatchResultList = _accountMatchResultList
}
let loading = this.createLoading() let loading = this.createLoading()
this.$apis.claims.checkClaimsOrderApi(para).then(res => { this.$apis.claims.checkClaimsOrderApi(para).then(res => {
loading.close() loading.close()
...@@ -512,7 +540,7 @@ export default { ...@@ -512,7 +540,7 @@ export default {
}, },
// 点击不通过 // 点击不通过
comfirmNoPass() { comfirmNoPass() {
if (this.orderMsg.status == 12 || this.orderMsg.status == 2) { if (this.orderMsg.status == 12 || this.orderMsg.status == 2 || this.orderMsg.status == 26) {
this.hepeiPass(true) this.hepeiPass(true)
return return
} }
...@@ -562,7 +590,7 @@ export default { ...@@ -562,7 +590,7 @@ export default {
reimbursementProvinceCode: this.repotData.reimbursementProvinceCode, reimbursementProvinceCode: this.repotData.reimbursementProvinceCode,
reimbursementAddr: this.repotData.reimbursementAddr, reimbursementAddr: this.repotData.reimbursementAddr,
reimbursementProcess: this.repotData.reimbursementProcess, reimbursementProcess: this.repotData.reimbursementProcess,
applyAmount: this.repotData.applyAmount ? ((Number(this.repotData.applyAmount) * 10) *10).toFixed(0) : 0, applyAmount: this.repotData.applyAmount ? (Number(this.repotData.applyAmount) * 10 * 10).toFixed(0) : 0,
signatureAuth: this.repotData.signatureAuth || '' signatureAuth: this.repotData.signatureAuth || ''
} }
...@@ -583,7 +611,7 @@ export default { ...@@ -583,7 +611,7 @@ export default {
[claimsId]: this.orderMsg.id, [claimsId]: this.orderMsg.id,
[content]: item.content, [content]: item.content,
[suppType]: item.suppType, [suppType]: item.suppType,
[operation]:this.isSave&&!item.id?0:1 [operation]: this.isSave && !item.id ? 0 : 1
} }
Object.assign(obj, temp) Object.assign(obj, temp)
}) })
...@@ -599,8 +627,7 @@ export default { ...@@ -599,8 +627,7 @@ export default {
[claimsId]: this.orderMsg.id, [claimsId]: this.orderMsg.id,
[content]: item.content, [content]: item.content,
[suppType]: item.suppType, [suppType]: item.suppType,
[operation]:this.isSave&&!item.id?0:1 [operation]: this.isSave && !item.id ? 0 : 1
} }
Object.assign(obj, temp) Object.assign(obj, temp)
}) })
...@@ -716,8 +743,8 @@ export default { ...@@ -716,8 +743,8 @@ export default {
[serviceItemName]: item.serviceItemName, [serviceItemName]: item.serviceItemName,
[writeOffCode]: this.repotData.writeOffCode, [writeOffCode]: this.repotData.writeOffCode,
[contractNo]: this.repotData.contractNo, [contractNo]: this.repotData.contractNo,
[approveAmount]: item.approveAmount ? ((Number(item.approveAmount) * 10) *10).toFixed(0) : 0, [approveAmount]: item.approveAmount ? (Number(item.approveAmount) * 10 * 10).toFixed(0) : 0,
[applyAmount]: item.applyAmount ? ((Number(item.applyAmount) * 10) *10).toFixed(0) : 0, [applyAmount]: item.applyAmount ? (Number(item.applyAmount) * 10 * 10).toFixed(0) : 0,
[claimsId]: this.orderMsg.id, [claimsId]: this.orderMsg.id,
[lossType]: item.serviceItemCode == 'SC0006' ? item.lossTypeList.join(',') : item.lossType [lossType]: item.serviceItemCode == 'SC0006' ? item.lossTypeList.join(',') : item.lossType
} }
...@@ -750,7 +777,7 @@ export default { ...@@ -750,7 +777,7 @@ export default {
reimbursementProvinceCode: this.repotData.reimbursementProvinceCode, reimbursementProvinceCode: this.repotData.reimbursementProvinceCode,
reimbursementAddr: this.repotData.reimbursementAddr, reimbursementAddr: this.repotData.reimbursementAddr,
reimbursementProcess: this.repotData.reimbursementProcess, reimbursementProcess: this.repotData.reimbursementProcess,
applyAmount: this.repotData.applyAmount ? ((Number(this.repotData.applyAmount) * 10) *10).toFixed(0) : 0 applyAmount: this.repotData.applyAmount ? (Number(this.repotData.applyAmount) * 10 * 10).toFixed(0) : 0
} }
let claims = { let claims = {
operation, operation,
...@@ -767,7 +794,7 @@ export default { ...@@ -767,7 +794,7 @@ export default {
}, },
// 保存订单 // 保存订单
toSaveOrder() { toSaveOrder() {
this.isSave =true this.isSave = true
let para = this.savePara() let para = this.savePara()
const name = this.orderMsg.status == 12 || this.orderMsg.status == 2 ? 'saveClaimsCG' : 'saveCG' const name = this.orderMsg.status == 12 || this.orderMsg.status == 2 ? 'saveClaimsCG' : 'saveCG'
let loading = this.createLoading() let loading = this.createLoading()
...@@ -826,6 +853,13 @@ export default { ...@@ -826,6 +853,13 @@ export default {
customClass: 'loadingClass' customClass: 'loadingClass'
}) })
return loading return loading
},
// 预警信息版本
getWarningInfo(e) {
this.queryList = e
},
toPassOrderAddWarning() {
this.hepeiPass()
} }
} }
} }
......
...@@ -26,8 +26,8 @@ ...@@ -26,8 +26,8 @@
<GLTable ref="equityRef" :pageSizes="sizeList" :getListApi="getListApi" :searchForm="searchParams" :tableParams="tableParams" :beforeSearchFn="beforeSearchFn" :pageConf="batchPageConf"> <GLTable ref="equityRef" :pageSizes="sizeList" :getListApi="getListApi" :searchForm="searchParams" :tableParams="tableParams" :beforeSearchFn="beforeSearchFn" :pageConf="batchPageConf">
<div class="flex_sc" slot="colorStatus" slot-scope="scope"> <div class="flex_sc" slot="colorStatus" slot-scope="scope">
<div class="table_point" :style="{ background: statusMap[scope.scope.status || 0].color }"></div> <div v-if="statusMap[scope.scope.status || 0]" class="table_point" :style="{ background: statusMap[scope.scope.status || 0].color }"></div>
<span>{{ statusMap[scope.scope.status || 0].name }}</span> <span v-if="statusMap[scope.scope.status || 0]">{{ statusMap[scope.scope.status || 0].name }}</span>
</div> </div>
<div class="table-btns" slot="table-btns" slot-scope="scope"> <div class="table-btns" slot="table-btns" slot-scope="scope">
<!-- <GLButton v-if="[0].includes(scope.scope.status)" fn="去处理" type="text" @click="handleEdit(4, scope.scope)">去处理</GLButton> <!-- <GLButton v-if="[0].includes(scope.scope.status)" fn="去处理" type="text" @click="handleEdit(4, scope.scope)">去处理</GLButton>
...@@ -373,6 +373,31 @@ export default { ...@@ -373,6 +373,31 @@ export default {
25: { 25: {
name: '核赔不通过', name: '核赔不通过',
color: '#EB4E4E' color: '#EB4E4E'
},
// 广汇的状态
6: {
name: '待定损',
color: '#5850FF'
},
7: {
name: '定损不通过',
color: '#EB4E4E'
},
8: {
name: '定损通过',
color: '#2CCA74'
},
12: {
name: '待核赔',
color: '#5850FF'
},
13: {
name: '核赔不通过',
color: '#EB4E4E'
},
14: {
name: '核赔通过',
color: '#2CCA74'
} }
} }
} }
......
...@@ -556,7 +556,9 @@ export default { ...@@ -556,7 +556,9 @@ export default {
spinner: 'el-icon-loading', spinner: 'el-icon-loading',
background: 'rgba(0, 0, 0, 0.3)' background: 'rgba(0, 0, 0, 0.3)'
}) })
params.equitySource = 2 if(!this.routeInfo.isGH){
params.equitySource = 2
}
this.$apis.claims.commitClaimsOrder(params).then(res => { this.$apis.claims.commitClaimsOrder(params).then(res => {
loading.close() loading.close()
if (res) { if (res) {
...@@ -572,7 +574,7 @@ export default { ...@@ -572,7 +574,7 @@ export default {
message: type == 1 ? '提交成功' : '保存草稿成功', message: type == 1 ? '提交成功' : '保存草稿成功',
type: 'success' type: 'success'
}) })
if (type != 1) { if (type != 1 || !res.accountMatchResultList || !res.accountMatchResultList.length) {
this.handleCancel() this.handleCancel()
} }
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!