From 32c5382687e390c10951b972853fc98e7083aec5 Mon Sep 17 00:00:00 2001 From: wangmingzhe Date: Tue, 21 Apr 2020 16:01:23 +0800 Subject: [PATCH 01/14] =?UTF-8?q?[NEW]=20=E6=96=B0=E5=A2=9E=E6=8A=95?= =?UTF-8?q?=E4=BF=9D=E5=88=86=E4=BA=AB=E5=BE=AE=E4=BF=A1=E6=94=AF=E4=BB=98?= =?UTF-8?q?=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/ebiz/sale/PayMent.vue | 78 +++++++++++++++++++++++++-------- 1 file changed, 59 insertions(+), 19 deletions(-) diff --git a/src/views/ebiz/sale/PayMent.vue b/src/views/ebiz/sale/PayMent.vue index 27e6eece2..245d4c0df 100644 --- a/src/views/ebiz/sale/PayMent.vue +++ b/src/views/ebiz/sale/PayMent.vue @@ -9,13 +9,22 @@ - + - - - + + + + + + + + + + + +
@@ -63,12 +72,18 @@
-
+
返回投保单列表 去支付
+
+ 去支付 + 分享 +
+ + diff --git a/src/views/ebiz/sale/PayMent.vue b/src/views/ebiz/sale/PayMent.vue index 986fe7382..f9b89d3a1 100644 --- a/src/views/ebiz/sale/PayMent.vue +++ b/src/views/ebiz/sale/PayMent.vue @@ -83,12 +83,15 @@ > 分享 + + diff --git a/src/views/ebiz/sale/PayMent.vue b/src/views/ebiz/sale/PayMent.vue index d1e876f96..09a480e1d 100644 --- a/src/views/ebiz/sale/PayMent.vue +++ b/src/views/ebiz/sale/PayMent.vue @@ -205,12 +205,14 @@ export default { methods: { // 点击支付 payMent() { - this.$toast.loading({ - duration: 0, // 持续展示 toast - forbidClick: true, // 禁用背景点击 - loadingType: 'spinner', - message: '加载中……' - }) + if (!this.isWeixin) { + this.$toast.loading({ + duration: 0, // 持续展示 toast + forbidClick: true, // 禁用背景点击 + loadingType: 'spinner', + message: '加载中……' + }) + } let that = this let data = { orderNo: window.localStorage.getItem('orderNo'), @@ -252,9 +254,8 @@ export default { window.localStorage.setItem('payStatus', res.payStatus) window.localStorage.setItem('payInfo', JSON.stringify(res)) - if (!this.isWeixin) { + if (this.isWeixin) { this.isLoading = false - console.log('隐藏') } } else { if (!this.isWeixin) { From 417090ff5f398857e312a2863e2bb0658ae5dfbd Mon Sep 17 00:00:00 2001 From: wangmingzhe Date: Sun, 26 Apr 2020 16:44:27 +0800 Subject: [PATCH 11/14] =?UTF-8?q?[NEW]=20=E4=BF=AE=E6=94=B9=E5=88=86?= =?UTF-8?q?=E4=BA=AB=E5=BE=AE=E4=BF=A1=E6=94=AF=E4=BB=98=E9=A1=B5=E9=9D=A2?= =?UTF-8?q?loading=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/ebiz/Loading.vue | 14 ++------------ src/views/ebiz/sale/PayMent.vue | 3 --- 2 files changed, 2 insertions(+), 15 deletions(-) diff --git a/src/components/ebiz/Loading.vue b/src/components/ebiz/Loading.vue index 95da45919..554f650f0 100644 --- a/src/components/ebiz/Loading.vue +++ b/src/components/ebiz/Loading.vue @@ -1,10 +1,6 @@ @@ -19,9 +15,7 @@ export default { } }, data() { - return { - src: this.$assetsUrl + 'images/loading.gif' - } + return {} }, components: { [Overlay.name]: Overlay @@ -30,10 +24,6 @@ export default { From 8e6a98ba2667bc94af91cc30fa28fd39689be640 Mon Sep 17 00:00:00 2001 From: "tian.guangyuan" Date: Fri, 8 May 2020 15:17:14 +0800 Subject: [PATCH 13/14] =?UTF-8?q?Revert=20"=E3=80=90fix=E3=80=91=20?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D=20bug=20GFRS-1185=20=E3=80=90=E5=AF=B9?= =?UTF-8?q?=E6=8E=A5=E5=8C=85=E5=AE=B9=E5=BE=AE=E4=BF=A1=E6=94=AF=E4=BB=98?= =?UTF-8?q?=E3=80=91=E9=80=89=E6=8B=A9=E6=94=AF=E4=BB=98=E6=96=B9=E5=BC=8F?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2-=E9=80=89=E6=8B=A9=E5=BE=AE=E4=BF=A1?= =?UTF-8?q?=E6=94=AF=E4=BB=98=EF=BC=8C=E9=A1=B5=E9=9D=A2=E7=BC=BA=E5=B0=91?= =?UTF-8?q?=E6=B8=A9=E9=A6=A8=E6=8F=90=E7=A4=BA"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit b1e20c02edec250765556649ffda1dd0fb5a2807. --- src/views/ebiz/sale/PayMent.vue | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/src/views/ebiz/sale/PayMent.vue b/src/views/ebiz/sale/PayMent.vue index 38bb2b7bd..45c9cd1ae 100644 --- a/src/views/ebiz/sale/PayMent.vue +++ b/src/views/ebiz/sale/PayMent.vue @@ -30,7 +30,6 @@ {{ underWriteData.bankName }}
-
@@ -163,7 +162,8 @@ export default { SDPB: '310', SHB: '7006', CITIC: '302', - PSBC: '7008' + PSBC: '7008', + CIB: '309' }, isWeixin, // 是否为微信环境 isLoading: false // 分享到微信后的页面loading @@ -247,11 +247,6 @@ export default { this.$forceUpdate() let thisRef = this this.$nextTick(() => { - // eslint-disable-next-line - EWebBridge.webCallAppInJs("goBack", { - refresh: '1', - index: '-2' - }) thisRef.$refs.payForm.submit() // 表单提交,发起支付,跳至收银台 }) @@ -373,7 +368,6 @@ export default { }, share() { let shareName = this.underWriteData.appntName - // eslint-disable-next-line EWebBridge.webCallAppInJs('bridge', { flag: 'share', extra: { @@ -419,7 +413,4 @@ export default { padding-left: 13px; padding-right: 3px; } -.redDanger { - color: #E9332E !important; -} From 9416cb1099c7215140c8973af9241a3f3720a1f5 Mon Sep 17 00:00:00 2001 From: "tian.guangyuan" Date: Fri, 8 May 2020 20:06:09 +0800 Subject: [PATCH 14/14] =?UTF-8?q?=E3=80=90fix=E3=80=91=20=E5=BE=AE?= =?UTF-8?q?=E4=BF=A1=E4=B8=AD=E5=9B=9E=E8=B0=83=E5=88=B0=E6=94=AF=E4=BB=98?= =?UTF-8?q?=E7=BB=93=E6=9E=9C=E9=A1=B5=E9=9D=A2=E6=97=B6=EF=BC=8C=E4=BF=AE?= =?UTF-8?q?=E6=94=B9=E9=83=A8=E5=88=86=E9=80=BB=E8=BE=91=EF=BC=8C=E5=B0=86?= =?UTF-8?q?=E8=BF=94=E5=9B=9E=E4=BF=AE=E6=94=B9=E4=B8=BA=E5=85=B3=E9=97=AD?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/ebiz/sale/PayResult.vue | 29 +++++++++++++++++------------ 1 file changed, 17 insertions(+), 12 deletions(-) diff --git a/src/views/ebiz/sale/PayResult.vue b/src/views/ebiz/sale/PayResult.vue index bdeacd3fc..8d4abdc8f 100644 --- a/src/views/ebiz/sale/PayResult.vue +++ b/src/views/ebiz/sale/PayResult.vue @@ -32,11 +32,11 @@
- 返回列表页 + {{isWeixin ? '返回' :'返回列表页'}}
重新支付 - 返回列表页 + {{isWeixin ? '返回' :'返回列表页'}}
重新支付 @@ -50,7 +50,9 @@ import { Cell, CellGroup } from 'vant' import { getPayState } from '@/api/ebiz/sale/sale' export default { data() { + let isWeixin = this.$utils.device().isWeixin //判断环境 return { + isWeixin, // 保融收银台返回的支付流水号 paySeqNo: '', // 接口返回数据前,不做页面渲染 @@ -80,16 +82,19 @@ export default { methods: { // 返回列表页 next() { - this.$jump({ - flag: 'h5', - extra: { - url: location.origin + '/#/sale/list' - }, - - routerInfo: { - path: '/sale/list' - } - }) + if(this.isWeixin){ + WeixinJSBridge.call("closeWindow"); + }else{ + this.$jump({ + flag: 'h5', + extra: { + url: location.origin + '/#/sale/list' + }, + routerInfo: { + path: '/sale/list' + } + }) + } }, // 查询支付状态 queryPayState() {