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] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E6=80=A7=E5=88=AB=E5=88=A4?= =?UTF-8?q?=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 + // } + // } }