mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-11 09:46:43 +08:00
新增万能险风险告知页面并添加相关代码逻辑
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="own_content">
|
<div class="own_content">
|
||||||
<ul class="index-bar">
|
<ul class="index-bar">
|
||||||
<li @click="changePage(Number(index) + 1)" v-for="(item, index) in pageTitle" :key="index" :class="item.tabClass" :id="item.tabClass" v-if="item.show">
|
<li @click="changePage(item.pageNo)" v-for="(item, index) in pageTitle" :key="index" :class="item.tabClass" :id="item.tabClass" v-if="item.show">
|
||||||
<!-- 选中 -->
|
<!-- 选中 -->
|
||||||
<div v-if="item.tabClass" class="flex justify-content-fs align-items-c">
|
<div v-if="item.tabClass" class="flex justify-content-fs align-items-c">
|
||||||
<div class="flex flex-direction-colunm align-items-c">
|
<div class="flex flex-direction-colunm align-items-c">
|
||||||
@@ -116,6 +116,15 @@ export default {
|
|||||||
imgCheckedUrl: this.$assetsUrl + 'images/kmh/fxjg1.png',
|
imgCheckedUrl: this.$assetsUrl + 'images/kmh/fxjg1.png',
|
||||||
imgNoCheckedUrl: this.$assetsUrl + 'images/kmh/fxjg2.png'
|
imgNoCheckedUrl: this.$assetsUrl + 'images/kmh/fxjg2.png'
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
pageNo: 7.1,
|
||||||
|
pageItem: '风险告知',
|
||||||
|
urlStr: '/sale/universalRiskNotifyingMessage',
|
||||||
|
tabClass: '',
|
||||||
|
show:true,
|
||||||
|
imgCheckedUrl: this.$assetsUrl + 'images/kmh/zhxx.png',
|
||||||
|
imgNoCheckedUrl: this.$assetsUrl + 'images/kmh/zhxx_n.png'
|
||||||
|
},
|
||||||
{
|
{
|
||||||
pageNo: 8,
|
pageNo: 8,
|
||||||
pageItem: '账户信息',
|
pageItem: '账户信息',
|
||||||
@@ -181,6 +190,9 @@ export default {
|
|||||||
case 7: //跳到风险评估结果页
|
case 7: //跳到风险评估结果页
|
||||||
url = `/sale/answerSuccess?edit=1&salePageFlag=${pageIndex}&orderNo=` + this.$route.query.orderNo
|
url = `/sale/answerSuccess?edit=1&salePageFlag=${pageIndex}&orderNo=` + this.$route.query.orderNo
|
||||||
break
|
break
|
||||||
|
case 7.1: //跳到万能险风险告知页面
|
||||||
|
url = `/sale/universalRiskNotifyingMessage?edit=1&salePageFlag=${pageIndex}&orderNo=` + this.$route.query.orderNo
|
||||||
|
break
|
||||||
case 8: //跳到账户信息页面
|
case 8: //跳到账户信息页面
|
||||||
url = `/sale/AccountInformation?edit=1&salePageFlag=${pageIndex}&orderNo=` + this.$route.query.orderNo
|
url = `/sale/AccountInformation?edit=1&salePageFlag=${pageIndex}&orderNo=` + this.$route.query.orderNo
|
||||||
break
|
break
|
||||||
|
|||||||
@@ -10,6 +10,7 @@ const addBeneficiaryInfo = () => import('@/views/ebiz/sale/AddBeneficiaryInfo')
|
|||||||
|
|
||||||
const signatureConfirmation = () => import('@/views/ebiz/sale/SignatureConfirmation')
|
const signatureConfirmation = () => import('@/views/ebiz/sale/SignatureConfirmation')
|
||||||
const notifyingMessage = () => import('@/views/ebiz/sale/NotifyingMessage')
|
const notifyingMessage = () => import('@/views/ebiz/sale/NotifyingMessage')
|
||||||
|
const universalRiskNotifyingMessage = () => import('@/views/ebiz/sale/universalRiskNotifyingMessage')
|
||||||
const answerPage = () => import('@/views/ebiz/sale/answerPage')
|
const answerPage = () => import('@/views/ebiz/sale/answerPage')
|
||||||
const answerSuccess = () => import('@/views/ebiz/sale/answerSuccess')
|
const answerSuccess = () => import('@/views/ebiz/sale/answerSuccess')
|
||||||
const accountInformation = () => import('@/views/ebiz/sale/AccountInformation')
|
const accountInformation = () => import('@/views/ebiz/sale/AccountInformation')
|
||||||
@@ -122,6 +123,14 @@ export default [
|
|||||||
title: '告知信息'
|
title: '告知信息'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
path: '/sale/universalRiskNotifyingMessage',
|
||||||
|
name: 'universalRiskNotifyingMessage',
|
||||||
|
component: universalRiskNotifyingMessage,
|
||||||
|
meta: {
|
||||||
|
title: '风险告知'
|
||||||
|
}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
path: '/sale/answerPage',
|
path: '/sale/answerPage',
|
||||||
name: 'answerPage',
|
name: 'answerPage',
|
||||||
|
|||||||
@@ -517,8 +517,12 @@ export default {
|
|||||||
url = '/common/selectedProduct?edit=1&orderNo='+orderNo
|
url = '/common/selectedProduct?edit=1&orderNo='+orderNo
|
||||||
}else if(orderStatus == '40'){//告知信息保存成功, 跳到风险测评--
|
}else if(orderStatus == '40'){//告知信息保存成功, 跳到风险测评--
|
||||||
if( order.riskEvaluationDTO.isShowEvaluationPoint == '0'){
|
if( order.riskEvaluationDTO.isShowEvaluationPoint == '0'){
|
||||||
url = '/sale/AccountInformation?edit=1&orderNo='+orderNo
|
if(order.universalRiskNotifyDTO && order.universalRiskNotifyDTO.isUniversalRiskNotifyShowPoint == '0'){
|
||||||
}else {
|
url = '/sale/AccountInformation?edit=1&orderNo='+orderNo
|
||||||
|
}else{
|
||||||
|
url = '/sale/AccountInformation?edit=1&orderNo='+orderNo
|
||||||
|
}
|
||||||
|
}else {
|
||||||
url = '/sale/answerPage?edit=1&orderNo='+orderNo
|
url = '/sale/answerPage?edit=1&orderNo='+orderNo
|
||||||
}
|
}
|
||||||
}else if(orderStatus == ''){//跳到投保人
|
}else if(orderStatus == ''){//跳到投保人
|
||||||
@@ -526,8 +530,13 @@ export default {
|
|||||||
}else if(orderStatus == '44'){//建议书转投保, 跳到投保人
|
}else if(orderStatus == '44'){//建议书转投保, 跳到投保人
|
||||||
url = '/sale/insuredInfo?edit=1&orderNo='+orderNo
|
url = '/sale/insuredInfo?edit=1&orderNo='+orderNo
|
||||||
}else if(orderStatus == '62'){//风险测评保存成功, 跳到账户信息--
|
}else if(orderStatus == '62'){//风险测评保存成功, 跳到账户信息--
|
||||||
// url = '/sale/AccountInformation?edit=1'
|
if(order.universalRiskNotifyDTO && order.universalRiskNotifyDTO.isUniversalRiskNotifyShowPoint == '0'){
|
||||||
url = '/sale/answerSuccess?edit=1&orderNo='+orderNo
|
url = '/sale/AccountInformation?edit=1&orderNo='+orderNo
|
||||||
|
}else{
|
||||||
|
url = '/sale/answerSuccess?edit=1&orderNo='+orderNo
|
||||||
|
}
|
||||||
|
}else if(orderStatus == '63'){//风险测评保存成功, 跳到账户信息--
|
||||||
|
url = '/sale/AccountInformation?edit=1&orderNo='+orderNo
|
||||||
}
|
}
|
||||||
// switch (orderStatus) {
|
// switch (orderStatus) {
|
||||||
// case '01': //已签名待客户确认, 跳到签名确认页面
|
// case '01': //已签名待客户确认, 跳到签名确认页面
|
||||||
|
|||||||
@@ -188,7 +188,8 @@ export default {
|
|||||||
salePageFlag: '5',
|
salePageFlag: '5',
|
||||||
// 是否特定医疗险
|
// 是否特定医疗险
|
||||||
isSpecificMedicalInsurance:false,
|
isSpecificMedicalInsurance:false,
|
||||||
isShowEvaluationPoint:'0'//默认不跳转到风险测评
|
isShowEvaluationPoint:'0',//默认不跳转到风险测评
|
||||||
|
isUniversalRiskNotifyShowPoint: '0' //默认不跳转到万能险风险告知
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
async created() {
|
async created() {
|
||||||
@@ -198,6 +199,7 @@ export default {
|
|||||||
if (res.result == 0) {
|
if (res.result == 0) {
|
||||||
//投被保险人关系
|
//投被保险人关系
|
||||||
this.isShowEvaluationPoint = res.orderDTO.riskEvaluationDTO.isShowEvaluationPoint
|
this.isShowEvaluationPoint = res.orderDTO.riskEvaluationDTO.isShowEvaluationPoint
|
||||||
|
this.isUniversalRiskNotifyShowPoint = res.orderDTO.universalRiskNotifyDTO.isUniversalRiskNotifyShowPoint
|
||||||
// this.isShowEvaluationPoint = res.orderDTO.riskEvaluationDTO.isShowEvaluationPoint
|
// this.isShowEvaluationPoint = res.orderDTO.riskEvaluationDTO.isShowEvaluationPoint
|
||||||
let updateAnswerType = res.orderDTO.riskEvaluationDTO.isShowEvaluationPoint =='1'?true:false
|
let updateAnswerType = res.orderDTO.riskEvaluationDTO.isShowEvaluationPoint =='1'?true:false
|
||||||
this.$store.commit( 'updateAnswerType',updateAnswerType )
|
this.$store.commit( 'updateAnswerType',updateAnswerType )
|
||||||
@@ -679,15 +681,27 @@ export default {
|
|||||||
localStorage.salePageFlag = '6'
|
localStorage.salePageFlag = '6'
|
||||||
}
|
}
|
||||||
if(this.isShowEvaluationPoint == '0'){
|
if(this.isShowEvaluationPoint == '0'){
|
||||||
that.$jump({
|
if(this.isUniversalRiskNotifyShowPoint == '1'){
|
||||||
flag: 'h5',
|
that.$jump({
|
||||||
extra: {
|
flag: 'h5',
|
||||||
url: location.origin + '/#/sale/accountInformation',
|
extra: {
|
||||||
},
|
url: location.origin + '/#/sale/universalRiskNotifyingMessage?orderNo=' + this.$route.query.orderNo,
|
||||||
routerInfo: {
|
},
|
||||||
path: '/sale/accountInformation'
|
routerInfo: {
|
||||||
}
|
path: '/sale/universalRiskNotifyingMessage?orderNo=' + this.$route.query.orderNo
|
||||||
})
|
}
|
||||||
|
})
|
||||||
|
}else{
|
||||||
|
that.$jump({
|
||||||
|
flag: 'h5',
|
||||||
|
extra: {
|
||||||
|
url: location.origin + '/#/sale/accountInformation?orderNo=' + this.$route.query.orderNo,
|
||||||
|
},
|
||||||
|
routerInfo: {
|
||||||
|
path: '/sale/accountInformation?orderNo=' + this.$route.query.orderNo
|
||||||
|
}
|
||||||
|
})
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
that.$jump({
|
that.$jump({
|
||||||
flag: 'h5',
|
flag: 'h5',
|
||||||
@@ -713,7 +727,8 @@ export default {
|
|||||||
this.$toast(res.resultMessage)
|
this.$toast(res.resultMessage)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
} else if (financeImpart == {}) {
|
}
|
||||||
|
else if (financeImpart == {}) {
|
||||||
let data = {
|
let data = {
|
||||||
orderType: 'IMPART_ORDER',
|
orderType: 'IMPART_ORDER',
|
||||||
orderDTO: {
|
orderDTO: {
|
||||||
@@ -734,20 +749,33 @@ export default {
|
|||||||
saveInformation(data).then(res => {
|
saveInformation(data).then(res => {
|
||||||
if (res.result == '0') {
|
if (res.result == '0') {
|
||||||
localStorage.removeItem('changeCard')
|
localStorage.removeItem('changeCard')
|
||||||
that.$jump({
|
if(this.isUniversalRiskNotifyShowPoint == '1'){
|
||||||
flag: 'h5',
|
that.$jump({
|
||||||
extra: {
|
flag: 'h5',
|
||||||
url: location.origin + '/#/sale/AccountInformation',
|
extra: {
|
||||||
},
|
url: location.origin + '/#/sale/universalRiskNotifyingMessage?orderNo=' + this.$route.query.orderNo,
|
||||||
routerInfo: {
|
},
|
||||||
path: '/sale/AccountInformation'
|
routerInfo: {
|
||||||
}
|
path: '/sale/universalRiskNotifyingMessage?orderNo=' + this.$route.query.orderNo
|
||||||
})
|
}
|
||||||
|
})
|
||||||
|
}else{
|
||||||
|
that.$jump({
|
||||||
|
flag: 'h5',
|
||||||
|
extra: {
|
||||||
|
url: location.origin + '/#/sale/AccountInformation',
|
||||||
|
},
|
||||||
|
routerInfo: {
|
||||||
|
path: '/sale/AccountInformation'
|
||||||
|
}
|
||||||
|
})
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
this.$toast(res.resultMessage)
|
this.$toast(res.resultMessage)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
} else {
|
}
|
||||||
|
else {
|
||||||
let data = {
|
let data = {
|
||||||
orderType: 'IMPART_ORDER',
|
orderType: 'IMPART_ORDER',
|
||||||
orderDTO: {
|
orderDTO: {
|
||||||
@@ -769,15 +797,27 @@ export default {
|
|||||||
if (res.result == '0') {
|
if (res.result == '0') {
|
||||||
localStorage.removeItem('changeCard')
|
localStorage.removeItem('changeCard')
|
||||||
if(this.isShowEvaluationPoint == '0'){
|
if(this.isShowEvaluationPoint == '0'){
|
||||||
that.$jump({
|
if(this.isUniversalRiskNotifyShowPoint == '1'){
|
||||||
flag: 'h5',
|
that.$jump({
|
||||||
extra: {
|
flag: 'h5',
|
||||||
url: location.origin + '/#/sale/accountInformation',
|
extra: {
|
||||||
},
|
url: location.origin + '/#/sale/universalRiskNotifyingMessage?orderNo=' + this.$route.query.orderNo,
|
||||||
routerInfo: {
|
},
|
||||||
path: '/sale/accountInformation'
|
routerInfo: {
|
||||||
}
|
path: '/sale/universalRiskNotifyingMessage?orderNo=' + this.$route.query.orderNo
|
||||||
})
|
}
|
||||||
|
})
|
||||||
|
}else{
|
||||||
|
that.$jump({
|
||||||
|
flag: 'h5',
|
||||||
|
extra: {
|
||||||
|
url: location.origin + '/#/sale/accountInformation',
|
||||||
|
},
|
||||||
|
routerInfo: {
|
||||||
|
path: '/sale/accountInformation'
|
||||||
|
}
|
||||||
|
})
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
that.$jump({
|
that.$jump({
|
||||||
flag: 'h5',
|
flag: 'h5',
|
||||||
|
|||||||
@@ -49,6 +49,7 @@ export default {
|
|||||||
salePageFlag: '7',
|
salePageFlag: '7',
|
||||||
riskEvaluationDTO:{
|
riskEvaluationDTO:{
|
||||||
},
|
},
|
||||||
|
isUniversalRiskNotifyShowPoint: '0' //默认不跳转到万能险风险告知
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
components: {
|
components: {
|
||||||
@@ -70,6 +71,7 @@ export default {
|
|||||||
// this.$store.commit('updateAnswerType', updateAnswerType )
|
// this.$store.commit('updateAnswerType', updateAnswerType )
|
||||||
// localStorage.setItem('updateAnswerType',updateAnswerType)
|
// localStorage.setItem('updateAnswerType',updateAnswerType)
|
||||||
this.riskEvaluationDTO = res.orderDTO.riskEvaluationDTO
|
this.riskEvaluationDTO = res.orderDTO.riskEvaluationDTO
|
||||||
|
this.isUniversalRiskNotifyShowPoint = res.orderDTO.universalRiskNotifyDTO.isUniversalRiskNotifyShowPoint
|
||||||
this.getStatement()
|
this.getStatement()
|
||||||
} else {
|
} else {
|
||||||
this.$toast(res.resultMessage)
|
this.$toast(res.resultMessage)
|
||||||
@@ -172,15 +174,28 @@ export default {
|
|||||||
},
|
},
|
||||||
next(){
|
next(){
|
||||||
let that = this
|
let that = this
|
||||||
that.$jump({
|
if(that.isUniversalRiskNotifyShowPoint == '1'){
|
||||||
flag: 'h5',
|
that.$jump({
|
||||||
extra: {
|
flag: 'h5',
|
||||||
url: location.origin + '/#/sale/AccountInformation?orderNo=' + this.$route.query.orderNo
|
extra: {
|
||||||
},
|
url: location.origin + '/#/sale/universalRiskNotifyingMessage?orderNo=' + that.$route.query.orderNo,
|
||||||
routerInfo: {
|
},
|
||||||
path: '/sale/AccountInformation?orderNo=' + this.$route.query.orderNo
|
routerInfo: {
|
||||||
|
path: '/sale/universalRiskNotifyingMessage?orderNo=' + that.$route.query.orderNo
|
||||||
|
}
|
||||||
|
})
|
||||||
|
}else{
|
||||||
|
that.$jump({
|
||||||
|
flag: 'h5',
|
||||||
|
extra: {
|
||||||
|
url: location.origin + '/#/sale/AccountInformation?orderNo=' + this.$route.query.orderNo
|
||||||
|
},
|
||||||
|
routerInfo: {
|
||||||
|
path: '/sale/AccountInformation?orderNo=' + this.$route.query.orderNo
|
||||||
|
}
|
||||||
|
})
|
||||||
}
|
}
|
||||||
})
|
|
||||||
|
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user