Commit 825d31c8 by 赵艳波

update

parent bb4fcc39
...@@ -245,6 +245,7 @@ export default { ...@@ -245,6 +245,7 @@ export default {
const selected = 0; const selected = 0;
const fee = this.data.waitPay; const fee = this.data.waitPay;
let payUrl = `${this.payUrl}&accountType=1&periodId=${this.currentPerId}&payMethod=${payMethod}&payType=${payType}&fee=${fee}&selected=1&failUrl=${failUrl}&successUrl=${successUrl}`; let payUrl = `${this.payUrl}&accountType=1&periodId=${this.currentPerId}&payMethod=${payMethod}&payType=${payType}&fee=${fee}&selected=1&failUrl=${failUrl}&successUrl=${successUrl}`;
window.location.href = payUrl; window.location.href = payUrl;
}, },
toPage(flag) { toPage(flag) {
...@@ -463,6 +464,9 @@ export default { ...@@ -463,6 +464,9 @@ export default {
this.setBarHeight(); this.setBarHeight();
this.globalNavLeftArrowClick(this.navLeftArrowClick); this.globalNavLeftArrowClick(this.navLeftArrowClick);
await this.loadPeriodData(); await this.loadPeriodData();
},
async created(){
this.payUrl = await this.loadPayUrl(); this.payUrl = await this.loadPayUrl();
} }
}; };
......
...@@ -117,7 +117,9 @@ export default { ...@@ -117,7 +117,9 @@ export default {
async mounted() { async mounted() {
this.setPageNavState(); this.setPageNavState();
this.globalNavLeftArrowClick(this.navLeftArrowClick); this.globalNavLeftArrowClick(this.navLeftArrowClick);
await this.getData(); await this.getData();
},
async created(){
this.payUrl = await this.loadPayUrl(); this.payUrl = await this.loadPayUrl();
} }
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment