Compare commits

...

13 Commits

Author SHA1 Message Date
liu.xiaofeng@ebiz-digits.com
d27541f8fd GBC渠道富安一生产品不同年龄最大保额限制 2024-04-15 09:28:49 +08:00
liu.xiaofeng@ebiz-digits.com
5a7f09f5d8 卡单签字确认页面阅读文件前弹窗提示内容修改 2024-04-15 09:28:45 +08:00
liu.xiaofeng@ebiz-digits.com
5818898564 职业限制逻辑修改 2024-04-15 09:28:41 +08:00
liu.xiaofeng@ebiz-digits.com
b1de132117 职业限制逻辑修改 2024-04-15 09:28:38 +08:00
liu.xiaofeng@ebiz-digits.com
2454b5ee44 职业限制逻辑修改 2024-04-15 09:28:34 +08:00
liu.xiaofeng@ebiz-digits.com
ea8eb2990a 投保年龄计算按照生效日来算 2024-04-15 09:28:30 +08:00
liu.xiaofeng@ebiz-digits.com
9a2845160c 卡单支付结果页面展示内容信息补全 2024-04-15 09:28:26 +08:00
liu.xiaofeng@ebiz-digits.com
566b497a75 卡单支付结果页面展示内容信息补全 2024-04-15 09:28:22 +08:00
liu.xiaofeng@ebiz-digits.com
0c451caf34 国富无忧安康卡-国富无忧综合意外伤害保险计划(2024版) 投保信息页面增加备注信息 2024-04-15 09:28:19 +08:00
liu.xiaofeng@ebiz-digits.com
894a57801e 投保前提示弹窗标题修改
支付成功后页面温馨提示语内容修改
2024-04-15 09:28:15 +08:00
liu.xiaofeng@ebiz-digits.com
17c4cc955b 职业限制修改 2024-04-15 09:28:11 +08:00
liu.xiaofeng@ebiz-digits.com
c1b4f6e1b7 国富无忧安康卡-国富无忧综合意外伤害保险计划(2024版)修改 2024-04-15 09:28:06 +08:00
liu.xiaofeng@ebiz-digits.com
8de047c8fa 国富无忧安康卡-国富无忧综合意外伤害保险计划(2024版) 2024-04-15 09:28:02 +08:00
5 changed files with 79 additions and 44 deletions

View File

@@ -25,9 +25,9 @@
<div v-if="payStatus == '1'" class=" p10 pb250 bg-white">
<span class="pt150 fs14"> 核心承保中请您稍后查看</span>
<div class="pt20 red"> 温馨提示<br />
1.保单承保后您或被保险人可拨打国富人寿客户服务电话400-694-6688或登陆国富人寿官网www.e-guofu.com以及关注官方微信公众号国富人寿保险查询下载电子保单<br />
2.本保险产品提供电子发票如您需要发票您可以关注微信公众号国富人寿保险自助下载电子发票<br />
3.为保障您的权益投保成功后广西保险行业协会对您进行短信调研了解您本次保险消费的相关情况请您注意查看短信如您满意请回复1如有疑问可拨打国富人寿全国服务热线400-694-6688咨询<br />
1.请关注微信公众号国富人寿保险查询下载电子保单及电子发票<br />
2.为保障您的权益投保成功后广西保险行业协会对您进行短信调研请您注意查看短信如您满意请回复1<br />
如有疑问可拨打国富人寿全国服务热线400-694-6688咨询<br />
</div>
</div>
<div v-if="payStatus == '2' || payStatus == '4' || payStatus == '8'" class=" p10 pb250 bg-white">
@@ -78,6 +78,7 @@ export default {
let isWeixin = this.$utils.device().isWeixin //判断环境
return {
isWeixin,
orderNo: '',
// 保融收银台返回的支付流水号
paySeqNo: '',
// 接口返回数据前,不做页面渲染
@@ -209,6 +210,10 @@ export default {
} else {
this.queryPayState()
}
this.card.orderNo = window.localStorage.getItem('orderNo')
let orderDetail = JSON.parse(sessionStorage.orderDetail)
this.card.insuredName = orderDetail.insuredDTOs[0].name
this.card.cvalidate = orderDetail.insuredDTOs[0].riskDTOLst[0].cvaliDate
},
beforeRouteLeave(to, from, next) {
document.body.style.backgroundColor = ''

View File

@@ -92,7 +92,7 @@ export default {
//只有惠桂保团险添加此提示
if( this.$route.query.isGroupCard == '1' ){
Dialog.alert({
title: '温馨提示',
title: '投保提示',
messageAlign: 'left',
confirmButtonText: '确认',
message: `1、您即将进入投保流程为维护您的合法权益投保时请您务必仔细阅读和确认保险条款、投保须知、免除保险人责任条款、犹豫期条款等页面所有内容。<br/>2.您的投保过程和操作将被记录。`,

View File

@@ -536,7 +536,7 @@
placeholder='请选择'
@click="toSelect('10')"
/>
<van-field v-if="this.itemProductDTOS.productCode === 'GFRS_M0041'||this.itemProductDTOS.productCode === 'GFRS_M0052'||this.itemProductDTOS.productCode === 'GFRS_M0071'" v-model='cvaliDate' readonly label='生效日期' name='生效日期' placeholder='请输入' />
<van-field v-if="this.itemProductDTOS.productCode === 'GFRS_M0041'||this.itemProductDTOS.productCode === 'GFRS_M0052'||this.itemProductDTOS.productCode === 'GFRS_M0071'||this.itemProductDTOS.productCode === 'GFRS_M0091'" v-model='cvaliDate' readonly label='生效日期' name='生效日期' placeholder='请输入' />
<FieldDatePicter
v-else
label='指定生效日期'
@@ -595,6 +595,10 @@
||this.itemProductDTOS.productCode === 'GFRS_M0052' || this.itemProductDTOS.productCode === 'GFRS_M0062' || this.itemProductDTOS.productCode === 'GFRS_M0063'||this.itemProductDTOS.productCode === 'GFRS_M0064'">
注:为未成年子女投保的人身保险,在被保险人成年之前,因被保险人身故给付的保险金总和不得超过国务院保险监督管理机构规定的限额,身故给付的保险金额总和的约定也不得超过前述限额。但航空意外死亡保险金额及重大自然灾害意外死亡保险金额不计算在上述规定限额之中。
</div>
<div class='tips'
v-if="this.itemProductDTOS.productCode === 'GFRS_M0091'">
注:为未成年子女投保的人身保险,在被保险人成年之前,因被保险人身故给付的保险金总和不得超过国务院保险监督管理机构规定的限额,身故给付的保险金额总和的约定也不得超过前述限额。
</div>
<van-goods-action style='z-index: 99'>
<van-button type='default' style='width: 50%; font-size: 14px; height: 40px; background: white'
>总保费:<span style='color: red; font-weight: bold; font-size: 18px; font-weight: 400'>{{ allPrice }}</span
@@ -954,7 +958,7 @@ export default {
}
//金掌桂无忧卡,少儿安康卡两款卡单产品关闭指定生效日功能,默认自承保之日起第四日零时生效
//GFRS_M0052 国富人寿少儿安康保险产品组合、GFRS_M0041 国富无忧卡-国富人寿综合意外伤害保险计划
if (this.itemProductDTOS.productCode === 'GFRS_M0052' || this.itemProductDTOS.productCode === 'GFRS_M0041' || this.itemProductDTOS.productCode === 'GFRS_M0071') {
if (this.itemProductDTOS.productCode === 'GFRS_M0052' || this.itemProductDTOS.productCode === 'GFRS_M0041' || this.itemProductDTOS.productCode === 'GFRS_M0071'|| this.itemProductDTOS.productCode === 'GFRS_M0091') {
this.cvaliDate = dateUtils.formatDate(afterDate.getAfterDays(Number(this.trialList[0].timeliness)), 'yyyy-MM-dd')
//保险期间计算逻辑
let val = this.cvaliDate
@@ -1029,7 +1033,6 @@ export default {
}
},
methods: {
//试算逻辑国富万福卡GFRS_M0071
insureTrial() {
// if(this.insuredInfo.birthday || that.$route.query.relationToAppnt == '1'){
if (this.userInfo.relationToInsured == 1) {
@@ -1127,9 +1130,11 @@ export default {
let { code, name, healthGrade, lifeGrade } = data
//校验主合同被保险人寿险职业等级
//投保同人时,验证投保人职业,投被不同人时验证被保人职业
if(!(this.userInfo.relationToInsured != 1 && this.insureType === '1')){
if (riskRules.lifeGradeLimitCard(this.trialDTOS, this, lifeGrade)) {
return
if(this.itemProductDTOS.productCode != 'GFRS_M0091') {
if(!(this.userInfo.relationToInsured != 1 && this.insureType === '1')){
if (riskRules.lifeGradeLimitCard(this.trialDTOS, this, lifeGrade)) {
return
}
}
}
@@ -1146,10 +1151,14 @@ export default {
this.userInfo.occupationName = name
this.userInfo.occupationCode = code
this.userInfo.occupationType = lifeGrade
this.userInfo.lifeGrade = lifeGrade
this.userInfo.healthGrade = healthGrade
} else if (this.insureType === '2') {
this.insuredInfo.occupationName = name
this.insuredInfo.occupationCode = code
this.insuredInfo.occupationType = lifeGrade
this.insuredInfo.lifeGrade = lifeGrade
this.insuredInfo.healthGrade = healthGrade
}
},
/**
@@ -2055,7 +2064,7 @@ export default {
// return this.$toast('户口本的证件号码长度应等于18位')
// }
}
let insuredAge = utilsAge.getAge(this.insuredInfo.birthday, new Date())
let insuredAge = utilsAge.getAge(this.insuredInfo.birthday, new Date(this.cvaliDate))
console.log('计算年龄', insuredAge)
//如果证件类型是身份证或户口本
if (this.insuredInfo.idType == '1') {
@@ -2236,35 +2245,21 @@ export default {
return this.$toast('被保险人的年龄不可以超过65周岁')
}
}
//投保人需大于等于 18 周岁
// if (age < 18) {
// return this.$toast('投保人必须是具有民事行为能力且有固定职业和收入的自然人,请确定')
// }
let insuredInfoAge = utilsAge.getAge(this.insuredInfo.birthday, new Date())
// if (this.itemProductDTOS.productCode === 'GFRS_M0049') {
// //幼儿园2岁≤被保险人≤7岁
// if (insuredInfoAge < 2 || insuredInfoAge > 7) {
// return this.$toast('被保险人年龄应为2岁-7岁请重新选择。')
// }
// } else if (this.itemProductDTOS.productCode === 'GFRS_M0048') {
// //义务教育5岁≤被保险人≤18岁
// if (insuredInfoAge < 5 || insuredInfoAge > 18) {
// return this.$toast('被保险人年龄应为5岁-18岁请重新选择。')
// }
// } else if (this.itemProductDTOS.productCode === 'GFRS_M0050') {
// //高中及高等教育15岁≤被保险人≤40岁
// if (insuredInfoAge < 15 || insuredInfoAge > 40) {
// return this.$toast('被保险人年龄应为15岁-40岁请重新选择。')
// }
// } else if (this.itemProductDTOS.productCode === 'GFRS_M0052') {
// //GFRS-2641--少儿安康17岁≤被保险人
// if (insuredInfoAge > 17) {
// return this.$toast('被保险人年龄应为0岁-17岁请重新选择。')
// }
// }
else if (this.itemProductDTOS.productCode === 'GFRS_M0091') {
console.log(this.proSchemeCode)
if (this.proSchemeCode == '06860438-B') {
if (insuredAge < 10) {
return this.$toast('被保险人的年龄需要大于10岁')
}
}
if (insuredAge < 0) {
return this.$toast('被保险人的年龄需要大于28天')
}
if (insuredAge > 65) {
return this.$toast('被保险人的年龄不可以超过65周岁')
}
}
let insuredInfoAge = utilsAge.getAge(this.insuredInfo.birthday, new Date(this.cvaliDate))
if(this.itemProductDTOS.productCode == 'GFRS_M0048' || this.itemProductDTOS.productCode == 'GFRS_M0049' || this.itemProductDTOS.productCode == 'GFRS_M0050'
|| this.itemProductDTOS.productCode == 'GFRS_M0052' ||this.itemProductDTOS.productCode === 'GFRS_M0062' || this.itemProductDTOS.productCode === 'GFRS_M0063'
|| this.itemProductDTOS.productCode === 'GFRS_M0064'){
@@ -2383,6 +2378,27 @@ export default {
this.insuredInfo.homeArea = '500243'
break
}
console.log(this.insuredInfo,'this.insuredInfo')
if(this.itemProductDTOS.productCode === 'GFRS_M0091'){
if(this.proSchemeCode == '06860438-A') {
if (Number(this.insuredInfo.lifeGrade) > 3) {
this.$toast('寿险职业等级不适合此款险种,请选择其他险种!')
return
}
}
if(this.proSchemeCode == '06860438-B') {
if (Number(this.insuredInfo.lifeGrade) > 4) {
this.$toast('寿险职业等级不适合此款险种,请选择其他险种!')
return
}
}
if(!this.proSchemeCode) {
if (Number(this.insuredInfo.lifeGrade) > 4) {
this.$toast('寿险职业等级不适合此款险种,请选择其他险种!')
return
}
}
}
this.infoUpdate()
// console.log('success')
} else {
@@ -2839,7 +2855,7 @@ export default {
//被保人职业变化时,重新调用试算接口
'insuredInfo.occupationName': {
handler(newV) {
if (newV && this.itemProductDTOS.productCode === 'GFRS_M0071') {
if (newV && (this.itemProductDTOS.productCode === 'GFRS_M0071' || this.itemProductDTOS.productCode === 'GFRS_M0091')) {
this.insureTrial()
}
},
@@ -2849,8 +2865,7 @@ export default {
//投被同人时,投保人职业变化时,重新调用试算接口
'userInfo.occupationName': {
handler(newV) {
// if (newV && this.itemProductDTOS.productCode === 'GFRS_M0071'&& this.userInfo.relationToInsured == 1) {
if (newV && this.itemProductDTOS.productCode === 'GFRS_M0071') {
if (newV && (this.itemProductDTOS.productCode === 'GFRS_M0071' || this.itemProductDTOS.productCode === 'GFRS_M0091')) {
this.insureTrial()
}
},

View File

@@ -90,7 +90,7 @@ export default {
gotoInformation() {
if(this.productType != '7'){ //7代表是团险 10卡单
Dialog.confirm({
title: '温馨提示',
title: '投保提示',
messageAlign: 'left',
confirmButtonColor: '#ee0a24',
confirmButtonText: '立即投保',

View File

@@ -2761,6 +2761,21 @@
}
}
}
else if (productCode == 'GFRS_M0087') {
if(this.saleInsuredPersonInfo.insuredAge>=18 && this.saleInsuredPersonInfo.insuredAge <= 40) {
currentEle['maxAmt'] = 70
}
else if(this.saleInsuredPersonInfo.insuredAge>=41 && this.saleInsuredPersonInfo.insuredAge <= 45) {
currentEle['maxAmt'] = 50
}
else if(this.saleInsuredPersonInfo.insuredAge>=46 && this.saleInsuredPersonInfo.insuredAge <= 50) {
currentEle['maxAmt'] = 40
}
else if(this.saleInsuredPersonInfo.insuredAge>=51 && this.saleInsuredPersonInfo.insuredAge <= 60) {
currentEle['maxAmt'] = 30
}
this.getTrial()
}
else if (this.isTrial === '0' && this.chooseProducts[productIndex].isMainRisk == '0') {
if (Number(defalutValue) < Number(min)) {
if (riskFactor.yearWay == "一次性交清") {