Browse Source

1211 22:42

111
mo 5 years ago
parent
commit
0f94ab3e3a

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-64c33787.4c561af6.js


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/chunk-64c33787.9e1ff083.js


+ 24 - 7
src/views/vipClass/vipList.vue

@@ -12,6 +12,23 @@
                class="searchForm"
                v-model="searchForm">
         <!-- 状态 指导老师 活动方案-->
+        <el-form-item>
+          <el-input v-model="searchForm.search"
+                    @keyup.enter.native='search'
+                    placeholder="课程名称"></el-input>
+        </el-form-item>
+        <!-- statusList -->
+        <el-form-item prop='status'>
+          <el-select class='multiple'
+                     v-model="searchForm.status"
+                     clearable
+                     placeholder="请选课程状态">
+            <el-option v-for="(item,index) in statusList"
+                       :key="index"
+                       :label="item.lable"
+                       :value="item.value"></el-option>
+          </el-select>
+        </el-form-item>
         <el-form-item prop='orgin'>
           <el-select class='multiple'
                      v-model="searchForm.orgin"
@@ -44,11 +61,7 @@
                        :label="item.name"></el-option>
           </el-select>
         </el-form-item>
-        <el-form-item>
-          <el-input v-model="searchForm.search"
-                    @keyup.enter.native='search'
-                    placeholder="课程名称"></el-input>
-        </el-form-item>
+
         <el-form-item>
           <el-button @click="search"
                      type="danger">搜索</el-button>
@@ -207,7 +220,8 @@ export default {
         teacherId: null,
         activityId: null,
         search: null,
-        orgin: null
+        orgin: null,
+        status: null
       },
       teacherList: [],
       activeList: [],
@@ -220,6 +234,7 @@ export default {
         total: 0, // 总条数
         page_size: [10, 20, 40, 50] // 选择限制显示条数
       },
+      statusList: [{ lable: '未开始', value: '0' }, { lable: '报名中', value: '1' }, { lable: '报名结束', value: '5' }, { lable: '进行中', value: '2' }, { lable: '已结束', value: '4' }, { lable: '取消', value: '3' }]
     }
   },
   created () {
@@ -259,7 +274,8 @@ export default {
       this.searchForm = {
         teacherId: null,
         activityId: null,
-        search: null
+        search: null,
+        status: null
       }
     },
     getList () {
@@ -267,6 +283,7 @@ export default {
       params.page = this.rules.page
       params.rows = this.rules.limit
       params.organId = this.searchForm.orgin
+      params.status = this.searchForm.status || null
       getVipList(params).then(res => {
         if (res.code == 200) {
           this.tableData = res.data.rows

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