mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-07 06:36:44 +08:00
Compare commits
13 Commits
feature/FC
...
feature/【需
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e69b008cd3 | ||
|
|
003f54af69 | ||
|
|
8bc2349ac9 | ||
|
|
7fe5659655 | ||
|
|
704cf5b2f6 | ||
|
|
5235d78ada | ||
|
|
79a8edb1b1 | ||
|
|
825e8ef231 | ||
|
|
da751b0b66 | ||
|
|
6a2311b30c | ||
|
|
18cdaeec37 | ||
|
|
ac4881837a | ||
|
|
cf458d0660 |
@@ -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 = ''
|
||||
|
||||
@@ -92,7 +92,7 @@ export default {
|
||||
//只有惠桂保团险添加此提示
|
||||
if( this.$route.query.isGroupCard == '1' ){
|
||||
Dialog.alert({
|
||||
title: '温馨提示',
|
||||
title: '投保提示',
|
||||
messageAlign: 'left',
|
||||
confirmButtonText: '确认',
|
||||
message: `1、您即将进入投保流程,为维护您的合法权益,投保时请您务必仔细阅读和确认保险条款、投保须知、免除保险人责任条款、犹豫期条款等页面所有内容。<br/>2.您的投保过程和操作将被记录。`,
|
||||
|
||||
@@ -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()
|
||||
}
|
||||
},
|
||||
|
||||
@@ -90,7 +90,7 @@ export default {
|
||||
gotoInformation() {
|
||||
if(this.productType != '7'){ //7代表是团险 10卡单
|
||||
Dialog.confirm({
|
||||
title: '温馨提示',
|
||||
title: '投保提示',
|
||||
messageAlign: 'left',
|
||||
confirmButtonColor: '#ee0a24',
|
||||
confirmButtonText: '立即投保',
|
||||
|
||||
@@ -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 == "一次性交清") {
|
||||
|
||||
Reference in New Issue
Block a user