WINDOWS-7IFQK7E\EDY 1 рік тому
батько
коміт
45279a48b8
1 змінених файлів з 3 додано та 1 видалено
  1. 3 1
      src/views/wypj/xsewm/index.vue

+ 3 - 1
src/views/wypj/xsewm/index.vue

@@ -24,7 +24,7 @@
           <el-option
             v-for="item in classList"
             :label="item.class_name"
-            :value="item.class_id"
+            :value="item.class_num"
           ></el-option>
         </el-select>
       </el-form-item>
@@ -163,6 +163,7 @@ export default {
         limit: this.limit,
         keyword: this.firstForm.xsxm,
         grade_id: this.firstForm.grade,
+        class_id: this.firstForm.class,
         xdwx_xsxh: this.firstForm.xsxh,
       };
 
@@ -244,6 +245,7 @@ export default {
       this.dialogVisible = true;
     },
     switchGrade() {
+      this.firstForm.class = "";
       this.classListData();
       this.getListData();
     },