From 346c01add76f64b396594ac7be7d97f9f6dbf813 Mon Sep 17 00:00:00 2001
From: zhouwx <1175765986@qq.com>
Date: 星期一, 11 十一月 2024 16:48:26 +0800
Subject: [PATCH] bug修改

---
 src/views/onlineEducation/groupExams/components/examChooseStudent.vue |   41 ++++++++++++++++++++++++++++++++++++++---
 1 files changed, 38 insertions(+), 3 deletions(-)

diff --git a/src/views/onlineEducation/groupExams/components/examChooseStudent.vue b/src/views/onlineEducation/groupExams/components/examChooseStudent.vue
index 1fc37d4..76ae610 100644
--- a/src/views/onlineEducation/groupExams/components/examChooseStudent.vue
+++ b/src/views/onlineEducation/groupExams/components/examChooseStudent.vue
@@ -3,12 +3,12 @@
     <el-dialog
         v-model="dialogVisible"
         :title="title"
-        width="50%"
+        width="800px"
         :before-close="handleClose"
         :close-on-press-escape="false"
         :close-on-click-modal="false"
     >
-      <div style="margin-bottom: 20px">
+      <div style="margin-bottom: 10px;margin-left: 30px">
         <el-checkbox v-model="state.bindBatchStu" @change="changeBind">绑定批次人员</el-checkbox>
         <el-select
             v-if="state.bindBatchStu"
@@ -29,6 +29,30 @@
               :value="item.id"
           />
         </el-select>
+      </div>
+      <div>
+        <el-form :inline="true" style="display: flex;align-items: center;flex-wrap: wrap;" >
+          <el-form-item >
+            <!--            <el-checkbox v-model="state.DisableSelection">一键全选</el-checkbox>-->
+          </el-form-item>
+          <el-form-item label="姓名:" >
+            <el-input v-model="state.queryParams.name" placeholder="请输入姓名"></el-input>
+          </el-form-item>
+          <el-form-item label="职务:" >
+            <el-input v-model="state.queryParams.duty" placeholder="请输入职务"></el-input>
+          </el-form-item>
+          <el-form-item >
+            <el-button
+                type="primary"
+                @click="getList"
+            >查询</el-button>
+            <el-button
+                type="primary"
+                plain
+                @click="resetQuery"
+            >重置</el-button>
+          </el-form-item>
+        </el-form>
       </div>
 
       <!-- 表格数据 -->
@@ -109,7 +133,9 @@
   total: 0,
   queryParams: {
     pageNum: 1,
-    pageSize: 10
+    pageSize: 10,
+    name: '',
+    duty: ''
   },
   dataList: [],
   totalItems: 0, // 总数据条数,从后端接口获取
@@ -230,6 +256,15 @@
 const changeBind = (val) => {
   console.log('vv',val)
 }
+const resetQuery = () => {
+  state.queryParams ={
+    pageNum: 1,
+    pageSize: 10,
+    name: '',
+    duty: ''
+  }
+  getList()
+}
 defineExpose({
   openDialog
 });

--
Gitblit v1.9.2