Parcourir la source

1211 22:49

提交测试
mo il y a 5 ans
Parent
commit
ae5ac0dad9
3 fichiers modifiés avec 15 ajouts et 12 suppressions
  1. 0 0
      dist/index.html
  2. 0 0
      dist/static/js/chunk-64c33787.8f47c0e6.js
  3. 15 12
      src/views/vipClass/vipList.vue

Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
dist/index.html


Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
dist/static/js/chunk-64c33787.8f47c0e6.js


+ 15 - 12
src/views/vipClass/vipList.vue

@@ -17,6 +17,17 @@
                     @keyup.enter.native='search'
                     placeholder="课程名称"></el-input>
         </el-form-item>
+        <el-form-item prop='orgin'>
+          <el-select class='multiple'
+                     v-model="searchForm.orgin"
+                     clearable
+                     placeholder="请选择分部">
+            <el-option v-for="(item,index) in organList"
+                       :key="index"
+                       :label="item.name"
+                       :value="item.id"></el-option>
+          </el-select>
+        </el-form-item>
         <!-- statusList -->
         <el-form-item prop='status'>
           <el-select class='multiple'
@@ -29,17 +40,7 @@
                        :value="item.value"></el-option>
           </el-select>
         </el-form-item>
-        <el-form-item prop='orgin'>
-          <el-select class='multiple'
-                     v-model="searchForm.orgin"
-                     clearable
-                     placeholder="请选择分部">
-            <el-option v-for="(item,index) in organList"
-                       :key="index"
-                       :label="item.name"
-                       :value="item.id"></el-option>
-          </el-select>
-        </el-form-item>
+
         <el-form-item>
           <el-select v-model="searchForm.teacherId"
                      clearable
@@ -239,11 +240,12 @@ export default {
   },
   created () {
     if (this.$route.query.searchForm) {
-      this.$route.query.searchForm instanceof Object ? this.topForm = this.$route.query.searchForm : this.topForm = JSON.parse(this.$route.query.searchForm);
+      this.$route.query.searchForm instanceof Object ? this.searchForm = this.$route.query.searchForm : this.searchForm = JSON.parse(this.$route.query.searchForm);
     }
     if (this.$route.query.rules) {
       this.$route.query.rules instanceof Object ? this.rules = this.$route.query.rules : this.rules = JSON.parse(this.$route.query.rules);
     }
+
   },
   mounted () {
     getEmployeeOrgan().then(res => {
@@ -277,6 +279,7 @@ export default {
         search: null,
         status: null
       }
+      this.getList()
     },
     getList () {
       let params = this.searchForm

Certains fichiers n'ont pas été affichés car il y a eu trop de fichiers modifiés dans ce diff