Browse Source

修改参数

lex-xin 4 years ago
parent
commit
5f71e11224
1 changed files with 4 additions and 4 deletions
  1. 4 4
      src/views/main/studentLeaveList.vue

+ 4 - 4
src/views/main/studentLeaveList.vue

@@ -21,10 +21,10 @@
                         placeholder="学员编号/姓名/手机号"
                     ></el-input>
                 </el-form-item>
-                <el-form-item prop="organIds">
+                <el-form-item prop="organId">
                     <el-select
                         placeholder="请选择分部"
-                        v-model="searchForm.organIds"
+                        v-model="searchForm.organId"
                         clearable
                     >
                         <el-option
@@ -127,7 +127,7 @@ export default {
             searchForm: {
                 search: null,
                 studentSearch: null,
-                organIds: null,
+                organId: null,
             },
             visitVisible: false,
             detail: null,
@@ -147,7 +147,7 @@ export default {
     mounted() {
         const { query } = this.$route
         if (query.organId) {
-            this.searchForm.organIds = Number(query.organId)
+            this.searchForm.organId = Number(query.organId)
         }
         this.$store.dispatch("setBranchs");