hotfix[20230815]惠桂保神经性耳聋提示增加判断

This commit is contained in:
liu.xiaofeng@ebiz-digits.com
2023-08-15 16:50:54 +08:00
parent 7082d19d6a
commit c9593f5877
2 changed files with 74 additions and 51 deletions

View File

@@ -79,7 +79,8 @@ export default {
riskDTO: {}, riskDTO: {},
productDate: '', productDate: '',
orderInfoDTO:{}, orderInfoDTO:{},
isGroupCard:'' isGroupCard:'',
mainRiskCode: ''
// isLessEighteen: true // 被保人手机号和邮箱默认展示 // isLessEighteen: true // 被保人手机号和邮箱默认展示
} }
}, },
@@ -101,6 +102,11 @@ export default {
this.orderInfoDTO = res.orderDTO.orderInfoDTO this.orderInfoDTO = res.orderDTO.orderInfoDTO
this.insuredInfo = res.orderDTO.insuredDTOs this.insuredInfo = res.orderDTO.insuredDTOs
this.insuredInfo.forEach(item => { this.insuredInfo.forEach(item => {
item.riskDTOLst.forEach(ii=>{
if(ii.isMainRisk == '0'){
this.mainRiskCode = ii.mainRiskCode
}
})
item.homeName = getAreaName([{ code: item.homeProvince }, { code: item.homeCity }, { code: item.homeArea }]) item.homeName = getAreaName([{ code: item.homeProvince }, { code: item.homeCity }, { code: item.homeArea }])
}) })
// this.riskDTO = res.orderDTO.insuredDTOs[0].riskDTOLst[0] // this.riskDTO = res.orderDTO.insuredDTOs[0].riskDTOLst[0]
@@ -132,6 +138,7 @@ export default {
}, },
methods: { methods: {
nextStep() { nextStep() {
if(this.mainRiskCode == 'GFRS_M0058'){
Dialog.alert({ Dialog.alert({
title: '特别提醒', title: '特别提醒',
messageAlign: 'left', messageAlign: 'left',
@@ -151,6 +158,17 @@ export default {
}) })
.catch(() => { .catch(() => {
}) })
}else{
this.$jump({
flag: 'h5',
extra: {
url: location.origin + `/#/cardList/SignatureConfirmation?isGroupCard=`+this.isGroupCard
},
routerInfo: {
path: `/cardList/SignatureConfirmation?isGroupCard=`+this.isGroupCard
}
})
}
} }
} }
} }

View File

@@ -290,6 +290,7 @@ export default {
accBankProvince: '', accBankProvince: '',
accBankCity: '', accBankCity: '',
areaStr: '', areaStr: '',
mainRiskCode: '',
isGroupCard:'' //1 团险标识 isGroupCard:'' //1 团险标识
} }
}, },
@@ -310,17 +311,13 @@ export default {
this.bankListName = orderDetail.orderAccountDTO.bankName this.bankListName = orderDetail.orderAccountDTO.bankName
this.orderStatus = orderDetail.orderInfoDTO.orderStatus this.orderStatus = orderDetail.orderInfoDTO.orderStatus
localStorage.orderNo = orderDetail.orderInfoDTO.orderNo localStorage.orderNo = orderDetail.orderInfoDTO.orderNo
// this.radio = '3' orderDetail.insuredDTOs.forEach(item=>{
// this.isLoading = true item.riskDTOLst.forEach(ii=>{
// this.$toast.loading({ if(ii.isMainRisk == '0'){
// duration: 0, // 持续展示 toast this.mainRiskCode = ii.mainRiskCode
// forbidClick: true, // 禁用背景点击 }
// loadingType: 'spinner', })
// message: '加载中……' })
// })
// setTimeout(() => {
// this.pay()
// }, 500)
} else { } else {
document.title = '支付分享' document.title = '支付分享'
// 再次支付 调详情 获取信息 // 再次支付 调详情 获取信息
@@ -744,6 +741,7 @@ export default {
let res = await saveOrUpdateAccount(data) let res = await saveOrUpdateAccount(data)
this.$toast.clear() this.$toast.clear()
if (res.result == '0') { if (res.result == '0') {
if(this.mainRiskCode == 'GFRS_M0058'){
Dialog.alert({ Dialog.alert({
title: '特别提醒', title: '特别提醒',
messageAlign: 'left', messageAlign: 'left',
@@ -761,25 +759,22 @@ export default {
}) })
.catch(() => { .catch(() => {
}) })
}else{
this.$toast.loading({
duration: 0, // 持续展示 toast
forbidClick: true, // 禁用背景点击
loadingType: 'spinner',
message: '加载中……'
})
this.acceptInsurance()
}
} else { } else {
this.$toast(res.resultMessage) this.$toast(res.resultMessage)
this.isLoading = false this.isLoading = false
} }
// })
} else { } else {
// if (!flag) { if(this.mainRiskCode == 'GFRS_M0058'){
// let rs = await this.underWrite()
// if (rs.result != '0') {
// this.$toast.clear()
// return this.$toast(rs.resultMessage)
// }
// if (rs.uwResult != '02') {
// return this.$toast(rs.message)
// }
// }
Dialog.alert({ Dialog.alert({
title: '特别提醒', title: '特别提醒',
messageAlign: 'left', messageAlign: 'left',
@@ -797,6 +792,16 @@ export default {
}) })
.catch(() => { .catch(() => {
}) })
}else{
this.$toast.loading({
duration: 0, // 持续展示 toast
forbidClick: true, // 禁用背景点击
loadingType: 'spinner',
message: '加载中……'
})
this.acceptInsurance()
}
} }
}, },
// 选择微信支付校验身份证类型 // 选择微信支付校验身份证类型