diff --git a/src/views/ebiz/claims/ApplyInfo.vue b/src/views/ebiz/claims/ApplyInfo.vue index 683a4c2ef..a37e905d7 100644 --- a/src/views/ebiz/claims/ApplyInfo.vue +++ b/src/views/ebiz/claims/ApplyInfo.vue @@ -927,7 +927,7 @@ export default { // 获取银行卡列表 getBankList() { let data = { - operateType: 'bank_type' + operateType: 'claim_bank_type' } getBankList(data).then(res => { if (res.result == '0') { diff --git a/src/views/ebiz/claims/ImageData.vue b/src/views/ebiz/claims/ImageData.vue index 15a4ee9e9..79f5a0d5e 100644 --- a/src/views/ebiz/claims/ImageData.vue +++ b/src/views/ebiz/claims/ImageData.vue @@ -218,6 +218,7 @@ import { Cell, CellGroup, Field, Uploader, RadioGroup, Radio, Dialog, Picker, Po import { uploadImg } from '@/api/ebiz/sale/sale' import RsTop from '@/components/ebiz/agentEenter/RsTop' import config from '@/config' +import utils from '@/assets/js/business-common' import { progressDetail, apply } from '@/api/ebiz/claims/claims' export default { data() { @@ -258,6 +259,8 @@ export default { applyType: '', //申请类型 list: [], //给后台传的list imageType: '', + age: '',//被保人的年龄 + applyerBirthday:'',//申请人的出生日期 a: [] } @@ -270,7 +273,8 @@ export default { this.accidentCause = localStorage.accidentCause //出险原因 this.applyType = localStorage.applyType //申请类型 } - console.log(this.applyType.indexOf('04')) + let insuredBirthday = localStorage.getItem('insuredBirthday') + this.age = utils.jsGetAge(insuredBirthday) }, beforeRouteLeave(to, from, next) { document.body.style.backgroundColor = '' @@ -424,7 +428,6 @@ export default { }, // 下一步 nextStep() { - console.log(this.list) this.$toast.loading({ duration: 0, // 持续展示 toast forbidClick: true, // 禁用背景点击 @@ -439,10 +442,11 @@ export default { // }, claimImageReqDTO: { businessNo: localStorage.businessNo, //业务号 - claimImageInfoDTOS: this.list + claimImageInfoDTOS: this.list, }, slaveStatus: 'claimApplyImage' } + console.log(data) apply(data).then(res => { if (res.result == '0') { this.$toast.clear() diff --git a/src/views/ebiz/claims/InsuredInfo.vue b/src/views/ebiz/claims/InsuredInfo.vue index f91dbe67c..6a0592371 100644 --- a/src/views/ebiz/claims/InsuredInfo.vue +++ b/src/views/ebiz/claims/InsuredInfo.vue @@ -492,6 +492,7 @@ export default { save() { console.log(this.userInfo) + localStorage.setItem('insuredBirthday',this.userInfo.insuredBirthday) this.$toast.loading({ duration: 0, // 持续展示 toast forbidClick: true, // 禁用背景点击