|
@@ -39,6 +39,7 @@
|
|
mixins: [MescrollMixin], // 使用mixin
|
|
mixins: [MescrollMixin], // 使用mixin
|
|
data() {
|
|
data() {
|
|
return {
|
|
return {
|
|
|
|
+ currentPayUrl: "",
|
|
payList: [],
|
|
payList: [],
|
|
list: [
|
|
list: [
|
|
{index:0,name: '未缴费',orderStatu:3,pageNum:1,total:null}
|
|
{index:0,name: '未缴费',orderStatu:3,pageNum:1,total:null}
|
|
@@ -130,11 +131,23 @@
|
|
this.orderList.push(item.orderId)
|
|
this.orderList.push(item.orderId)
|
|
}
|
|
}
|
|
});
|
|
});
|
|
- console.log(this.orderList)
|
|
|
|
|
|
|
|
this.$u.api.payGzbank({orderList: this.orderList}).then(res=>{
|
|
this.$u.api.payGzbank({orderList: this.orderList}).then(res=>{
|
|
let payUrl = res.data.url;
|
|
let payUrl = res.data.url;
|
|
- window.open(payUrl);
|
|
|
|
|
|
+ this.currentPayUrl=res.data.url;
|
|
|
|
+
|
|
|
|
+ // uni.navigateTo({
|
|
|
|
+ // url: '/pages/payLists/pay',
|
|
|
|
+ // fail:function(err){
|
|
|
|
+ // console.log('err',err)
|
|
|
|
+ // }
|
|
|
|
+ // });
|
|
|
|
+ this.$u.route({
|
|
|
|
+ url: 'pages/payLists/pay',
|
|
|
|
+ params: {
|
|
|
|
+ currentPayUrl: res.data.url
|
|
|
|
+ }
|
|
|
|
+ });
|
|
}).catch(err=>{
|
|
}).catch(err=>{
|
|
this.$refs.uToast.show({
|
|
this.$refs.uToast.show({
|
|
title: err.msg,
|
|
title: err.msg,
|