|
|
@@ -153,23 +153,25 @@ export default {
|
|
|
})
|
|
|
},
|
|
|
paySuccess() {
|
|
|
- this.$util.pageTo({ url: "/pages/callback/paySuccess", type: 2 })
|
|
|
- },
|
|
|
- payFail() {
|
|
|
+ let id = this.option.id?this.option.id:0
|
|
|
+ let account = this.option.account?this.option.account:0
|
|
|
+ let hdId = this.option.hdId?this.option.hdId:0
|
|
|
+ this.$util.pageTo({ url: "/pages/callback/paySuccess?id="+id+'&account='+account+'&hdId='+hdId, type: 2 })
|
|
|
},
|
|
|
+ payFail() {},
|
|
|
balancePayFn() {
|
|
|
let that = this
|
|
|
+ let id = this.option.id?this.option.id:0
|
|
|
+ let account = this.option.account?this.option.account:0
|
|
|
+ let hdId = this.option.hdId?this.option.hdId:0
|
|
|
that.$util.confirmModal({content:'确认余额支付?'},() => {
|
|
|
balancePay({orderSn:this.orderSn}).then(res=>{
|
|
|
if(res.code == 1){
|
|
|
- this.$util.pageTo({ url:"/pages/callback/paySuccess",type: 2})
|
|
|
+ this.$util.pageTo({ url:"/pages/callback/paySuccess?id="+id+'&account='+account+'&hdId='+hdId,type: 2})
|
|
|
}
|
|
|
})
|
|
|
})
|
|
|
},
|
|
|
- hideAlert() {
|
|
|
- this.$util.pageTo("/pages/user/password");
|
|
|
- },
|
|
|
// 初始样式
|
|
|
initClass(val) {
|
|
|
switch (val) {
|