Przeglądaj źródła

添加老师搜索

lex-xin 5 lat temu
rodzic
commit
3305c92795

Plik diff jest za duży
+ 0 - 0
dist/index.html


+ 1 - 1
dist/static/css/chunk-c1f8785c.d13556af.css → dist/static/css/chunk-098565e5.07131c65.css

@@ -1 +1 @@
-.pagination-container[data-v-31cb099a]{background:#fff;padding:32px 16px;width:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.pagination-container.hidden[data-v-31cb099a]{display:none}.newBand[data-v-0548f97e]{display:inline-block;margin-right:10px}.right-code .title[data-v-0548f97e]{font-size:18px;text-align:center;padding-bottom:8px}
+.pagination-container[data-v-31cb099a]{background:#fff;padding:32px 16px;width:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.pagination-container.hidden[data-v-31cb099a]{display:none}.newBand[data-v-46ed72ba]{display:inline-block;margin-right:10px}.right-code .title[data-v-46ed72ba]{font-size:18px;text-align:center;padding-bottom:8px}

Plik diff jest za duży
+ 0 - 0
dist/static/js/app.70a5cab0.js


Plik diff jest za duży
+ 0 - 0
dist/static/js/chunk-098565e5.9c2968a6.js


Plik diff jest za duży
+ 0 - 0
dist/static/js/chunk-5077f997.2abc6b46.js


Plik diff jest za duży
+ 0 - 0
dist/static/js/chunk-5077f997.8d18111e.js


Plik diff jest za duży
+ 0 - 0
dist/static/js/chunk-c1f8785c.8c548f29.js


+ 0 - 4
src/views/studentManager/studentList.vue

@@ -133,7 +133,6 @@
                width="700px"
                label-width='100px'
                label-position="right"
-               before-close="closeStudentVisible"
                :visible.sync="studentVisible">
       <el-divider>基本信息</el-divider>
       <el-form :model="studentForm"
@@ -455,9 +454,6 @@ export default {
         nation: row.nation
       }
     },
-    closeStudentVisible () {
-
-    },
   },
   watch: {
     studentVisible (val) {

+ 23 - 10
src/views/teamDetail/teamCourseList.vue

@@ -6,6 +6,20 @@
               class="searchForm"
               v-model="searchForm">
         <el-form-item>
+          <el-input v-model="searchForm.search" placeholder="乐团名或VIP课名" />
+        </el-form-item>
+        <el-form-item>
+          <el-select v-model="searchForm.teacherIdList"
+                    clearable
+                    filterable
+                    placeholder="请选择老师">
+            <el-option v-for="(item, index) in teacherList"
+                       :key="index"
+                       :value="item.id"
+                       :label="item.realName"></el-option>
+          </el-select>
+        </el-form-item>
+        <el-form-item>
           <el-select class='multiple'
                      v-model="searchForm.organIdList"
                      filterable
@@ -18,9 +32,6 @@
           </el-select>
         </el-form-item>
         <el-form-item>
-          <el-input v-model="searchForm.search" placeholder="乐团名或VIP课名" />
-        </el-form-item>
-        <el-form-item>
           <el-select v-model="searchForm.courseType"
                     clearable
                     filterable
@@ -183,6 +194,7 @@ export default {
         timer: [nowTime, nowTime], // 时间
         class: null,
         search: null, // 乐团名称 编号 vip课名称
+        teacherIdList: null, // 老师编号
       },
       tableList: [],
       searchLsit: [],
@@ -194,7 +206,7 @@ export default {
         total: 0, // 总条数
         page_size: [10, 20, 40, 50] // 选择限制显示条数
       },
-      // teacherList: [],
+      teacherList: [],
       // classList: []
     }
 
@@ -205,11 +217,11 @@ export default {
   mounted () {
     this.getList();
     // 获取所有老师
-    // getTeacher().then(res => {
-    //   if (res.code == 200) {
-    //     this.teacherList = res.data;
-    //   }
-    // })
+    getTeacher().then(res => {
+      if (res.code == 200) {
+        this.teacherList = res.data;
+      }
+    })
 
     // 获取班级列表
     // getMusicGroupAllClass().then(res => {
@@ -248,7 +260,8 @@ export default {
         page: this.rules.page, rows: this.rules.limit,
         classGroupId: searchForm.class || null,
         organIdList: searchForm.organIdList || null,
-        search: searchForm.search || null
+        search: searchForm.search || null,
+        teacherIdList: searchForm.teacherIdList || null
       }
       superFindCourseSchedules(obj).then(res => {
         if (res.code == 200) {

Niektóre pliki nie zostały wyświetlone z powodu dużej ilości zmienionych plików