|
@@ -419,15 +419,25 @@
|
|
|
if (res.data.payStatus==1) {
|
|
|
uni.hideLoading();
|
|
|
clearInterval(this.timer)
|
|
|
- this.$refs.uToast.show({
|
|
|
- title:'支付成功',
|
|
|
- type: 'success',
|
|
|
- url:'pages/getout/getout',
|
|
|
- // params: {
|
|
|
- // vehicleNo:this.orderVehicleNo,
|
|
|
- // },
|
|
|
- duration:10000
|
|
|
+
|
|
|
+ uni.showToast({
|
|
|
+ title: '支付成功',
|
|
|
+ duration: 3000,
|
|
|
+ success() {
|
|
|
+ uni.redirectTo({
|
|
|
+ url: '/pages/getout/getout'
|
|
|
+ });
|
|
|
+ }
|
|
|
});
|
|
|
+ // this.$refs.uToast.show({
|
|
|
+ // title:'支付成功',
|
|
|
+ // type: 'success',
|
|
|
+ // url:'pages/getout/getout',
|
|
|
+ // // params: {
|
|
|
+ // // vehicleNo:this.orderVehicleNo,
|
|
|
+ // // },
|
|
|
+ // duration:3000
|
|
|
+ // });
|
|
|
};
|
|
|
console.log('handlePayQuery',res)
|
|
|
}).catch(err=>{
|