From 14eda3fd10d90d1ad46c1558f4687522da821200 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=9A=AE=E4=BC=9F?= Date: Sat, 9 Nov 2019 13:54:40 +0800 Subject: [PATCH 01/39] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E6=9B=B4=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/ebiz/sale/InsuredPerson.vue | 1 + src/views/ebiz/sale/SignatureConfirmation.vue | 8 ++++---- src/views/ebiz/sale/SignatureOfElectronic.vue | 8 ++++---- 3 files changed, 9 insertions(+), 8 deletions(-) diff --git a/src/views/ebiz/sale/InsuredPerson.vue b/src/views/ebiz/sale/InsuredPerson.vue index d4d59c0c2..3a4c3a5f7 100644 --- a/src/views/ebiz/sale/InsuredPerson.vue +++ b/src/views/ebiz/sale/InsuredPerson.vue @@ -1396,6 +1396,7 @@ export default { } }, getRelatedData(val) { + // debugger if (this.userInfo.idType != '1') { return } diff --git a/src/views/ebiz/sale/SignatureConfirmation.vue b/src/views/ebiz/sale/SignatureConfirmation.vue index 375db94b5..50059c8d1 100644 --- a/src/views/ebiz/sale/SignatureConfirmation.vue +++ b/src/views/ebiz/sale/SignatureConfirmation.vue @@ -344,8 +344,8 @@ export default { that.insuredUrl() } else { this.idcardData.typeface = !this.idcardData.typeface - this.idcardData.idcardName = JSON.parse(this.$route.query.saleInsuredInfo).name - this.idcardData.idcardNumber = JSON.parse(this.$route.query.saleInsuredInfo).idNo + this.idcardData.idcardName = JSON.parse(this.$route.query.saleInsuredPersonInfo).name + this.idcardData.idcardNumber = JSON.parse(this.$route.query.saleInsuredPersonInfo).idNo } } } else { @@ -375,8 +375,8 @@ export default { } else { // 调原生人脸识别 EWebBridge.webCallAppInJs('face_auth', { - number: that.saleInsuredInfo.idNo, //身份证号码 - name: that.saleInsuredInfo.name //姓名 + number: that.saleInsuredPersonInfo.idNo, //身份证号码 + name: that.saleInsuredPersonInfo.name //姓名 }).then(data => { if (JSON.parse(data).state == '1') { that.insuredUrl() diff --git a/src/views/ebiz/sale/SignatureOfElectronic.vue b/src/views/ebiz/sale/SignatureOfElectronic.vue index 4427a86a7..475a6e524 100644 --- a/src/views/ebiz/sale/SignatureOfElectronic.vue +++ b/src/views/ebiz/sale/SignatureOfElectronic.vue @@ -421,7 +421,7 @@ export default { if (this.detailJump != '1') { if (this.relationToAppnt == '1') { if (this.isWeixin) { - this.toAirSign('1', '申请日期', this.caOffset, '2') + this.toAirSign('1', '申请日期', this.caOffset, '4') } else { EWebBridge.webCallAppInJs('ca_sign', { //身份证号码 @@ -448,7 +448,7 @@ export default { } } else { if (this.isWeixin) { - this.toAirSign('1', '法定监护人', this.caOffset, '2') + this.toAirSign('1', '法定监护人', this.caOffset, '4') } else { console.log('投保人签名') EWebBridge.webCallAppInJs('ca_sign', { @@ -506,7 +506,7 @@ export default { break } if (this.isWeixin) { - this.toAirSign('1', '投保人签字', '-150', '2') + this.toAirSign('1', '投保人签字', '-150', '4') } else { EWebBridge.webCallAppInJs('ca_sign', { //身份证号码 @@ -534,7 +534,7 @@ export default { } } else { if (this.isWeixin) { - this.toAirSign('2', '法定监护人', '0', '2') + this.toAirSign('2', '法定监护人', '0', '4') } else { console.log('被保人签名') EWebBridge.webCallAppInJs('ca_sign', { From 2eae98e9d954b67ebd271ffbf8cdb86d428fd29a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=9A=AE=E4=BC=9F?= Date: Sat, 9 Nov 2019 15:12:53 +0800 Subject: [PATCH 02/39] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E6=80=A7=E5=88=AB?= =?UTF-8?q?=E5=88=A4=E6=96=AD=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/ebiz/sale/AddBeneficiaryInfo.vue | 2 ++ src/views/ebiz/sale/InsuredInfo.vue | 14 ++++++++++++++ src/views/ebiz/sale/InsuredPerson.vue | 16 ++++++++++------ 3 files changed, 26 insertions(+), 6 deletions(-) diff --git a/src/views/ebiz/sale/AddBeneficiaryInfo.vue b/src/views/ebiz/sale/AddBeneficiaryInfo.vue index f455c9764..00c94570a 100644 --- a/src/views/ebiz/sale/AddBeneficiaryInfo.vue +++ b/src/views/ebiz/sale/AddBeneficiaryInfo.vue @@ -586,6 +586,8 @@ export default { this.effectiveDateTypeAble = age <= 45 //数据是否从客户列表拉取 this.fromCustomer = true + + this.getRelatedData(this.userInfo.idNo) }, nextStep() { // 计算年龄 diff --git a/src/views/ebiz/sale/InsuredInfo.vue b/src/views/ebiz/sale/InsuredInfo.vue index 4022cef48..3ab5c75d4 100644 --- a/src/views/ebiz/sale/InsuredInfo.vue +++ b/src/views/ebiz/sale/InsuredInfo.vue @@ -699,6 +699,8 @@ export default { let age = utilsAge.getAge(this.userInfo.birthday, new Date()) // 长期按钮是否禁用 this.effectiveDateTypeAble = age <= 45 + + this.getRelatedData(this.userInfo.idNo) }, nextStep() { @@ -1097,6 +1099,18 @@ export default { this.countDown = 60 this.codeDisabled = false } + // watch: { + // 'userInfo.idNo': { + // handler(newName, oldName) { + // // console.log('obj.a changed'); + // if(newName != oldName) { + // this.getRelatedData(this.userInfo.idNo) + // } + // }, + // immediate: true, + // deep: true + // } + // } }