|
|
@@ -325,6 +325,20 @@ export default {
|
|
|
this.$toast(e.error || '充值失败');
|
|
|
});
|
|
|
break;
|
|
|
+ case 'ALI':
|
|
|
+ this.$toast.loading('充值中');
|
|
|
+ this.$http
|
|
|
+ .post('/recharge/ali', { amount: this.amount, companyId: this.companyId })
|
|
|
+ .then(res => {
|
|
|
+ this.openScheme(res);
|
|
|
+ setTimeout(() => {
|
|
|
+ this.$toast.clear();
|
|
|
+ }, 1000);
|
|
|
+ })
|
|
|
+ .catch(e => {
|
|
|
+ this.$toast(e.error || '充值失败');
|
|
|
+ });
|
|
|
+ break;
|
|
|
case 'SYXPAY':
|
|
|
this.$router.push({
|
|
|
name: 'bankPay',
|