Commit 725cddf8 by 杨北旺

提交理赔代码

1 parent b1763f9b
......@@ -25,8 +25,8 @@ export async function bootstrap({ history, common, messenger, globalState, route
Vue.prototype.$defaultStartDate = '2021-07-01'
Vue.prototype.$http = new common.Http({ response, request, sign, secret, alert: message.error, headers: { token: globalState.session.token } })
Vue.prototype.$http_brand = new common.Http({ response, request: request_brand, sign, secret, alert: message.error, headers: { token: globalState.session.token } })
// Vue.prototype.$http = new common.Http({ response, request, sign, secret, alert: message.error, headers: { token: 'scrm-base-ed690cff-685f-43db-9670-912cac0af9a6-rop' } })
// Vue.prototype.$http_brand = new common.Http({ response, request: request_brand, sign, secret, alert: message.error, headers: { token: 'scrm-base-ed690cff-685f-43db-9670-912cac0af9a6-rop' } })
// Vue.prototype.$http = new common.Http({ response, request, sign, secret, alert: message.error, headers: { token: 'scrm-base-358c21aa-b86b-4ff1-8348-a81fb8cc8a44-rop' } })
// Vue.prototype.$http_brand = new common.Http({ response, request: request_brand, sign, secret, alert: message.error, headers: { token: 'scrm-base-358c21aa-b86b-4ff1-8348-a81fb8cc8a44-rop' } })
// Vue.prototype.$http = new common.Http({ response, request, sign, secret, alert: message.error, headers: { token: '781f08c5-c443-46fd-80e1-f98d94673a73' } })
// Vue.prototype.$setGlobalState = globalState.actions.setGlobalState
const routesData = common.utils.deepClone(globalState.routers)
......
......@@ -262,7 +262,7 @@ export default {
}
},
{
type: 'GLButton',
type: 'el-button',
name: row => {
return '查看'
},
......@@ -278,7 +278,7 @@ export default {
}
},
{
type: 'GLButton',
type: 'el-button',
name: row => {
return '重新提交'
},
......
......@@ -108,11 +108,22 @@ export default {
},
noPassForm: [
{
label: '原因:',
label: '原因',
name: 'reason',
type: 'input',
maxlength: 11,
isClear: true
type: 'select',
isClear: true,
optionList: [
{
confId: 1,
confName: '拒赔'
},
{
confId: 2,
confName: '资料不清晰'
}
],
optionId: 'confId',
optionLabel: 'confName'
},
{
label: '具体描述:',
......@@ -120,7 +131,8 @@ export default {
type: 'input',
inputType: 'textarea',
rows: 3,
isClear: true
isClear: true,
maxLenght: 50
}
],
testServiceList: [],
......@@ -379,7 +391,7 @@ export default {
return target
}
},
hepeiPass() {
hepeiPass(isNopass) {
let obj = this.handlerServices()
let exobj = this.handlerExplain()
let para = {
......@@ -393,11 +405,19 @@ export default {
reasonForFailure: '',
writeOffCode: this.repotData.writeOffCode
}
if (isNopass) {
para.auditStatus = 0
para.reasonForFailureCode = this.noPassObj.reason
para.reasonForFailure = this.noPassObj.desc
}
this.$apis.claims.checkClaimsOrderApi(para).then(res => {
this.$message({
message: '审核成功',
type: 'success'
})
if (res) {
this.$message({
message: '审核成功',
type: 'success'
})
this.$router.push({ path: '/claims/ghIndex' })
}
})
},
comfirmPass() {
......@@ -421,10 +441,14 @@ export default {
this.showNoPassDialog = true
},
comfirmNoPass() {
console.log(this.noPassObj)
if (this.orderMsg.status == 12) {
this.hepeiPass(true)
return
}
let para = this.handleParams()
para.auditStatus = 0
para.reasonForFailure = this.noPassObj.reason + this.noPassObj.desc
para.reasonForFailureCode = this.noPassObj.reason
para.reasonForFailure = this.noPassObj.desc
this.$apis.claims.checkOrderApi(para).then(res => {
if (res) {
this.$message({
......@@ -434,7 +458,6 @@ export default {
this.$router.push({ path: '/claims/ghIndex' })
}
})
// this.cancleNoPass()
},
cancleNoPass() {
this.showNoPassDialog = false
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!