mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-11 09:46:43 +08:00
【把建议书的订单号传电子投保了, 建议书和电投订单号都用的orderNo混了】建议书localstorage存储的orderNo改为proposalNo--第二版
This commit is contained in:
@@ -514,8 +514,7 @@ export default {
|
||||
//在微信端
|
||||
params.proposalInfoDTO.proposalNo = this.$route.query.proposalNo
|
||||
/*this.mainRiskCodes = JSON.parse(this.$route.query.mainRiskCodes)*/
|
||||
localStorage.token = this.$route.query.token
|
||||
localStorage.orderNo = this.$route.query.proposalNo
|
||||
this.$CacheUtils.setLocItem('token',this.$route.query.token)
|
||||
let agentResult = await getAgentInfo({}) //调取代理人查询接口
|
||||
if (agentResult.result == '0') {
|
||||
let { agent } = this
|
||||
@@ -551,19 +550,19 @@ export default {
|
||||
},
|
||||
//app回调
|
||||
appCallBack(data) {
|
||||
if (data.trigger == 'right_button_click') {
|
||||
// eslint-disable-next-line no-undef
|
||||
EWebBridge.webCallAppInJs('bridge', {
|
||||
flag: 'share',
|
||||
extra: {
|
||||
title: this.wxTitle,
|
||||
content: '国富为您量身定制的保险产品,请查收',
|
||||
url: location.origin + '/#/proposal/proposalInfo?proposalNo=' + encodeURI(localStorage.orderNo) + '&token=' + encodeURI(res.content),
|
||||
img: this.$assetsUrl + 'images/logo.png'
|
||||
}
|
||||
})
|
||||
share()
|
||||
}
|
||||
// if (data.trigger == 'right_button_click') {
|
||||
// // eslint-disable-next-line no-undef
|
||||
// EWebBridge.webCallAppInJs('bridge', {
|
||||
// flag: 'share',
|
||||
// extra: {
|
||||
// title: this.wxTitle,
|
||||
// content: '国富为您量身定制的保险产品,请查收',
|
||||
// url: location.origin + '/#/proposal/proposalInfo?proposalNo=' + encodeURI(localStorage.proposalNo) + '&token=' + encodeURI(res.content),
|
||||
// img: this.$assetsUrl + 'images/logo.png'
|
||||
// }
|
||||
// })
|
||||
// share()
|
||||
// }
|
||||
if (data.trigger == 'left_button_click') {
|
||||
this.$jump({
|
||||
flag: 'h5',
|
||||
@@ -607,7 +606,7 @@ export default {
|
||||
extra: {
|
||||
title: this.wxTitle,
|
||||
content: shareContent,
|
||||
url: location.origin + '/#/proposal/proposalInfo?proposalNo=' + encodeURI(localStorage.orderNo) + '&token=' + encodeURI(res.content),
|
||||
url: location.origin + '/#/proposal/proposalInfo?proposalNo=' + encodeURI(localStorage.proposalNo) + '&token=' + encodeURI(res.content),
|
||||
img: this.$assetsUrl + 'images/logo.png'
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user