From c787da55bd67e7ad9bc2b5601a1ac0f8b457fe11 Mon Sep 17 00:00:00 2001 From: wangmingzhe Date: Thu, 12 Dec 2019 14:09:33 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90IMP=E3=80=91=20=E4=BF=AE=E6=94=B9?= =?UTF-8?q?=E5=87=BA=E9=99=A9=E4=BF=A1=E6=81=AF=E9=A1=B5=E7=94=B3=E8=AF=B7?= =?UTF-8?q?=E7=B1=BB=E5=9E=8B=E6=A0=B7=E5=BC=8F=EF=BC=8C=E8=A2=AB=E4=BF=9D?= =?UTF-8?q?=E4=BA=BA=E4=BF=A1=E6=81=AF=E9=A1=B5=E5=A7=93=E5=90=8D=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0=E5=AE=A2=E6=88=B7=E6=90=9C=E7=B4=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/assets/js/utils/jump.js | 2 +- src/views/ebiz/claims/Accident.vue | 18 ++++-- src/views/ebiz/claims/InsuredInfo.vue | 63 ++++++++++++++++--- src/views/ebiz/claims/ReportApply.vue | 32 +++++++++- .../ebiz/claims/SignatureConfirmation.vue | 4 +- 5 files changed, 100 insertions(+), 19 deletions(-) diff --git a/src/assets/js/utils/jump.js b/src/assets/js/utils/jump.js index da684c08a..fc818fc31 100644 --- a/src/assets/js/utils/jump.js +++ b/src/assets/js/utils/jump.js @@ -2,7 +2,7 @@ export default function jump(options) { // eslint-disable if (window.WebViewJavascriptBridge && options.flag) { - if (options.flag == 'h5') { + if (options.flag == 'h5' || options.flag == 'service') { EWebBridge.webCallAppInJs('bridge', { flag: options.flag, extra: options.extra diff --git a/src/views/ebiz/claims/Accident.vue b/src/views/ebiz/claims/Accident.vue index 3d635f767..f52ee54ee 100644 --- a/src/views/ebiz/claims/Accident.vue +++ b/src/views/ebiz/claims/Accident.vue @@ -14,20 +14,20 @@ > * - 申请类型 - + 申请类型 + {{ item.label }} @@ -459,4 +459,12 @@ export default { .ml { margin-left: 9px; } +.wh { + min-width: 28vw; +} +.flex { + margin-left: 5.2vw; + display: flex; + justify-content: center; +} diff --git a/src/views/ebiz/claims/InsuredInfo.vue b/src/views/ebiz/claims/InsuredInfo.vue index 58e87f8c7..7f728d182 100644 --- a/src/views/ebiz/claims/InsuredInfo.vue +++ b/src/views/ebiz/claims/InsuredInfo.vue @@ -6,15 +6,17 @@

基本信息

- + required + @on-click="selectClick('1')" + > { + console.log(res) + if (res.result == 0) { + let CustomerDetails = res.content + //let Customerdetail = this.CustomerDetails[this.DataIndex] + this.userInfo.insuredName = CustomerDetails.customerName + this.userInfo.insuredSex = CustomerDetails.customerSex + this.userInfo.certiType = CustomerDetails.idType + this.userInfo.certiCode = CustomerDetails.idNo + this.userInfo.insuredBirthday = CustomerDetails.customerBirthday + this.userInfo.insuredNo = CustomerDetails.insuredNo //保存客户编号(被保人编号) + this.userInfo.insuredNationatlity = CustomerDetails.nationality + this.userInfo.insuredMobile = CustomerDetails.customermobile + this.userInfo.insuredAddr = CustomerDetails.address + } else { + this.$toast(res.resultMessage) + } + }) + }, ChooseOccupation() { // chooseOccupation(this, '2') this.occupationShowPicker = false @@ -428,7 +469,9 @@ export default { hiddenRight: '1' } }) - if (this.currentPopupIndex == 2) { + if (this.currentPopupIndex == 1) { + this.customerShowPicker = false + }else if (this.currentPopupIndex == 2) { this.occupationShowPicker = false } else if (this.currentPopupIndex == 3) { this.isScan = false diff --git a/src/views/ebiz/claims/ReportApply.vue b/src/views/ebiz/claims/ReportApply.vue index a36228d01..eb0dba07b 100644 --- a/src/views/ebiz/claims/ReportApply.vue +++ b/src/views/ebiz/claims/ReportApply.vue @@ -117,7 +117,7 @@ required :value.sync="accidentCause" > - + + + * + 申请类型 + + + {{ item.label }} + + diff --git a/src/views/ebiz/claims/SignatureConfirmation.vue b/src/views/ebiz/claims/SignatureConfirmation.vue index 0c48d9e30..6cff107a8 100644 --- a/src/views/ebiz/claims/SignatureConfirmation.vue +++ b/src/views/ebiz/claims/SignatureConfirmation.vue @@ -122,7 +122,8 @@ export default { [CellGroup.name]: CellGroup, [Collapse.name]: Collapse, [CollapseItem.name]: CollapseItem, - [Dialog.name]: Dialog + [Dialog.name]: Dialog, + UploadImageFile: UploadImageFile, }, created() { this.init() @@ -255,7 +256,6 @@ export default { }) } else { this.idcardData.typeface = !this.idcardData.typeface - console.log("触发" + this.typeface) this.idcardData.idcardName = this.list.applyerName this.idcardData.idcardNumber = this.list.applyerCertiCode }