diff --git a/src/views/ebiz/common/SelectedProduct.vue b/src/views/ebiz/common/SelectedProduct.vue index fa260eba4..1d409c880 100644 --- a/src/views/ebiz/common/SelectedProduct.vue +++ b/src/views/ebiz/common/SelectedProduct.vue @@ -148,6 +148,7 @@ export default { noCheckedUrl: require('@/assets/images/kmh/no_checked.png'), proposalOrderNo:'', renovate:'',//刷新子组件 + manageComCode:'',//代理人管理机构 52贵州 45广西 isCrossChannel: 0, // 是否选择交叉渠道列表 0-否 1-是 } }, @@ -161,7 +162,7 @@ export default { [Radio.name]: Radio, [Image.name]: Image }, - mounted() { + async mounted() { this.$jump({ flag: 'navigation', extra: { @@ -207,6 +208,9 @@ export default { window.appCallBack = this.appCallBack document.body.style.backgroundColor = '#fff' + let dataReturn = await riskRules.getAgentInfoFunc(this) + this.manageComCode = dataReturn.manageComCode + this.getProductList() if (!this.$route.query.edit) { //如果不是编辑/导航条跳转进来的 @@ -758,7 +762,7 @@ export default { if (showFlag) { this.$dialog .alert({ - message: '年龄≥60周岁投保人,如果投保一年期以上产品,请根据监管要求对销售过程进行录音录像!', + message: '根据监管要求,本单需要您配合对销售过程进行录音录像!', confirmButtonColor: '#000000' }) .then(() => { @@ -906,9 +910,9 @@ export default { //判断投保人年龄是否大于等于60岁 let showFlag = false let age = this.appntDTO.birthday?utilsAge.getAge(this.appntDTO.birthday, new Date()):this.appntDTO.age - if (age >= 60) { + if (this.manageComCode == '52') { this.chooseProducts.map(item => { - if (item.insuYearFlag == 'A' || (item.insuYearFlag == 'Y' && item.insuYear != '1')) { + if (item.insuYearFlag == 'A' || item.riskCode == 'GFRS_M0074' || (item.insuYearFlag == 'Y' && item.insuYear != '1')) { showFlag = true return true } diff --git a/src/views/ebiz/sale/InsuredInfo.vue b/src/views/ebiz/sale/InsuredInfo.vue index 80381da35..79b4a50de 100644 --- a/src/views/ebiz/sale/InsuredInfo.vue +++ b/src/views/ebiz/sale/InsuredInfo.vue @@ -1370,10 +1370,10 @@ // localStorage.insuredDetail = JSON.stringify(this.userInfo) // 添加提示 let age = utilsAge.getAge(this.userInfo.birthday, new Date()) - if (age >= 60) { + if (age >= 60 && this.manageComCode == '45') { this.$dialog .alert({ - message: '年龄≥60周岁投保人,如果投保一年期以上产品,请根据监管要求对销售过程进行录音录像!', + message: '根据监管要求,本单需要您配合对销售过程进行录音录像!', confirmButtonColor: '#000000', }) .then(() => {