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 // on close
}) })
} }
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 )
this.appntDTO = res.orderDTO.appntDTO this.appntDTO = res.orderDTO.appntDTO
this.orderInfoDTO = res.orderDTO.orderInfoDTO this.orderInfoDTO = res.orderDTO.orderInfoDTO
//如果是从编辑进来的 //如果是从编辑进来的

View File

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

View File

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