风险测评选择产品页面新增判断,解决建议书报错问题

This commit is contained in:
jiawei
2023-02-28 14:48:40 +08:00
parent 6d99acb0ec
commit a96dd713c2

View File

@@ -274,11 +274,14 @@ export default {
resultData = await orderDetail({ orderNo: this.$CacheUtils.getLocItem('orderNo'), isMerge: '1' })
}
if (resultData.result == 0) {
//判断是否显示风险测评tab
let updateAnswerType = resultData.orderDTO.riskEvaluationDTO.isShowEvaluationPoint =='1'?true:false
this.$store.commit('updateAnswerType', updateAnswerType )
console.log(updateAnswerType,'updateAnswerType');
this.renovate = new Date().getTime()
if( resultData.orderDTO.riskEvaluationDTO) {
//判断是否显示风险测评tab
let updateAnswerType = resultData.orderDTO.riskEvaluationDTO.isShowEvaluationPoint =='1'?true:false
this.$store.commit('updateAnswerType', updateAnswerType )
// console.log(updateAnswerType,'updateAnswerType');
this.renovate = new Date().getTime()
}
let riskDTOLst
if (isProposal) {
this.$CacheUtils.setLocItem('saleInsuredInfo',JSON.stringify(resultData.content[0].appntDTO))//存储投保人信息