Browse Source

02/20 21:38

11
261568008@qq.com 5 years ago
parent
commit
9a7c152790

File diff suppressed because it is too large
+ 0 - 0
dist/index.html


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/chunk-257cc208.885d0040.js


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/chunk-257cc208.df9b7658.js


+ 15 - 9
src/views/teamDetail/componentCourse/courseList.vue

@@ -127,8 +127,21 @@ export default {
   components: {
   components: {
     pagination
     pagination
   },
   },
+  activated(){
+     this.init()
+  },
   mounted () {
   mounted () {
-    this.getList();
+   this.init()
+  },
+  methods: {
+    /**
+     *  courseStatus: '', // 课程类型
+        classStatus: '', // 课程状态
+        timer:[] // 时间
+     * 
+     */
+    init(){
+       this.getList();
     // 获取所有老师
     // 获取所有老师
     getTeacher().then(res => {
     getTeacher().then(res => {
       if (res.code == 200) {
       if (res.code == 200) {
@@ -142,14 +155,7 @@ export default {
         this.classList = res.data;
         this.classList = res.data;
       }
       }
     })
     })
-  },
-  methods: {
-    /**
-     *  courseStatus: '', // 课程类型
-        classStatus: '', // 课程状态
-        timer:[] // 时间
-     * 
-     */
+    },
     search () {
     search () {
       this.rules.page = 1;
       this.rules.page = 1;
       this.getList();
       this.getList();

Some files were not shown because too many files changed in this diff