Explorar o código

付费管理优化

yuhao %!s(int64=2) %!d(string=hai) anos
pai
achega
b7d6711f51
Modificáronse 1 ficheiros con 18 adicións e 0 borrados
  1. 18 0
      src/pages/customerMan/myOrder/index.vue

+ 18 - 0
src/pages/customerMan/myOrder/index.vue

@@ -659,6 +659,24 @@ export default {
659 659
       this.getBalanceRecord();
660 660
     }
661 661
   },
662
+  activated(){
663
+    let id = this.$route.query.id;
664
+    let activeName = this.$route.query.activeName;
665
+    this.activeName = activeName;
666
+    this.id = id;
667
+    if (this.activeName == "first") {
668
+      this.getUserProject();
669
+    } else if (this.activeName == "second") {
670
+      // this.getCardOrders();
671
+      this.getCardList();
672
+    } else if (this.activeName == "third") {
673
+      this.getUserGoods();
674
+    } else if (this.activeName == "fourth") {
675
+      this.getUserCoupon();
676
+    } else if (this.activeName == "five") {
677
+      this.getBalanceRecord();
678
+    }
679
+  },
662 680
 
663 681
   mounted() {},
664 682
 };