From 3889a8a6c8ca164893bc6e744a77a4dbbe3455e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E6=81=92=E6=88=90?= <962704835@qq.com> Date: Tue, 17 Mar 2026 10:42:06 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=A5=E4=BC=8D=E7=94=B3=E8=AF=B7=E8=AE=B0?= =?UTF-8?q?=E5=BD=95=E5=AD=A6=E9=99=A2=E5=90=8D=E7=A7=B0=E8=BF=87=E6=BB=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/routine/enlistmentReserve/applicationForm.vue | 2 ++ src/views/routine/enlistmentReserve/index.vue | 3 +++ 2 files changed, 5 insertions(+) diff --git a/src/views/routine/enlistmentReserve/applicationForm.vue b/src/views/routine/enlistmentReserve/applicationForm.vue index 282710a..9b4ebf0 100644 --- a/src/views/routine/enlistmentReserve/applicationForm.vue +++ b/src/views/routine/enlistmentReserve/applicationForm.vue @@ -546,6 +546,7 @@ export default { this.formData.major = res.rows[0].srsMajors.majorName this.formData.studentId = res.rows[0].stuId this.formData.teacherName = res.rows[0].cphName + this.formData.deptName = res.rows[0].deptName }) } }) @@ -591,6 +592,7 @@ export default { this.formData.className = res.data.className this.formData.grade = res.data.gradeName this.formData.teacherName = res.data.teacherName + this.formData.deptName = res.data.deptName } }) } diff --git a/src/views/routine/enlistmentReserve/index.vue b/src/views/routine/enlistmentReserve/index.vue index aa84e25..09000f0 100644 --- a/src/views/routine/enlistmentReserve/index.vue +++ b/src/views/routine/enlistmentReserve/index.vue @@ -272,6 +272,7 @@ export default { reserveStartDate: null, reserveEndDate: null, approvalNo: null, + deptName: null }, // 表单参数 form: {}, @@ -354,6 +355,8 @@ export default { this.queryParams.studentName = this.user.nickName } else if (this.roleGroup.includes("辅导员")) { this.queryParams.teacherName = this.user.nickName + } else if (this.roleGroup.includes("学务") || this.roleGroup.includes("二级学院")) { + this.queryParams.deptName = this.user.dept.deptName } this.getList() }