去除usermodel测试

This commit is contained in:
wangmingzhe
2019-12-06 18:25:37 +08:00
parent 8680e43c12
commit b913a956e8
10 changed files with 61 additions and 58 deletions

View File

@@ -245,11 +245,11 @@ export default {
otherCompany: '', //新增其他公司保险名称(非必填) otherCompany: '', //新增其他公司保险名称(非必填)
accidentAddress: '', //出险地点 accidentAddress: '', //出险地点
caseDesc: '', //事故经过 caseDesc: '', //事故经过
mandatorName: '王某', //受托人姓名 mandatorName: '', //受托人姓名
mandatorCertiType: '0', //证件类型 mandatorCertiType: '', //证件类型
mandatorCertiCode: '410305199508111533', //证件号码 mandatorCertiCode: '', //证件号码
agentItem: '01', //代办事项 agentItem: '', //代办事项
days:'23',//新增委托天数 days:'',//新增委托天数
businessNo: '', //业务号码 businessNo: '', //业务号码
id: localStorage.insuranceId || '' //用于区分新增还是二次提交 id: localStorage.insuranceId || '' //用于区分新增还是二次提交
} }
@@ -385,11 +385,11 @@ export default {
message: '加载中……' message: '加载中……'
}) })
let data = { let data = {
userModel: { // userModel: {
id: '123456', // id: '123456',
name: '王某', // name: '王某',
mobile: '13592585978' // mobile: '13592585978'
}, // },
slaveStatus: this.slaveStatus, slaveStatus: this.slaveStatus,
claimApplyRiskReqDTO: this.userInfo claimApplyRiskReqDTO: this.userInfo
} }

View File

@@ -534,8 +534,8 @@ export default {
applyerNationatlity: 'CHN', // 国家/地区 applyerNationatlity: 'CHN', // 国家/地区
applyerAddr: '', //联系地址 applyerAddr: '', //联系地址
applyerBankAccountName: '', // 账户户名 applyerBankAccountName: '', // 账户户名
applyerBankName: '工商银行', // 开户银行 applyerBankName: '', // 开户银行
applyerBankCode: '102', //银行编码 applyerBankCode: '', //银行编码
applyerBankAccountNo: '', // 银行卡号 applyerBankAccountNo: '', // 银行卡号
isPettyCase: '0' //小额案件 isPettyCase: '0' //小额案件
// hospital: '', // 治疗医院 // hospital: '', // 治疗医院
@@ -1014,11 +1014,11 @@ export default {
message: '加载中……' message: '加载中……'
}) })
let data = { let data = {
userModel: { // userModel: {
id: '123456', // id: '123456',
name: '王某', // name: '王某',
mobile: '13592585978' // mobile: '13592585978'
}, // },
slaveStatus: this.slaveStatus, slaveStatus: this.slaveStatus,
claimApplyInfoReqDTO: this.userInfo claimApplyInfoReqDTO: this.userInfo
} }

View File

@@ -24,7 +24,7 @@
<van-step>审核中</van-step> <van-step>审核中</van-step>
<van-step>已结案</van-step> <van-step>已结案</van-step>
</van-steps> </van-steps>
<van-steps v-if="list.caseStatus == '53'" :active="actives[index]" active-color="#e9332e"> <van-steps v-if="list.caseStatus == '53'" :active="refuse[index]" active-color="#e9332e">
<van-step>待索赔</van-step> <van-step>待索赔</van-step>
<van-step>已拒绝</van-step> <van-step>已拒绝</van-step>
</van-steps> </van-steps>
@@ -51,7 +51,8 @@ export default {
return { return {
srcImg: '', // 银行logo srcImg: '', // 银行logo
list: {}, //详情数据 list: {}, //详情数据
actives: [0, 1], //进度数组 actives: [0, 1, 2], //进度数组
refuse: [0,3], //拒绝数组
index: '' index: ''
} }
}, },
@@ -83,11 +84,11 @@ export default {
getClaimsetail() { getClaimsetail() {
let that = this let that = this
let data = { let data = {
userModel: { // userModel: {
id: '123456', // id: '123456',
name: '王某', // name: '王某',
mobile: '13592585978' // mobile: '13592585978'
}, // },
businessNo: '', //赔案号 businessNo: '', //赔案号
caseStatus: 'claimProgress', //状态 caseStatus: 'claimProgress', //状态
claimNo: localStorage.getItem('claimNo') //赔案号 claimNo: localStorage.getItem('claimNo') //赔案号
@@ -102,6 +103,8 @@ export default {
this.index = 1 this.index = 1
} else if (that.list.caseStatus == '60') { } else if (that.list.caseStatus == '60') {
this.index = 2 this.index = 2
} else if (that.list.caseStatus == '53') {
this.index = 3
} }
that.srcImg = that.$assetsUrl + `images/bank/bank_${that.list.applyerBankCode}.png` that.srcImg = that.$assetsUrl + `images/bank/bank_${that.list.applyerBankCode}.png`

View File

@@ -172,11 +172,11 @@ export default {
//初始化列表 //初始化列表
getOrderList() { getOrderList() {
let data = { let data = {
userModel: { // userModel: {
id: '123456', // id: '123456',
name: '王某', // name: '王某',
mobile: '13592585978' // mobile: '13592585978'
}, // },
progressStatus: this.active, progressStatus: this.active,
caseStatus: this.caseStatus caseStatus: this.caseStatus
} }

View File

@@ -190,11 +190,11 @@ export default {
message: '加载中……' message: '加载中……'
}) })
let data = { let data = {
userModel: { // userModel: {
id: '123456', // id: '123456',
name: '王某', // name: '王某',
mobile: '13592585978' // mobile: '13592585978'
}, // },
claimImageInfoDTOS: this.list, claimImageInfoDTOS: this.list,
claimNo: this.imgClaimNo claimNo: this.imgClaimNo
} }

View File

@@ -432,11 +432,11 @@ export default {
message: '加载中……' message: '加载中……'
}) })
let data = { let data = {
userModel: { // userModel: {
id: '123456', // id: '123456',
name: '王某', // name: '王某',
mobile: '13592585978' // mobile: '13592585978'
}, // },
claimImageReqDTO: { claimImageReqDTO: {
businessNo: localStorage.businessNo, //业务号 businessNo: localStorage.businessNo, //业务号
claimImageInfoDTOS: this.list claimImageInfoDTOS: this.list

View File

@@ -499,11 +499,11 @@ export default {
message: '加载中……' message: '加载中……'
}) })
let data = { let data = {
userModel: { // userModel: {
id: '123456', // id: '123456',
name: '王某', // name: '王某',
mobile: '13592585978' // mobile: '13592585978'
}, // },
slaveStatus: this.slaveStatus, slaveStatus: this.slaveStatus,
claimApplyInsuredReqDTO: this.userInfo claimApplyInsuredReqDTO: this.userInfo
} }

View File

@@ -101,11 +101,11 @@ export default {
message: '加载中……' message: '加载中……'
}) })
let data = { let data = {
userModel: { // userModel: {
id: '11101000000053', // id: '11101000000053',
name: '王某', // name: '王某',
mobile: '13592585978' // mobile: '13592585978'
}, // },
agentCode: '' //代理人编号 agentCode: '' //代理人编号
} }
issueList(data).then(res => { issueList(data).then(res => {

View File

@@ -536,10 +536,10 @@ export default {
message: '加载中……' message: '加载中……'
}) })
let data = { let data = {
userModel: { // userModel: {
id: '123456', // id: '123456',
name: '王某' // name: '王某'
}, // },
accAdress: this.accAdress, accAdress: this.accAdress,
accCity: this.accCity, accCity: this.accCity,
accCounty: this.accCounty, accCounty: this.accCounty,

View File

@@ -121,11 +121,11 @@ export default {
}) })
this.insuredNo = window.localStorage.getItem('customerNo') this.insuredNo = window.localStorage.getItem('customerNo')
let data = { let data = {
userModel: { // userModel: {
id: '123456', // id: '123456',
name: '王某', // name: '王某',
mobile: '13592585978' // mobile: '13592585978'
}, // },
insuredNo: this.insuredNo insuredNo: this.insuredNo
} }
history(data).then(res => { history(data).then(res => {