diff --git a/src/views/ebiz/cardList/GroupCheckInfo.vue b/src/views/ebiz/cardList/GroupCheckInfo.vue index e32b89bcb..b88dea249 100644 --- a/src/views/ebiz/cardList/GroupCheckInfo.vue +++ b/src/views/ebiz/cardList/GroupCheckInfo.vue @@ -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 } }) } diff --git a/src/views/ebiz/cardList/SignatureConfirmation.vue b/src/views/ebiz/cardList/SignatureConfirmation.vue index db5349bfe..f47f5d8db 100644 --- a/src/views/ebiz/cardList/SignatureConfirmation.vue +++ b/src/views/ebiz/cardList/SignatureConfirmation.vue @@ -89,6 +89,19 @@ export default { methods: { // 初始化 async init() { + //只有惠桂保团险添加此提示 + if( this.$route.query.isGroupCard == '1' ){ + Dialog.alert({ + title: '温馨提示', + messageAlign: 'left', + confirmButtonText: '确认', + message: `1、您即将进入投保流程,为维护您的合法权益,投保时请您务必仔细阅读和确认保险条款、投保须知、免除保险人责任条款、犹豫期条款等页面所有内容。
2.您的投保过程和操作将被记录。`, + }) + .then(() => { + }) + .catch(() => { + }) + } this.recmd = this.orderDTO.recmdDTO this.orderInfo = this.orderDTO.orderInfoDTO this.appntInfo = this.orderDTO.appntDTO diff --git a/src/views/ebiz/cardList/productDetails.vue b/src/views/ebiz/cardList/productDetails.vue index 87f2ecf3e..0717bb63a 100644 --- a/src/views/ebiz/cardList/productDetails.vue +++ b/src/views/ebiz/cardList/productDetails.vue @@ -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、您即将进入投保流程,为维护您的合法权益,投保时请您务必仔细阅读和确认保险条款、投保须知、免除保险人责任条款、犹豫期条款等页面所有内容。
2.您的投保过程和操作将被记录。`, - }) + gotoInformation() { + if(this.productType != '7'){ //7代表是团险 10卡单 + Dialog.confirm({ + title: '温馨提示', + messageAlign: 'left', + confirmButtonColor: '#ee0a24', + confirmButtonText: '立即投保', + cancelButtonText: '返回', + message: `1、您即将进入投保流程,为维护您的合法权益,投保时请您务必仔细阅读和确认保险条款、投保须知、免除保险人责任条款、犹豫期条款等页面所有内容。
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) }