ソースを参照

班级筛选培训类别完成

Your Name 4 ヶ月 前
コミット
f1441d8ac0
1 ファイル変更3 行追加3 行削除
  1. 3 3
      src/views/classes/Index.vue

+ 3 - 3
src/views/classes/Index.vue

@@ -58,7 +58,6 @@
             </el-form-item>
           </el-form>
         </div>
-        <el-button type="success">2024(12期)</el-button><el-button type="success">2025</el-button>
         <el-table class="table" :data="list" height="450px" border v-loading="loading" style="width: 100%">
           <el-table-column
                 type="selection" fixed="left"
@@ -153,8 +152,9 @@
         });
       },
       subChange(data) {
-        console.log(data,22222222222222222222)
-        this.form.subject_item = data.join("|");
+        this.form.subject_id = data.id;
+        this.form.subject_item = data.name;
+        this.getData();
       },
       del(id) {
         this.$confirm("确定删除吗", "提示", {