Commit 897088a6 by zhangquan

接口联调

1 parent c5b4b748
......@@ -292,7 +292,6 @@ const batchPassApi = params => {
})
}
// 定损保存草稿
const saveCG = params => {
params.method = 'scrm.api.equity.service.claims.merchant.lossDeter.draft.or.commit'
......@@ -360,7 +359,7 @@ const getMerchantApi = params => {
}
// 获取默认商户的下级商户
const getMerchantSubList=params=>{
const getMerchantSubList = params => {
params.method = 'scrm.api.equity.common.default.merchant.subList'
return http({
url: 'rop-scrm-equity/router',
......@@ -410,4 +409,16 @@ const addFollowPerson = params => {
sign: true
})
}
export default { renewalAudit, getMerchantApi, getMidMerchantApi, getBigMerchantApi, saveSign, saveClaimsCG, saveCG, cancelClaims, batchPassApi, checkClaimsOrderApi, checkOrderApi, getOrderOherInfo, uploadImgApi, getGHCountApi, getGHPhoneImageApi, getGHattachmentApi, getGHClaimsDetailApi, getGHhistoryListApi, checkGHClaimsListApi, exportGHClaimsListApi, getGHClaimFollowsListApi, addGHClaimFollowsListApi, getGHClaimsListApi, getclaimsList, getclaimsCount, resubmitOrder, commitClaimsOrder, getClaimsDetail, exportClaimsData, checkContractNo, getDetailByWOCode, getBankList, getCityList, getAccountInfo ,getFollowPersonList,delFollowPerson,addFollowPerson,getMerchantSubList}
//删除案件
const delCaseApi = params => {
params.method = 'scrm.api.equity.service.claims.operate.delete'
return http({
url: 'rop-scrm-equity/router',
method: 'POST',
data: params,
sign: true
})
}
export default { renewalAudit, getMerchantApi, getMidMerchantApi, getBigMerchantApi, saveSign, saveClaimsCG, saveCG, cancelClaims, batchPassApi, checkClaimsOrderApi, checkOrderApi, getOrderOherInfo, uploadImgApi, getGHCountApi, getGHPhoneImageApi, getGHattachmentApi, getGHClaimsDetailApi, getGHhistoryListApi, checkGHClaimsListApi, exportGHClaimsListApi, getGHClaimFollowsListApi, addGHClaimFollowsListApi, getGHClaimsListApi, getclaimsList, getclaimsCount, resubmitOrder, commitClaimsOrder, getClaimsDetail, exportClaimsData, checkContractNo, getDetailByWOCode, getBankList, getCityList, getAccountInfo, getFollowPersonList, delFollowPerson, addFollowPerson, getMerchantSubList, delCaseApi }
......@@ -62,6 +62,14 @@
<explanation :isDisabled="isDisabled" :supplementList="repotData.supplementList1" :operatorName="repotData.updatedBy" :id="repotData.id"></explanation>
</div>
<!-- 待定损和待核赔的时候才显示案件通融说明 -->
<Card v-if="repotData.exceptionImgUrl && (repotData.status == 6 || repotData.status == 12)" title="案件通融说明">
<div class="tr-wrap">
<label class="label" for="">通融说明:</label>
<el-image class="img" :preview-src-list="[repotData.exceptionImgUrl]" :src="repotData.exceptionImgUrl"></el-image>
</div>
</Card>
<!-- 其他信息 -->
<div>
<other-info :otherInfoData="otherInfoData"></other-info>
......@@ -390,4 +398,21 @@ export default {
}
}
}
.tr-wrap {
.label {
width: 154px;
display: inline-block;
vertical-align: top;
text-align: right;
height: 20px;
font-size: 14px;
color: #333333;
line-height: 20px;
margin-top: 6px;
}
.img {
width: 104px;
height: 104px;
}
}
</style>
......@@ -194,7 +194,15 @@ const statusList = [
},
{
confId: 29,
confName: '已失效'
},
{
confId: 30,
confName: '已删除'
},
{
confId: 31,
confName: '已结束案件'
}
]
const describeList = [
......@@ -217,8 +225,9 @@ const followList = [
confName: '全部'
}
]
const tableStatus = ['待提交国任', '待支付', '校验不通过', '支付成功', '支付失败', '待受理', '待定损', '定损不通过', '定损通过', '待主管审核', '主管审核不通过', '待客户签字授权', '待核赔', '核赔不通过', '核赔通过', '', '', '', '', '', '', '', '', '', '', '', '待运营经理审核', '运营经理审核通过', '运营经理审核不通过']
const colors = ['#FDB757', '#FDB757', '#EB4E4E', ' #2CCA74', '#EB4E4E', '#FDB757', '#FDB757', '#EB4E4E', ' #2CCA74', '#FDB757', '#EB4E4E', '#FDB757', '#FDB757', '#EB4E4E', '#2CCA74', '', '', '', '', '', '', '', '', '', '', '', '#FDB757', '#2CCA74', '#EB4E4E']
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 FOLLOW_HISTORY = [5, 6, 12, 7, 13, 8, 9, 10, 11, 2, 1, 3] //跟进记录和历史赔付
......@@ -239,7 +248,8 @@ export default {
showUpload: false,
delReasonObj: {
showDelVisible: false,
delReason: ''
delReason: '案件重复',
id: ''
},
tableStatus,
orderCount: {},
......@@ -899,14 +909,23 @@ export default {
},
handleDel(row) {
this.delReasonObj.showDelVisible = true
this.delReasonObj.id = row.id
},
confirmDel() {
console.log(this.delReasonObj)
if (!this.delReasonObj.delReason) return this.$message.error('请输入删除原因')
const { delReason: statusDesc, id } = this.delReasonObj
this.$apis.claims.delCaseApi({ statusDesc, id }).then(res => {
if (res) {
this.closeDelDialog()
this.$message.success('删除成功')
this.getTableData()
}
})
},
closeDelDialog() {
this.delReasonObj = {
showDelVisible: false,
delReason: '',
delReason: '案件重复',
id: ''
}
},
......
......@@ -19,9 +19,11 @@
</div>
</template>
<!-- 底部按钮 -->
<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 plain @click="toNoPassOrder">不通过</el-button>
<el-button type="primary" @click="toPassOrder">通过</el-button>
</div>
......@@ -213,7 +215,8 @@ export default {
claimsAttachmentConfigs2: res.claimsAttachmentConfigs2,
updatedBy: res.updatedBy,
expressName:res.expressName,
expressNo:res.expressNo
expressNo:res.expressNo,
exceptionImgUrl: res.exceptionImgUrl
}
// 图片list
......@@ -520,9 +523,9 @@ export default {
}
})
},
comfirmPass() {
comfirmPass(isEndCase) {
let para = this.handleParams()
para.auditStatus = 1
para.auditStatus = isEndCase ? 2 : 1 // 2结束案件,1 通过
let loading = this.createLoading()
this.$apis.claims.checkOrderApi(para).then(res => {
loading.close()
......@@ -917,4 +920,20 @@ export default {
align-items: center;
margin: 16px 0 20px 0;
}
.danger-btn {
border-color: #f56c6c;
color: #f56c6c;
}
.danger-btn:hover {
background: #f56c6c;
border-color: #f56c6c;
color: #fff;
}
.danger-btn:focus {
background: #dd6161;
border-color: #dd6161;
color: #fff;
outline: 0;
}
</style>
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!