|
@@ -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
|
};
|