From aa13d3c8e7ea24b7ffb2b2667c4776d61175390c Mon Sep 17 00:00:00 2001 From: liuhuiying <18810831805@163.com> Date: Sat, 6 Sep 2025 16:13:08 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=B5=8B=E8=AF=95=E9=97=AE=E9=A2=98?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/ebiz/common/SelectedProduct.vue | 20 ++++++- src/views/ebiz/sale/AddBeneficiaryInfo.vue | 13 ++++- src/views/ebiz/sale/InsuredInfo.vue | 65 +++++++++++++++++----- src/views/ebiz/sale/InsuredPerson.vue | 14 ++++- src/views/ebiz/sale/List.vue | 34 +++++++++-- 5 files changed, 121 insertions(+), 25 deletions(-) diff --git a/src/views/ebiz/common/SelectedProduct.vue b/src/views/ebiz/common/SelectedProduct.vue index 7792ce013..7106bd9e8 100644 --- a/src/views/ebiz/common/SelectedProduct.vue +++ b/src/views/ebiz/common/SelectedProduct.vue @@ -29,7 +29,7 @@
- +
-
根据监管要求,本单需要您配合对销售过程进行录音录像!
+
一年期以上保险产品需按监管要求双录,请及时双录。
+
根据监管要求,本单需要您配合对销售过程进行录音录像!
确定 @@ -178,6 +179,8 @@ manageComCode:'',//代理人管理机构 52贵州 45广西 isCrossChannel: 0, // 是否选择交叉渠道列表 0-否 1-是 isElecCont: '', // 保单形式 + isElecContDisabled: false, // 保单形式是否禁用 + branchType:'' } }, components: { @@ -251,6 +254,12 @@ //如果是从导航栏点击进入 this.salePageFlag = localStorage.salePageFlag } + if(window.localStorage.getItem('branchType')) { + this.branchType = window.localStorage.getItem('branchType') + } else if(this.$route.query.branchType){ + window.localStorage.setItem('branchType', this.$route.query.branchType) + this.branchType = this.$route.query.branchType + } // localStorage.orderNo = '19090510425500178912' // localStorage.saleInsuredPersonInfo = JSON.stringify({ @@ -413,6 +422,11 @@ } } this.$toast.clear() + // 银保,保单形式,默认为电子+纸质,不可修改 + if (this.$CacheUtils.getLocItem('branchType') == '14' && this.chooseProducts[0].mainRiskCode != 'GFRS_M0076' && this.chooseProducts[0].mainRiskCode != 'GFRS_M0077') { + this.isElecCont = '2' + this.isElecContDisabled = true + } } else { this.$toast(resultData.resultMessage) } @@ -823,7 +837,7 @@ } if(this.manageComCode == '45') { console.log(this.chooseProducts) - if(this.appntDTO.age >= 60) { + if(this.appntDTO.age >= 60 || this.branchType == '14') { this.chooseProducts.map(item => { if (item.insuYearFlag == 'A' || (item.insuYearFlag == 'Y' && item.insuYear != '1')) { showFlag = true diff --git a/src/views/ebiz/sale/AddBeneficiaryInfo.vue b/src/views/ebiz/sale/AddBeneficiaryInfo.vue index dcaa65f4b..395c37596 100644 --- a/src/views/ebiz/sale/AddBeneficiaryInfo.vue +++ b/src/views/ebiz/sale/AddBeneficiaryInfo.vue @@ -356,7 +356,8 @@ export default { isInsured: false, //是投保人本人, Insured: false, //投保人本人按钮是否置灰 idLimit: false, //证件起止日期是否只读 - saleInsuredPersonInfo: JSON.parse(this.$CacheUtils.getLocItem('saleInsuredPersonInfo')) //被保人信息 + saleInsuredPersonInfo: JSON.parse(this.$CacheUtils.getLocItem('saleInsuredPersonInfo')), //被保人信息 + branchType:'' } }, mounted() { @@ -366,6 +367,9 @@ export default { } else { this.Insured = false } + if(window.localStorage.getItem('branchType') || this.$route.query.branchType) { + this.branchType = window.localStorage.getItem('branchType') + } }, methods: { setCustomerMarriage(marriageCode) { @@ -1319,6 +1323,13 @@ export default { this.userInfo.certiexpiredate = String(Number(this.userInfo.certificateValidate.slice(0, 4)) + 16) + this.userInfo.certificateValidate.slice(4, 11) } } + if (idToData(val).age < 18) { + this.userInfo.marriageStatus = this.branchType == '14' ? '未婚' : this.userInfo.marriageStatus + this.userInfo.marriage = this.branchType == '14' ? 2 : this.userInfo.marriage + }else{ + this.userInfo.marriageStatus = this.branchType == '14' ? '' : this.userInfo.marriageStatus + this.userInfo.marriage = this.branchType == '14' ? null : this.userInfo.marriage + } //受益人证件类型如果是户口本时,证件截止日期证件截止日期应为第16周岁的生日日期。 // if(this.userInfo.idType == '2' && idToData(this.userInfo.idNo).age <16){ diff --git a/src/views/ebiz/sale/InsuredInfo.vue b/src/views/ebiz/sale/InsuredInfo.vue index 9503e5306..ff3f8fe57 100644 --- a/src/views/ebiz/sale/InsuredInfo.vue +++ b/src/views/ebiz/sale/InsuredInfo.vue @@ -141,7 +141,8 @@ v-validate="'required|mobileLength11|mobileStartWith1|mobile'" maxlength="11" /> - + +
+ +

用于接收电子保单及相关服务通知

--> - +