From ddb331f0fd781699da1e81c7d8bfa6d5604c36ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E8=82=A5=E7=BE=8A?= <1048382248@qq.com> Date: Thu, 16 Oct 2025 18:14:57 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=20=E6=9F=A5=E8=AF=A2?= =?UTF-8?q?=E8=BF=87=E5=A4=9A=E7=8F=AD=E7=BA=A7=E5=AF=BC=E8=87=B4=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=E5=8D=A1=E9=A1=BF=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/student/index.vue | 13 +++++++++++-- src/views/teacher/index.vue | 15 ++++++++++++--- 2 files changed, 23 insertions(+), 5 deletions(-) diff --git a/src/views/student/index.vue b/src/views/student/index.vue index 97fc103..33fc7ff 100644 --- a/src/views/student/index.vue +++ b/src/views/student/index.vue @@ -25,7 +25,7 @@ - + - + { }; const getClass = () => { + if ( + search.schoolId == 0 || + search.schoolId == undefined || + search.grade == "" || + search.grade == undefined + ) { + classList.value = []; + return; + } const data = { schoolId: search.schoolId || 0, graduationYear: search.graduationYear || 0, diff --git a/src/views/teacher/index.vue b/src/views/teacher/index.vue index 839e487..9ac9837 100644 --- a/src/views/teacher/index.vue +++ b/src/views/teacher/index.vue @@ -54,7 +54,7 @@ - + - + - + { }; const getClass = () => { + if ( + search.schoolId == 0 || + search.schoolId == undefined || + search.grade == "" || + search.grade == undefined + ) { + classList.value = []; + return; + } const data = { schoolId: search.schoolId || 0, graduationYear: search.graduationYear || 0, -- 2.40.1 From 6d2b14fcc51753494176a373ea181e62729cde9b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E8=82=A5=E7=BE=8A?= <1048382248@qq.com> Date: Tue, 11 Nov 2025 17:40:06 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=20=E5=AF=BC=E5=85=A5?= =?UTF-8?q?=E5=AD=A6=E7=94=9F=20=E8=80=81=E5=B8=88=E6=97=B6=20=E5=87=BA?= =?UTF-8?q?=E7=8E=B0=E9=94=99=E6=97=A0=E6=B3=95=E8=AF=86=E5=88=AB=E6=8F=90?= =?UTF-8?q?=E7=A4=BA=E5=86=85=E5=AE=B9=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/student/index.vue | 126 ++++++++++++++++-------------- src/views/teacher/index.vue | 150 +++++++++++++++++++++--------------- 2 files changed, 154 insertions(+), 122 deletions(-) diff --git a/src/views/student/index.vue b/src/views/student/index.vue index 33fc7ff..69c08f0 100644 --- a/src/views/student/index.vue +++ b/src/views/student/index.vue @@ -20,8 +20,7 @@ :key="item.value" :label="item.text" :value="item.value" - > - + /> @@ -38,25 +37,28 @@ :key="item.value" :label="item.text" :value="item.value" - > - + /> - - + + - + /> - 查询 @@ -64,7 +66,7 @@ -
+
导入用户 导出用户 -->
-
+
- 新增 + 新增