mo 5 年之前
父節點
當前提交
9772ab7041

+ 2 - 2
src/utils/vueFilter.js

@@ -89,7 +89,7 @@ Vue.filter('coursesType', (value) => {
     PRACTICE: '网管课',
     COMM: '对外课',
     MUSIC: '乐团课',
-    HIGH_ONLINE: '线上基础技能班'
+    HIGH_ONLINE: '乐团网管课'
   }
   return template[value]
 })
@@ -340,7 +340,7 @@ Vue.filter('classType', value => {
     DEMO: '试听',
     SNAP: "临时班",
     PRACTICE: '网管课',
-    HIGH_ONLINE: '基础技能班(线上)'
+    HIGH_ONLINE: '乐团网管课'
   }
   return template[value]
 })

+ 1 - 1
src/views/teamBuild/teamSeting/components/setClassV2.vue

@@ -660,7 +660,7 @@ export default {
         { value: "NORMAL", label: "单技班" },
         { value: "MIX", label: "合奏班" },
         { value: "HIGH", label: "基础技能班" },
-        { value: "HIGH_ONLINE", label: "基础技能班(线上)" }
+        { value: "HIGH_ONLINE", label: "乐团网管课" }
       ],
       rules: {
         // 分页规则

+ 19 - 17
src/views/teamDetail/componentCourse/courseList.vue

@@ -23,6 +23,8 @@
                      value="TRAINING_SINGLE"></el-option>
           <el-option label="单技课"
                      value="SINGLE"></el-option>
+          <el-option label="乐团网管课"
+                     value="HIGH_ONLINE"></el-option>
         </el-select>
       </el-form-item>
       <el-form-item label="班级名称">
@@ -127,11 +129,11 @@ export default {
   components: {
     pagination
   },
-  activated(){
-     this.init()
+  activated () {
+    this.init()
   },
   mounted () {
-   this.init()
+    this.init()
   },
   methods: {
     /**
@@ -140,21 +142,21 @@ export default {
         timer:[] // 时间
      * 
      */
-    init(){
-       this.getList();
-    // 获取所有老师
-    getTeacher().then(res => {
-      if (res.code == 200) {
-        this.teacherList = res.data;
-      }
-    })
+    init () {
+      this.getList();
+      // 获取所有老师
+      getTeacher().then(res => {
+        if (res.code == 200) {
+          this.teacherList = res.data;
+        }
+      })
 
-    // 获取班级列表
-    getMusicGroupAllClass({ musicGroupId: this.teamid }).then(res => {
-      if (res.code == 200) {
-        this.classList = res.data;
-      }
-    })
+      // 获取班级列表
+      getMusicGroupAllClass({ musicGroupId: this.teamid }).then(res => {
+        if (res.code == 200) {
+          this.classList = res.data;
+        }
+      })
     },
     search () {
       this.rules.page = 1;