From bf7fdf850053adf725180bd4fc373255af60e825 Mon Sep 17 00:00:00 2001
From: xiangpei <xiangpei@timesnew.cn>
Date: 星期一, 15 七月 2024 17:43:20 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'

---
 src/views/exam/paper/list.vue |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/src/views/exam/paper/list.vue b/src/views/exam/paper/list.vue
index 5867102..e1b8f7e 100644
--- a/src/views/exam/paper/list.vue
+++ b/src/views/exam/paper/list.vue
@@ -2,6 +2,9 @@
   <div class="app-container">
     <el-form :model="queryParam" ref="queryForm" :inline="true">
 
+      <el-form-item label="鍚嶇О锛�">
+        <el-input v-model="queryParam.name" placeholder="鍚嶇О" clearable />
+      </el-form-item>
       <el-form-item label="閮ㄩ棬锛�">
         <!-- <el-select v-model="queryParam.level" clearable placeholder="閮ㄩ棬">
           <el-option v-for="item in depts" :key="item.id" :value="item.id" :label="item.name"></el-option>
@@ -52,7 +55,7 @@
           <!-- 鏀规垚涓嬫媺 -->
           <el-select v-model="form.menuIds" multiple clearable placeholder="璇烽�夋嫨" collapse-tags @change="changeSelect">
             <div class="checkboxWrapper">
-              <el-checkbox v-model="checked" @change.native="checkChange">
+              <el-checkbox v-model="checked" @change="checkChange">
                 鍏ㄩ��
               </el-checkbox>
             </div>
@@ -167,10 +170,10 @@
         }
       })
     },
-    checkChange() {
+    checkChange(e) {
       let resValues = this.options.map(item => item.id);
       // 濡傛灉checkbox涓篺alse锛屽垯涓哄弽閫夛紝閫夋嫨鏁扮粍涓虹┖
-      if (!this.checked) {
+      if (!e) {
         this.form.menuIds = [];
       } else {
       	// 濡傛灉checkbox涓簍rue锛屽垯涓哄叏閫夛紝閫夋嫨鏁扮粍娣诲姞鎵�鏈夋暟鎹�

--
Gitblit v1.8.0