修改投保人风险评估未消失

This commit is contained in:
jiawei
2023-02-22 10:35:25 +08:00
parent c087a7b55c
commit 8bd57006f7
5 changed files with 10 additions and 5 deletions

View File

@@ -85,8 +85,8 @@ export default {
getOrderDetail({ orderNo: localStorage.orderNo }).then(res => {
if (res.result == 0) {
// this.isShowEvaluationPoint = res.orderDTO.riskEvaluationDTO.isShowEvaluationPoint
// let updateAnswerType = res.orderDTO.riskEvaluationDTO.isShowEvaluationPoint =='1'?true:false
// this.$store.commit('updateAnswerType', updateAnswerType )
let updateAnswerType = res.orderDTO.riskEvaluationDTO.isShowEvaluationPoint =='1'?true:false
this.$store.commit('updateAnswerType', updateAnswerType )
this.$utils.intLocalStorage(res)
this.type = res.orderDTO.orderInfoDTO.bnfFlag == '1' ? '2' : '1' //bnfFlag 0-法定受益人 1-指定受益人
if (res.orderDTO.orderInfoDTO.bnfFlag == null) {

View File

@@ -556,6 +556,9 @@ export default {
const orderNo = this.$CacheUtils.getLocItem('orderNo')
getOrderDetail({ orderNo: orderNo }).then((res) => {
if (res.result == 0) {
let updateAnswerType = res.orderDTO.riskEvaluationDTO.isShowEvaluationPoint =='1'?true:false
console.log(updateAnswerType,'updateAnswerType');
this.$store.commit( 'updateAnswerType',updateAnswerType )
//投保人信息返显
this.userInfo = res.orderDTO.appntDTO
this.setCustomerMarriage(res.orderDTO.appntDTO.marriage)

View File

@@ -610,6 +610,7 @@ export default {
}
},
created() {
this.$store.commit('updateAnswerType', false )
this.specilFlag = this.$route.query.specilFlag
//如果是编辑/导航进来
// if (this.$route.query.edit) {

View File

@@ -195,9 +195,10 @@ export default {
// getOrderDetail({ orderNo: `8186270000000036` }).then(res => {
if (res.result == 0) {
//投被保险人关系
this.isShowEvaluationPoint = res.orderDTO.riskEvaluationDTO.isShowEvaluationPoint
// this.isShowEvaluationPoint = res.orderDTO.riskEvaluationDTO.isShowEvaluationPoint
let updateAnswerType = res.orderDTO.riskEvaluationDTO.isShowEvaluationPoint =='1'?true:false
this.$store.commit('updateAnswerType', updateAnswerType )
console.log(updateAnswerType,'updateAnswerType');
this.$store.commit( 'updateAnswerType',updateAnswerType )
this.isExistAdditionalRisk = res.orderDTO.insuredDTOs[0].riskDTOLst.length > 1 ? true : false
console.log('this.is ====', this.isExistAdditionalRisk)
this.relationToAppnt = res.orderDTO.insuredDTOs[0].relationToAppnt

View File

@@ -22,7 +22,7 @@
<div style="padding-bottom:10vh">
<h5 class="pt20 m10">投保人声明</h5>
<van-checkbox-group v-model="result" v-for="(item, index) in statementlist" :key="index" @change="statementChange">
<van-checkbox :name="index" class="mt20" label-disabled >{{index+1}}. <span v-html="item"></span></van-checkbox>
<van-checkbox :name="index" class="mt20" label-disabled ><span v-html="item"></span></van-checkbox>
<!-- <van-checkbox :name="index" class="mt20" label-disabled ></van-checkbox>
<span v-html="item"></span> -->
</van-checkbox-group>