fly 1 неделя назад
Родитель
Сommit
3c6697c6e8
1 измененных файлов с 6 добавлено и 16 удалено
  1. 6 16
      src/views/Profile.vue

+ 6 - 16
src/views/Profile.vue

@@ -219,37 +219,27 @@ export default {
     },
     // 红旗资产提现
     handleRedFlagWithdraw() {
-      alert('等待开启');
+      this.$router.push('/mention?type=1');
     },
     // 退休补贴提现
     handleRetirementWithdraw() {
-      alert('中央资金筹备中');
+      this.$router.push('/mention?type=2');
     },
     // 党员薪资提现
     handlePartySalaryWithdraw() {
-      const minAmount = 60000; // 6万起提
-      if (parseFloat(this.userInfo.dyxz) < minAmount) {
-        alert('余额不足,最低提现金额为6万元');
-        return;
-      }
-      this.$router.push('/mention?type=1');
+      this.$router.push('/mention?type=3');
     },
     // 每日现金提现
     handleDailyCashWithdraw() {
-      const minAmount = 20; // 20元起提
-      if (parseFloat(this.userInfo.dayred) < minAmount) {
-        alert('余额不足,满20元可提现');
-        return;
-      }
-      this.$router.push('/mention?type=3');
+      this.$router.push('/mention?type=4');
     },
     // 医疗补贴提现
     handleMedicalWithdraw() {
-      alert('中央资金筹备中');
+      this.$router.push('/mention?type=5');
     },
     // 原始股权提现
     handleOriginalSharesWithdraw() {
-      alert('等待开启');
+      this.$router.push('/mention?type=6');
     },
   }
 }