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