From ac699b6b6778b817707b4c1d8bc448193c234022 Mon Sep 17 00:00:00 2001 From: wangmingzhe Date: Mon, 9 Dec 2019 14:46:50 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=94=B9=E8=8E=B7=E5=8F=96=E9=93=B6?= =?UTF-8?q?=E8=A1=8C=E5=8D=A1=E5=88=97=E8=A1=A8=E6=8E=A5=E5=8F=A3=EF=BC=8C?= =?UTF-8?q?=E5=BD=B1=E5=83=8F=E4=B8=8A=E4=BC=A0=E9=A1=B5=E6=B7=BB=E5=8A=A0?= =?UTF-8?q?=E6=A0=A1=E9=AA=8C=E8=A2=AB=E4=BF=9D=E4=BA=BA=E5=B9=B4=E9=BE=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/ebiz/claims/ApplyInfo.vue | 2 +- src/views/ebiz/claims/ImageData.vue | 10 +++++++--- src/views/ebiz/claims/InsuredInfo.vue | 1 + 3 files changed, 9 insertions(+), 4 deletions(-) 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, // 禁用背景点击