Commit 6b2e26ed by zhangquan

bug修复

1 parent 414754ee
......@@ -3,7 +3,7 @@
<template>
<div class="tab_wrap">
<el-tabs v-model="activeNameTabs">
<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">
<el-tab-pane v-if="[1, 12, 13, 14, 2, 3, 4, 0, 10, 11, 8, 9, 7, 26, 27, 28].includes(repotData.status) || (repotData.status == 31 && repotData.preStatus != 6)" class="bg" label="核赔信息" name="second">
<div class="widget">
<div class="title">维修信息</div>
<div class="content pad20">
......
......@@ -229,7 +229,7 @@ const followList = [
const tableStatus = ['待提交国任', '待支付', '校验不通过', '支付成功', '支付失败', '待受理', '待定损', '定损不通过', '定损通过', '待主管审核', '主管审核不通过', '待客户签字授权', '待核赔', '核赔不通过', '核赔通过', '', '', '', '', '', '', '', '', '', '', '', '待运营经理审核', '运营经理审核通过', '运营经理审核不通过', '已失效', '已删除', '已结束案件']
const colors = ['#FDB757', '#FDB757', '#EB4E4E', ' #2CCA74', '#EB4E4E', '#FDB757', '#FDB757', '#EB4E4E', ' #2CCA74', '#FDB757', '#EB4E4E', '#FDB757', '#FDB757', '#EB4E4E', '#2CCA74', '', '', '', '', '', '', '', '', '', '', '', '#FDB757', '#2CCA74', '#EB4E4E', '#999', '#999', '#999']
// 操作对应状态
const WATCH = [5, 7, 13, 8, 9, 10, 11, 1, 3, 4, 26, 27, 28] // 查看
const WATCH = [5, 7, 13, 8, 9, 10, 11, 1, 3, 4, 26, 27, 28, 29, 30, 31] // 查看
const FOLLOW_HISTORY = [5, 6, 12, 7, 13, 8, 9, 10, 11, 2, 1, 3] //跟进记录和历史赔付
const CHECK = [6] // 定损审核
const CHECK_HP = [12] // 核赔审核
......
......@@ -23,7 +23,7 @@
<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="toSaveOrder">保存</el-button>
<el-button type="danger" class="danger-btn" plain @click="comfirmPass(1)">结束案件</el-button>
<el-button type="danger" class="danger-btn" plain @click="endCaseFn()">结束案件</el-button>
<el-button plain @click="toNoPassOrder">不通过</el-button>
<el-button type="primary" @click="toPassOrder">通过</el-button>
</div>
......@@ -216,7 +216,8 @@ export default {
updatedBy: res.updatedBy,
expressName:res.expressName,
expressNo:res.expressNo,
exceptionImgUrl: res.exceptionImgUrl
exceptionImgUrl: res.exceptionImgUrl,
preStatus: res.preStatus
}
// 图片list
......@@ -523,6 +524,18 @@ export default {
}
})
},
endCaseFn(){
this.$confirm('确定结束此案件吗', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning',
callback: action => {
if (action == 'confirm') {
this.comfirmPass(1)
}
}
})
},
comfirmPass(isEndCase) {
let para = this.handleParams()
para.auditStatus = isEndCase ? 2 : 1 // 2结束案件,1 通过
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!