This commit is contained in:
jiawei
2023-02-22 15:08:10 +08:00
parent f72bb2aa7f
commit 57a45d575b
2 changed files with 8 additions and 2 deletions

View File

@@ -201,6 +201,7 @@ export default {
accBankCity: '', accBankCity: '',
areaStr: '', areaStr: '',
orderInfoDTO: '', orderInfoDTO: '',
updateAnswerType:false,
} }
}, },
methods: { methods: {
@@ -659,6 +660,7 @@ export default {
message: '加载中……' message: '加载中……'
}) })
if (res.result == 0) { if (res.result == 0) {
this.updateAnswerType = res.orderDTO.riskEvaluationDTO.isShowEvaluationPoint =='1'?true:false
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 )
console.log(updateAnswerType,'updateAnswerType'); console.log(updateAnswerType,'updateAnswerType');
@@ -752,6 +754,10 @@ export default {
}, 100) }, 100)
// 筛选按钮的点击事件 // 筛选按钮的点击事件
window.appCallBack = this.appCallBack window.appCallBack = this.appCallBack
// this.updateAnswerType = res.orderDTO.riskEvaluationDTO.isShowEvaluationPoint =='1'?true:false
// let updateAnswerType = res.orderDTO.riskEvaluationDTO.isShowEvaluationPoint =='1'?true:false
this.$store.commit('updateAnswerType', this.updateAnswerType )
console.log(this.updateAnswerType,'updateAnswerType');
}, },
computed: { computed: {
listenChange() { listenChange() {

View File

@@ -71,7 +71,7 @@ export default {
bnfFlag: '0', // 受益人类型 bnfFlag: '0', // 受益人类型
bnfType: '0', // 0 身故受益人 1 身前受益人 bnfType: '0', // 0 身故受益人 1 身前受益人
salePageFlag: '4', salePageFlag: '4',
// isShowEvaluationPoint:'0' isShowEvaluationPoint:'0'
} }
}, },
created() { created() {
@@ -84,7 +84,7 @@ export default {
} else { } else {
getOrderDetail({ orderNo: localStorage.orderNo }).then(res => { getOrderDetail({ orderNo: localStorage.orderNo }).then(res => {
if (res.result == 0) { 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 let updateAnswerType = res.orderDTO.riskEvaluationDTO.isShowEvaluationPoint =='1'?true:false
this.$store.commit('updateAnswerType', updateAnswerType ) this.$store.commit('updateAnswerType', updateAnswerType )
console.log(updateAnswerType,'updateAnswerType'); console.log(updateAnswerType,'updateAnswerType');