This commit is contained in:
jiawei
2023-02-22 10:52:23 +08:00
parent 8bd57006f7
commit fc0c3b2509
3 changed files with 5 additions and 3 deletions

View File

@@ -676,8 +676,8 @@ export default {
// on close
})
}
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.appntDTO = res.orderDTO.appntDTO
this.orderInfoDTO = res.orderDTO.orderInfoDTO
//如果是从编辑进来的

View File

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

View File

@@ -195,11 +195,14 @@ 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
this.$utils.intLocalStorage(res)