mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-11 20:16:44 +08:00
受益人页面订单号缺失问题
This commit is contained in:
@@ -592,11 +592,11 @@ export default {
|
|||||||
flag: 'h5',
|
flag: 'h5',
|
||||||
extra: {
|
extra: {
|
||||||
forbidSwipeBack: '1',
|
forbidSwipeBack: '1',
|
||||||
url: location.origin + '/#' + routerUrl,
|
url: location.origin + '/#' + routerUrl+'?orderNo='+this.$CacheUtils.getLocItem('orderNo'),
|
||||||
needRefresh: '1'
|
needRefresh: '1'
|
||||||
},
|
},
|
||||||
routerInfo: {
|
routerInfo: {
|
||||||
path: routerUrl
|
path: routerUrl+'?orderNo='+this.$CacheUtils.getLocItem('orderNo')
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -83,7 +83,7 @@ export default {
|
|||||||
this.type = '2'
|
this.type = '2'
|
||||||
console.log(this.beneficiaries)
|
console.log(this.beneficiaries)
|
||||||
} else {
|
} else {
|
||||||
getOrderDetail({ orderNo: localStorage.orderNo }).then(res => {
|
getOrderDetail({ orderNo: this.$route.query.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
|
||||||
@@ -165,7 +165,7 @@ export default {
|
|||||||
productDTO: null,
|
productDTO: null,
|
||||||
orderInfoDTO: {
|
orderInfoDTO: {
|
||||||
bnfFlag: this.bnfFlag,
|
bnfFlag: this.bnfFlag,
|
||||||
orderNo: localStorage.orderNo
|
orderNo: this.$route.query.orderNo
|
||||||
},
|
},
|
||||||
appntDTO: {},
|
appntDTO: {},
|
||||||
insuredDTOs: [
|
insuredDTOs: [
|
||||||
@@ -193,11 +193,11 @@ export default {
|
|||||||
flag: 'h5',
|
flag: 'h5',
|
||||||
extra: {
|
extra: {
|
||||||
forbidSwipeBack: '1',
|
forbidSwipeBack: '1',
|
||||||
url: location.origin + `/#/sale/notifyingMessage`,
|
url: location.origin + `/#/sale/notifyingMessage?orderNo=`+this.$CacheUtils.getLocItem('orderNo'),
|
||||||
needRefresh: '1'
|
needRefresh: '1'
|
||||||
},
|
},
|
||||||
routerInfo: {
|
routerInfo: {
|
||||||
path: `/sale/notifyingMessage`
|
path: `/sale/notifyingMessage?orderNo=`+this.$CacheUtils.getLocItem('orderNo')
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
@@ -265,7 +265,7 @@ export default {
|
|||||||
},
|
},
|
||||||
//获取受益人列表
|
//获取受益人列表
|
||||||
async getBeneficiaryList() {
|
async getBeneficiaryList() {
|
||||||
const res = await getOrderDetail({ orderNo: localStorage.orderNo })
|
const res = await getOrderDetail({ orderNo: this.$route.query.orderNo })
|
||||||
console.log(res)
|
console.log(res)
|
||||||
if (res.result == 0 && res.orderDTO) {
|
if (res.result == 0 && res.orderDTO) {
|
||||||
this.beneficiaries = res.orderDTO.inuseredDTOs[0].bnfDTOs
|
this.beneficiaries = res.orderDTO.inuseredDTOs[0].bnfDTOs
|
||||||
|
|||||||
@@ -193,7 +193,7 @@ export default {
|
|||||||
},
|
},
|
||||||
async created() {
|
async created() {
|
||||||
// this.$store.commit('updateAnswerType', false )
|
// this.$store.commit('updateAnswerType', false )
|
||||||
let res= await getOrderDetail({ orderNo: localStorage.orderNo })
|
let res= await getOrderDetail({ orderNo: this.$route.query.orderNo })
|
||||||
// getOrderDetail({ orderNo: `8186270000000036` }).then(res => {
|
// getOrderDetail({ orderNo: `8186270000000036` }).then(res => {
|
||||||
if (res.result == 0) {
|
if (res.result == 0) {
|
||||||
//投被保险人关系
|
//投被保险人关系
|
||||||
@@ -659,7 +659,7 @@ export default {
|
|||||||
orderType: 'IMPART_ORDER',
|
orderType: 'IMPART_ORDER',
|
||||||
orderDTO: {
|
orderDTO: {
|
||||||
orderInfoDTO: {
|
orderInfoDTO: {
|
||||||
orderNo: window.localStorage.getItem('orderNo'),
|
orderNo: this.$route.query.orderNo,
|
||||||
productCode: JSON.parse(localStorage.mainRiskCodes)[0]
|
productCode: JSON.parse(localStorage.mainRiskCodes)[0]
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -718,7 +718,7 @@ export default {
|
|||||||
orderType: 'IMPART_ORDER',
|
orderType: 'IMPART_ORDER',
|
||||||
orderDTO: {
|
orderDTO: {
|
||||||
orderInfoDTO: {
|
orderInfoDTO: {
|
||||||
orderNo: window.localStorage.getItem('orderNo'),
|
orderNo: this.$route.query.orderNo,
|
||||||
productCode: JSON.parse(localStorage.mainRiskCodes)[0]
|
productCode: JSON.parse(localStorage.mainRiskCodes)[0]
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -752,7 +752,7 @@ export default {
|
|||||||
orderType: 'IMPART_ORDER',
|
orderType: 'IMPART_ORDER',
|
||||||
orderDTO: {
|
orderDTO: {
|
||||||
orderInfoDTO: {
|
orderInfoDTO: {
|
||||||
orderNo: window.localStorage.getItem('orderNo'),
|
orderNo: this.$route.query.orderNo,
|
||||||
productCode: JSON.parse(localStorage.mainRiskCodes)[0]
|
productCode: JSON.parse(localStorage.mainRiskCodes)[0]
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user