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();
     },