受益人页面订单号缺失问题

This commit is contained in:
lyt
2023-04-04 10:08:38 +08:00
parent 5de04edaf6
commit 0801955c6a
3 changed files with 11 additions and 11 deletions

View File

@@ -592,11 +592,11 @@ export default {
flag: 'h5',
extra: {
forbidSwipeBack: '1',
url: location.origin + '/#' + routerUrl,
url: location.origin + '/#' + routerUrl+'?orderNo='+this.$CacheUtils.getLocItem('orderNo'),
needRefresh: '1'
},
routerInfo: {
path: routerUrl
path: routerUrl+'?orderNo='+this.$CacheUtils.getLocItem('orderNo')
}
})
}

View File

@@ -83,7 +83,7 @@ export default {
this.type = '2'
console.log(this.beneficiaries)
} else {
getOrderDetail({ orderNo: localStorage.orderNo }).then(res => {
getOrderDetail({ orderNo: this.$route.query.orderNo }).then(res => {
if (res.result == 0) {
this.isShowEvaluationPoint = res.orderDTO.riskEvaluationDTO.isShowEvaluationPoint
let updateAnswerType = res.orderDTO.riskEvaluationDTO.isShowEvaluationPoint =='1'?true:false
@@ -165,7 +165,7 @@ export default {
productDTO: null,
orderInfoDTO: {
bnfFlag: this.bnfFlag,
orderNo: localStorage.orderNo
orderNo: this.$route.query.orderNo
},
appntDTO: {},
insuredDTOs: [
@@ -193,11 +193,11 @@ export default {
flag: 'h5',
extra: {
forbidSwipeBack: '1',
url: location.origin + `/#/sale/notifyingMessage`,
url: location.origin + `/#/sale/notifyingMessage?orderNo=`+this.$CacheUtils.getLocItem('orderNo'),
needRefresh: '1'
},
routerInfo: {
path: `/sale/notifyingMessage`
path: `/sale/notifyingMessage?orderNo=`+this.$CacheUtils.getLocItem('orderNo')
}
})
} else {
@@ -265,7 +265,7 @@ export default {
},
//获取受益人列表
async getBeneficiaryList() {
const res = await getOrderDetail({ orderNo: localStorage.orderNo })
const res = await getOrderDetail({ orderNo: this.$route.query.orderNo })
console.log(res)
if (res.result == 0 && res.orderDTO) {
this.beneficiaries = res.orderDTO.inuseredDTOs[0].bnfDTOs

View File

@@ -193,7 +193,7 @@ export default {
},
async created() {
// 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 => {
if (res.result == 0) {
//投被保险人关系
@@ -659,7 +659,7 @@ export default {
orderType: 'IMPART_ORDER',
orderDTO: {
orderInfoDTO: {
orderNo: window.localStorage.getItem('orderNo'),
orderNo: this.$route.query.orderNo,
productCode: JSON.parse(localStorage.mainRiskCodes)[0]
},
@@ -718,7 +718,7 @@ export default {
orderType: 'IMPART_ORDER',
orderDTO: {
orderInfoDTO: {
orderNo: window.localStorage.getItem('orderNo'),
orderNo: this.$route.query.orderNo,
productCode: JSON.parse(localStorage.mainRiskCodes)[0]
},
@@ -752,7 +752,7 @@ export default {
orderType: 'IMPART_ORDER',
orderDTO: {
orderInfoDTO: {
orderNo: window.localStorage.getItem('orderNo'),
orderNo: this.$route.query.orderNo,
productCode: JSON.parse(localStorage.mainRiskCodes)[0]
},