From ad49312a84c2bf3e30f92618414b7ad6b0c25fb0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=9A=AE=E4=BC=9F?= Date: Fri, 6 Dec 2019 15:13:10 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E6=9B=B4=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/ebiz/proposal/Exhibition.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/ebiz/proposal/Exhibition.vue b/src/views/ebiz/proposal/Exhibition.vue index a819c22b5..1822104b5 100644 --- a/src/views/ebiz/proposal/Exhibition.vue +++ b/src/views/ebiz/proposal/Exhibition.vue @@ -233,7 +233,6 @@ export default { }, mounted() { document.body.style.backgroundColor = '#fff' - this.mainRiskCodes = JSON.parse(localStorage.mainRiskCodes) setTimeout(() => { // 右上角的显示 window.EWebBridge.webCallAppInJs('webview_right_button', { @@ -263,7 +262,7 @@ export default { if (this.isWeixin) { //在微信端 params.proposalInfoDTO.proposalNo = this.$route.query.proposalNo - localStorage.mainRiskCodes = JSON.parse(this.$route.query.mainRiskCodes) + this.mainRiskCodes = JSON.parse(this.$route.query.mainRiskCodes) localStorage.token = this.$route.query.token localStorage.orderNo = this.$route.query.proposalNo let agentResult = await getAgentInfo({}) //调取代理人查询接口 @@ -294,6 +293,7 @@ export default { } else { //在app端 params.proposalInfoDTO.proposalNo = localStorage.orderNo + this.mainRiskCodes = JSON.parse(localStorage.mainRiskCodes) getDemo(params).then(res => { this.formatLocal(res) }) From b32d55f63568e65e22de01d5a849b46c3bbf5152 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=9A=AE=E4=BC=9F?= Date: Fri, 6 Dec 2019 15:14:19 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E8=A7=A3=E5=86=B3=E5=AE=89=E5=8D=93?= =?UTF-8?q?=E4=BC=A0url=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/ebiz/proposal/Exhibition.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/ebiz/proposal/Exhibition.vue b/src/views/ebiz/proposal/Exhibition.vue index 1822104b5..483ca6ac8 100644 --- a/src/views/ebiz/proposal/Exhibition.vue +++ b/src/views/ebiz/proposal/Exhibition.vue @@ -307,7 +307,7 @@ export default { extra: { title: this.wxTitle, content: '国富为您量身定制的保险产品,请查收', - url: location.origin + '/#/proposal/exhibition?proposalNo=' + localStorage.orderNo + '&token=' + localStorage.token + '&mainRiskCodes=' + JSON.stringify(localStorage.mainRiskCodes), + url: encodeURIComponent(location.origin + '/#/proposal/exhibition?proposalNo=' + localStorage.orderNo + '&token=' + localStorage.token + '&mainRiskCodes=' + JSON.stringify(localStorage.mainRiskCodes)), // url: 'http://47.96.143.111/#/proposal/exhibition?proposalNo=' + localStorage.orderNo + '&token=' + localStorage.token, img: this.$assetsUrl + 'images/logo.png' }