|
@@ -222,10 +222,12 @@
|
|
|
this.$u.api.gzbankSwept(this.payParams)
|
|
|
.then(res=>{
|
|
|
//#ifdef APP-PLUS
|
|
|
- plus.nativeUI.toast(res.msg);
|
|
|
- ALog.info({msg:'条码类型:err' + err});
|
|
|
+ // plus.nativeUI.toast(res.msg);
|
|
|
//#endif
|
|
|
// 启动定时器查询订单状态
|
|
|
+ uni.showLoading({
|
|
|
+ title: '查询支付状态中'
|
|
|
+ });
|
|
|
this.timer = setInterval(() => {
|
|
|
this.handlePayQuery(res.data.polyOrderId)
|
|
|
}, 3000);
|
|
@@ -264,6 +266,9 @@
|
|
|
},500)
|
|
|
|
|
|
// 启动定时器查询订单状态
|
|
|
+ uni.showLoading({
|
|
|
+ title: '查询支付状态中'
|
|
|
+ });
|
|
|
this.timer = setInterval(() => {
|
|
|
this.handlePayQuery(res.data.polyOrderId)
|
|
|
}, 3000);
|
|
@@ -313,6 +318,7 @@
|
|
|
// });
|
|
|
// 支付成功后的页面跳转
|
|
|
if (res.data.payStatus==1) {
|
|
|
+ uni.hideLoading();
|
|
|
clearInterval(this.timer)
|
|
|
this.$refs.uToast.show({
|
|
|
title:'支付成功',
|