【国富人寿】建议书跳转链接拼接订单号 并区分投保与建议书链接传递的数据

This commit is contained in:
liu.xiaofeng@ebiz-digits.com
2023-05-15 09:24:13 +08:00
parent 2af19f863d
commit d352c9698e
9 changed files with 2612 additions and 2556 deletions

View File

@@ -121,7 +121,7 @@ export default {
} else {
return new Promise((resolve, reject) => {
getDetail({
orderNo: this.$route.query.orderNo
orderNo: this.$route.query.proposalOrderNo
}).then(res => {
if (res.result == '0') {
this.recommendType = res.content[0].recmdDTO?res.content[0].recmdDTO.recommendType:'';
@@ -219,6 +219,12 @@ export default {
if (this.list.length == 0) {
this.$dialog({ message: '暂无可选产品!' }).then(() => {
let thismyurl = ''
if (this.$route.query.orderNo) {
thismyurl = '?orderNo=' + this.$route.query.orderNo
} else if (this.$route.query.proposalOrderNo) {
thismyurl = '?proposalOrderNo=' + this.$route.query.proposalOrderNo
}
this.$jump({
flag: 'goBack',
// extra: {
@@ -226,7 +232,7 @@ export default {
// },
routerInfo: {
type: 1,
path: '/common/selectedProduct'
path: '/common/selectedProduct' + thismyurl
}
})
})
@@ -289,6 +295,12 @@ export default {
if (this.list.length == 0) {
this.$dialog({ message: '暂无可选产品!' }).then(() => {
let thismyurl = ''
if (this.$route.query.orderNo) {
thismyurl = '?orderNo=' + this.$route.query.orderNo
} else if (this.$route.query.proposalOrderNo) {
thismyurl = '?proposalOrderNo=' + this.$route.query.proposalOrderNo
}
this.$jump({
flag: 'goBack',
// extra: {
@@ -296,7 +308,7 @@ export default {
// },
routerInfo: {
type: 1,
path: '/common/selectedProduct'
path: '/common/selectedProduct' + thismyurl
}
})
})
@@ -518,13 +530,19 @@ export default {
},
//页面跳转
jumpTo() {
let thismyurl = ''
if (this.$route.query.orderNo) {
thismyurl = '?orderNo=' + this.$route.query.orderNo
} else if (this.$route.query.proposalOrderNo) {
thismyurl = '?proposalOrderNo=' + this.$route.query.proposalOrderNo
}
this.$jump({
flag: 'h5',
extra: {
url: location.origin + '/#/common/calculatePremium?orderNo=' + this.$route.query.orderNo
url: location.origin + '/#/common/calculatePremium' + thismyurl
},
routerInfo: {
path: '/common/calculatePremium?orderNo=' + this.$route.query.orderNo
path: '/common/calculatePremium' + thismyurl
}
})
}