【国富惠桂保团体医疗保险产品上线金掌桂投保开发需求】请投保人认真阅读相关资料并且提示投保过程被记录的页面应该放在给客户确认的那个端口展示而不应该在业务员帮客户录单的页面展示

This commit is contained in:
li.yuetong
2022-08-15 15:02:44 +08:00
parent 136e55cb3b
commit 476665ea7f
3 changed files with 45 additions and 19 deletions

View File

@@ -74,7 +74,8 @@ export default {
bnfTypeVal: '法定受益人', //受益人类型文字展示
riskDTO: {},
productDate: '',
orderInfoDTO:{}
orderInfoDTO:{},
isGroupCard:''
// isLessEighteen: true // 被保人手机号和邮箱默认展示
}
},
@@ -119,6 +120,8 @@ export default {
insuYearD = productDate.getDate() < 10 ? '0' + productDate.getDate() : productDate.getDate()
productDateTime = productDate.getFullYear() + '' + insuYearM + '' + insuYearD + ''
this.productDate = currentData + '0时至' + productDateTime + '24时止'+ this.riskDTO.insuYear + this.riskDTO.dateCN
// isGroupCard 1 团险标识
this.isGroupCard = res.orderDTO.orderInfoDTO.isGroupCard
}
})
},
@@ -127,10 +130,10 @@ export default {
this.$jump({
flag: 'h5',
extra: {
url: location.origin + `/#/cardList/SignatureConfirmation`
url: location.origin + `/#/cardList/SignatureConfirmation?isGroupCard=`+this.isGroupCard
},
routerInfo: {
path: `/cardList/SignatureConfirmation`
path: `/cardList/SignatureConfirmation?isGroupCard=`+this.isGroupCard
}
})
}

View File

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

View File

@@ -43,6 +43,7 @@ export default {
shareURL: '',
shareFlag: true,
},
productType:'' //7代表是团险 10卡单
}
},
async created() {
@@ -86,23 +87,18 @@ export default {
// }
// })
},
gotoInformation() {
Dialog.confirm({
title: '温馨提示',
messageAlign: 'left',
confirmButtonColor: '#ee0a24',
confirmButtonText: '立即投保',
cancelButtonText: '返回',
message: `1、您即将进入投保流程为维护您的合法权益投保时请您务必仔细阅读和确认保险条款、投保须知、免除保险人责任条款、犹豫期条款等页面所有内容。<br/>2.您的投保过程和操作将被记录。`,
})
gotoInformation() {
if(this.productType != '7'){ //7代表是团险 10卡单
Dialog.confirm({
title: '温馨提示',
messageAlign: 'left',
confirmButtonColor: '#ee0a24',
confirmButtonText: '立即投保',
cancelButtonText: '返回',
message: `1、您即将进入投保流程为维护您的合法权益投保时请您务必仔细阅读和确认保险条款、投保须知、免除保险人责任条款、犹豫期条款等页面所有内容。<br/>2.您的投保过程和操作将被记录。`,
})
.then(() => {
let url
if(this.productCode != 'GFRS_M0058'){
url = '/cardList/information'
}else{
// 团险(多个被保人)流程页面
url = '/cardList/GroupAppntInfo'
}
let url = '/cardList/information'
// on confirm
this.$jump({
flag: 'h5',
@@ -117,6 +113,18 @@ export default {
.catch(() => {
// on cancel
})
}else{
let url = '/cardList/GroupAppntInfo'
this.$jump({
flag: 'h5',
extra: {
url: location.origin + '/#'+ url,
},
routerInfo: {
path: url,
},
})
}
},
async getData(code) {
let data = {
@@ -220,6 +228,8 @@ export default {
//保存选择险种
localStorage.chooseProducts = JSON.stringify(productsData)
//是否为团险
this.productType = resultData.productType
} else {
Toast.fail(res.resultMessage)
}