mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-12 04:26:44 +08:00
save
This commit is contained in:
@@ -74,23 +74,20 @@ export default {
|
|||||||
// isShowEvaluationPoint:'0'
|
// isShowEvaluationPoint:'0'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
async created() {
|
created() {
|
||||||
// this.$store.commit('updateAnswerType', false )
|
|
||||||
let res = await getOrderDetail({ orderNo: localStorage.orderNo })
|
|
||||||
// 是否从添加指定受益人页面跳转
|
// 是否从添加指定受益人页面跳转
|
||||||
if (localStorage.fromAddBeneficiaryInfo) {
|
if (localStorage.fromAddBeneficiaryInfo) {
|
||||||
let updateAnswerType = res.orderDTO.riskEvaluationDTO.isShowEvaluationPoint =='1'?true:false
|
|
||||||
this.$store.commit('updateAnswerType', updateAnswerType )
|
|
||||||
this.type = '2'
|
this.type = '2'
|
||||||
this.beneficiaries = this.beneficiaries.concat(JSON.parse(localStorage.beneficiaryInfo))
|
this.beneficiaries = this.beneficiaries.concat(JSON.parse(localStorage.beneficiaryInfo))
|
||||||
this.type = '2'
|
this.type = '2'
|
||||||
console.log(this.beneficiaries)
|
console.log(this.beneficiaries)
|
||||||
} 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');
|
||||||
this.$utils.intLocalStorage(res)
|
this.$utils.intLocalStorage(res)
|
||||||
this.type = res.orderDTO.orderInfoDTO.bnfFlag == '1' ? '2' : '1' //bnfFlag 0-法定受益人 1-指定受益人
|
this.type = res.orderDTO.orderInfoDTO.bnfFlag == '1' ? '2' : '1' //bnfFlag 0-法定受益人 1-指定受益人
|
||||||
if (res.orderDTO.orderInfoDTO.bnfFlag == null) {
|
if (res.orderDTO.orderInfoDTO.bnfFlag == null) {
|
||||||
@@ -103,7 +100,7 @@ export default {
|
|||||||
localStorage.beneficiaryInfo = []
|
localStorage.beneficiaryInfo = []
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// })
|
})
|
||||||
}
|
}
|
||||||
this.insuredPerson = JSON.parse(this.$CacheUtils.getLocItem('saleInsuredPersonInfo')).name
|
this.insuredPerson = JSON.parse(this.$CacheUtils.getLocItem('saleInsuredPersonInfo')).name
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user