建议书参数缺失优化--三次提交 提交人:白金岩

This commit is contained in:
bai.jinyan
2021-08-05 16:33:35 +08:00
parent 45d99f47cd
commit 005b2916eb
2 changed files with 9 additions and 3 deletions

View File

@@ -91,6 +91,7 @@ export default {
// })
},
goProposal() {
this.$CacheUtils.removeLocItem('orderNo')
// 跳转到制作建议书( 投保人信息 )
this.$jump({
flag: 'h5',

View File

@@ -471,6 +471,11 @@ export default {
proposalNo: ''
}
}
if (this.$route.query.proposalNo) {
this.proposalNo = this.$route.query.proposalNo;
params.proposalInfoDTO.proposalNo = this.$route.query.proposalNo
this.$CacheUtils.setLocItem('orderNo',this.$route.query.proposalNo)
}
if (this.isWeixin) {
//在微信端
params.proposalInfoDTO.proposalNo = this.$route.query.proposalNo
@@ -504,7 +509,7 @@ export default {
}
} else {
//在app端
params.proposalInfoDTO.proposalNo = this.$CacheUtils.getLocItem('orderNo')
params.proposalInfoDTO.proposalNo = this.$route.query.proposalNo
getDemo(params).then(res => {
this.formatLocal(res)
})
@@ -519,7 +524,7 @@ export default {
extra: {
title: this.wxTitle,
content: '国富为您量身定制的保险产品,请查收',
url: location.origin + '/#/proposal/proposalInfo?proposalNo=' + encodeURI(localStorage.orderNo) + '&token=' + encodeURI(res.content),
url: location.origin + '/#/proposal/proposalInfo?proposalNo=' + encodeURI(this.proposalNo) + '&token=' + encodeURI(res.content),
img: this.$assetsUrl + 'images/logo.png'
}
})
@@ -548,7 +553,7 @@ export default {
extra: {
title: this.wxTitle,
content: '国富为您量身定制的保险产品,请查收',
url: location.origin + '/#/proposal/proposalInfo?proposalNo=' + encodeURI(localStorage.orderNo) + '&token=' + encodeURI(res.content),
url: location.origin + '/#/proposal/proposalInfo?proposalNo=' + encodeURI(this.proposalNo) + '&token=' + encodeURI(res.content),
img: this.$assetsUrl + 'images/logo.png'
}
})