From d0dc60a342d6ef853235cb96200a870caf4b1f2c Mon Sep 17 00:00:00 2001 From: MDSMO Date: Wed, 20 Aug 2025 09:07:47 +0800 Subject: [PATCH 01/10] =?UTF-8?q?=E5=89=8D=E7=AB=AF=E9=A1=B5=E9=9D=A2?= =?UTF-8?q?=E5=AE=BF=E8=88=8D=E7=AE=A1=E7=90=86=E5=AD=A6=E7=94=9F=E6=89=93?= =?UTF-8?q?=E5=8D=A1=E6=A8=A1=E5=9D=97=EF=BC=8C=E5=AF=B9=E5=AD=A6=E5=8A=A1?= =?UTF-8?q?=E5=92=8C=E8=BE=85=E5=AF=BC=E5=91=98=E8=A7=92=E8=89=B2=E6=9F=A5?= =?UTF-8?q?=E7=9C=8B=E5=AD=A6=E7=94=9F=E6=89=93=E5=8D=A1=E8=AE=B0=E5=BD=95?= =?UTF-8?q?=E5=81=9A=E4=BA=86=E6=95=B0=E6=8D=AE=E7=AD=9B=E9=80=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/dormitory/daily.js | 7 + src/views/dormitory/daily/record.vue | 234 +++++++++++++++------------ 2 files changed, 136 insertions(+), 105 deletions(-) diff --git a/src/api/dormitory/daily.js b/src/api/dormitory/daily.js index 654ea25..482ebd6 100644 --- a/src/api/dormitory/daily.js +++ b/src/api/dormitory/daily.js @@ -47,6 +47,13 @@ export function listView(params) { }) } +export function checkRoles() { + return request({ + url: '/dormitory/daily/checkRoles', + method: 'get' + }) +} + // 查询学生宿舍打卡列表 diff --git a/src/views/dormitory/daily/record.vue b/src/views/dormitory/daily/record.vue index 86335c6..ec0b0c4 100644 --- a/src/views/dormitory/daily/record.vue +++ b/src/views/dormitory/daily/record.vue @@ -40,7 +40,7 @@ - + @@ -88,6 +88,24 @@ + + + + + 学院数据 + + + 个人班级 + + + + 搜索 重置 @@ -119,7 +137,7 @@ @@ -472,4 +495,5 @@ export default { margin-bottom: 5px; } } - \ No newline at end of file + + From 0f052bb62b3cb4d96535fabe72a85b761d2fbe40 Mon Sep 17 00:00:00 2001 From: firefly <1633489380@qq.com> Date: Wed, 20 Aug 2025 14:55:23 +0800 Subject: [PATCH 02/10] =?UTF-8?q?=E8=BE=85=E5=AF=BC=E5=91=98=E7=AE=A1?= =?UTF-8?q?=E7=90=86-=E4=B8=9A=E7=BB=A9=E8=80=83=E6=A0=B8----=E5=AD=A6?= =?UTF-8?q?=E5=8A=A1=E5=AE=A1=E6=A0=B8=E4=BB=A3=E5=8A=9E-----=E5=AD=A6?= =?UTF-8?q?=E9=99=A2=E4=B9=A6=E8=AE=B0=E4=BB=A3=E5=8A=9E----=E7=A7=91?= =?UTF-8?q?=E5=AE=A4=E5=A4=8D=E6=A0=B8=E4=BB=A3=E5=8A=9E---=E5=AD=A6?= =?UTF-8?q?=E5=B7=A5=E5=A4=84=E9=95=BF=E5=AE=A1=E6=A0=B8=E4=BB=A3=E5=8A=9E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/Home/comps/jwc-undo.vue | 13 +++++++++++++ src/views/Home/comps/sj-undo.vue | 7 +++++++ src/views/Home/comps/xw-undo.vue | 7 +++++++ src/views/routine/disciplinaryApplication/index.vue | 10 +++++----- 4 files changed, 32 insertions(+), 5 deletions(-) diff --git a/src/views/Home/comps/jwc-undo.vue b/src/views/Home/comps/jwc-undo.vue index 7753cb8..ce55b1d 100644 --- a/src/views/Home/comps/jwc-undo.vue +++ b/src/views/Home/comps/jwc-undo.vue @@ -133,6 +133,19 @@ export default { value: 0, url: "/teacher/achievement/achievementCheck", }, + // 陈冠元 + { + label: "学工·辅导员管理-业绩考核-科室复审", + name: "yj", + value: 0, + url: "/teacher/teacherKpiFilling/studentAffairsOfficeAudit/KSAuditList", + }, + { + label: "学工·辅导员管理-业绩考核-学工处长审核", + name: "bj", + value: 0, + url: "/teacher/teacherKpiFilling/studentAffairsOfficeAudit/XGCZAuditList", + }, ], }; }, diff --git a/src/views/Home/comps/sj-undo.vue b/src/views/Home/comps/sj-undo.vue index 3ccf765..5ebde00 100644 --- a/src/views/Home/comps/sj-undo.vue +++ b/src/views/Home/comps/sj-undo.vue @@ -58,6 +58,13 @@ export default { value: 0, url: "/teacher/achievement/achievementCheck", }, + // 陈冠元 + { + label: "书记·辅导员管理-业绩考核", + name: "yj", + value: 0, + url: "/teacher/teacherKpiFilling/collegeAudit/DZZSJAuditList", + }, ], }; }, diff --git a/src/views/Home/comps/xw-undo.vue b/src/views/Home/comps/xw-undo.vue index 3c97f7d..1145df1 100644 --- a/src/views/Home/comps/xw-undo.vue +++ b/src/views/Home/comps/xw-undo.vue @@ -109,6 +109,13 @@ export default { value: 0, url: "/teacher/achievement/achievementCheck", }, + // 陈冠元 + { + label: "学务·辅导员管理-业绩考核", + name: "yj", + value: 0, + url: "/teacher/teacherKpiFilling/collegeAudit/XWAuditList", + }, ], }; }, diff --git a/src/views/routine/disciplinaryApplication/index.vue b/src/views/routine/disciplinaryApplication/index.vue index c264857..fcd1621 100644 --- a/src/views/routine/disciplinaryApplication/index.vue +++ b/src/views/routine/disciplinaryApplication/index.vue @@ -23,16 +23,16 @@ 新增 + v-hasPermi="['routine:disciplinaryApplication:add']">发起处分 - + + 导出 From a8fad81acdf510abc6113da9cb23c3c9c870ce96 Mon Sep 17 00:00:00 2001 From: firefly <1633489380@qq.com> Date: Wed, 20 Aug 2025 15:31:53 +0800 Subject: [PATCH 03/10] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=BA=86=E5=A4=84?= =?UTF-8?q?=E5=88=86=E7=AE=A1=E7=90=86=E5=92=8C=E5=AD=A6=E7=B1=8D=E5=BC=82?= =?UTF-8?q?=E5=8A=A8=E7=9A=84=E5=A2=9E=E5=88=A0=E6=94=B9=E6=8C=89=E9=92=AE?= =?UTF-8?q?=E9=83=A8=E5=88=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/routine/disciplinaryApplication/index.vue | 4 ++-- src/views/routine/disqualification/index.vue | 6 +++--- src/views/routine/relieve/index.vue | 6 +++--- src/views/routine/rtStuDropOutSchool/index.vue | 6 +++--- src/views/routine/rtStuQuitSchool/index.vue | 6 +++--- src/views/routine/rtStuReentrySchool/index.vue | 6 +++--- 6 files changed, 17 insertions(+), 17 deletions(-) diff --git a/src/views/routine/disciplinaryApplication/index.vue b/src/views/routine/disciplinaryApplication/index.vue index fcd1621..76db723 100644 --- a/src/views/routine/disciplinaryApplication/index.vue +++ b/src/views/routine/disciplinaryApplication/index.vue @@ -28,8 +28,8 @@ - diff --git a/src/views/routine/disqualification/index.vue b/src/views/routine/disqualification/index.vue index 112a8cb..a1cb1a8 100644 --- a/src/views/routine/disqualification/index.vue +++ b/src/views/routine/disqualification/index.vue @@ -19,16 +19,16 @@ 新增 + v-hasPermi="['routine:disqualification:add']">给予学生退学申请 - + 导出 diff --git a/src/views/routine/relieve/index.vue b/src/views/routine/relieve/index.vue index 0e45911..6a6c5c6 100644 --- a/src/views/routine/relieve/index.vue +++ b/src/views/routine/relieve/index.vue @@ -18,14 +18,14 @@ - 新增 + 发起解除 - + 导出 diff --git a/src/views/routine/rtStuDropOutSchool/index.vue b/src/views/routine/rtStuDropOutSchool/index.vue index e5ddb83..3af46d4 100644 --- a/src/views/routine/rtStuDropOutSchool/index.vue +++ b/src/views/routine/rtStuDropOutSchool/index.vue @@ -20,14 +20,14 @@ - 新增 + 发起退学 - + 导出 diff --git a/src/views/routine/rtStuQuitSchool/index.vue b/src/views/routine/rtStuQuitSchool/index.vue index 00b126c..5622101 100644 --- a/src/views/routine/rtStuQuitSchool/index.vue +++ b/src/views/routine/rtStuQuitSchool/index.vue @@ -18,14 +18,14 @@ - 新增 + 发起休学 - + 导出 diff --git a/src/views/routine/rtStuReentrySchool/index.vue b/src/views/routine/rtStuReentrySchool/index.vue index 44230ca..4d19d0b 100644 --- a/src/views/routine/rtStuReentrySchool/index.vue +++ b/src/views/routine/rtStuReentrySchool/index.vue @@ -18,14 +18,14 @@ - 新增 + 发起复学 - + 导出 From 6afa975221cc18c70e040f99212fc7501a03b54a Mon Sep 17 00:00:00 2001 From: MDSMO Date: Wed, 20 Aug 2025 17:22:52 +0800 Subject: [PATCH 04/10] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=AD=A6=E7=94=9F?= =?UTF-8?q?=E8=AF=81=E5=AE=8C=E6=88=90=E5=88=B6=E4=BD=9C=E5=8F=91=E9=80=81?= =?UTF-8?q?=E7=9A=84=E6=96=87=E6=A1=88=EF=BC=8C=E7=BB=99=E5=A4=84=E5=88=86?= =?UTF-8?q?=E8=AE=B0=E5=BD=95=E5=92=8C=E8=A7=A3=E9=99=A4=E5=A4=84=E5=88=86?= =?UTF-8?q?=E5=89=8D=E7=AB=AF=E9=A1=B5=E9=9D=A2=E6=B7=BB=E5=8A=A0=E6=94=BF?= =?UTF-8?q?=E6=B2=BB=E9=9D=A2=E8=B2=8C=E9=80=89=E9=A1=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../task/finished/detail/dropOutIndex.vue | 5 +++ .../flowable/task/finished/detail/index.vue | 13 +++++++ .../task/finished/detail/quitSchoolIndex.vue | 5 +++ .../task/finished/detail/reentryIndex.vue | 5 +++ .../task/todo/detail/dropOutIndex.vue | 4 +++ src/views/flowable/task/todo/detail/index.vue | 12 +++++++ .../task/todo/detail/quitSchoolIndex.vue | 4 +++ .../task/todo/detail/reentryIndex.vue | 4 +++ .../disciplinaryApplication/detail.vue | 4 +++ .../routine/disciplinaryApplication/index.vue | 13 +++++++ src/views/routine/disqualification/index.vue | 2 ++ src/views/routine/relieve/detail.vue | 4 +++ src/views/routine/relieve/index.vue | 13 +++++++ .../routine/rtStuDropOutSchool/index.vue | 1 + src/views/routine/rtStuQuitSchool/index.vue | 1 + .../routine/rtStuReentrySchool/index.vue | 1 + .../routine/stuMultiLevelReview/index.vue | 36 +++++++++---------- 17 files changed, 109 insertions(+), 18 deletions(-) diff --git a/src/views/flowable/task/finished/detail/dropOutIndex.vue b/src/views/flowable/task/finished/detail/dropOutIndex.vue index 7a234bb..821171c 100644 --- a/src/views/flowable/task/finished/detail/dropOutIndex.vue +++ b/src/views/flowable/task/finished/detail/dropOutIndex.vue @@ -56,6 +56,11 @@ {{ form.mz }} + + + {{ form.politicalStatus }} + + {{ form.jg }} diff --git a/src/views/flowable/task/finished/detail/index.vue b/src/views/flowable/task/finished/detail/index.vue index 83c21d0..0ebf869 100644 --- a/src/views/flowable/task/finished/detail/index.vue +++ b/src/views/flowable/task/finished/detail/index.vue @@ -121,6 +121,10 @@ {{ form.mz }} + + + {{ form.politicalStatus }} + {{ form.birthday }} @@ -185,6 +189,10 @@ {{ form.mz }} + + + {{ form.politicalStatus }} + {{ form.birthday }} @@ -265,6 +273,11 @@ {{ form.mz }} + + + {{ form.politicalStatus }} + + {{ form.jg }} diff --git a/src/views/flowable/task/finished/detail/quitSchoolIndex.vue b/src/views/flowable/task/finished/detail/quitSchoolIndex.vue index 2a499d9..208bdd1 100644 --- a/src/views/flowable/task/finished/detail/quitSchoolIndex.vue +++ b/src/views/flowable/task/finished/detail/quitSchoolIndex.vue @@ -56,6 +56,11 @@ {{ form.mz }} + + + {{ form.politicalStatus }} + + {{ form.jg }} diff --git a/src/views/flowable/task/finished/detail/reentryIndex.vue b/src/views/flowable/task/finished/detail/reentryIndex.vue index 52a02fe..016ea9d 100644 --- a/src/views/flowable/task/finished/detail/reentryIndex.vue +++ b/src/views/flowable/task/finished/detail/reentryIndex.vue @@ -58,6 +58,11 @@ {{ form.mz }} + + + {{ form.politicalStatus }} + + {{ form.jg }} diff --git a/src/views/flowable/task/todo/detail/dropOutIndex.vue b/src/views/flowable/task/todo/detail/dropOutIndex.vue index 8cafd41..362e67a 100644 --- a/src/views/flowable/task/todo/detail/dropOutIndex.vue +++ b/src/views/flowable/task/todo/detail/dropOutIndex.vue @@ -57,6 +57,10 @@ {{ form.mz }} + + + {{ form.politicalStatus }} + diff --git a/src/views/flowable/task/todo/detail/index.vue b/src/views/flowable/task/todo/detail/index.vue index 31d1751..a3f26e9 100644 --- a/src/views/flowable/task/todo/detail/index.vue +++ b/src/views/flowable/task/todo/detail/index.vue @@ -123,6 +123,10 @@ {{ form.mz }} + + + {{ form.politicalStatus }} + {{ form.birthday }} @@ -195,6 +199,10 @@ {{ form.mz }} + + + {{ form.politicalStatus }} + {{ form.birthday }} @@ -274,6 +282,10 @@ {{ form.mz }} + + + {{ form.politicalStatus }} + diff --git a/src/views/flowable/task/todo/detail/quitSchoolIndex.vue b/src/views/flowable/task/todo/detail/quitSchoolIndex.vue index 035202e..f864d8c 100644 --- a/src/views/flowable/task/todo/detail/quitSchoolIndex.vue +++ b/src/views/flowable/task/todo/detail/quitSchoolIndex.vue @@ -57,6 +57,10 @@ {{ form.mz }} + + + {{ form.politicalStatus }} + diff --git a/src/views/flowable/task/todo/detail/reentryIndex.vue b/src/views/flowable/task/todo/detail/reentryIndex.vue index fe85de0..1106543 100644 --- a/src/views/flowable/task/todo/detail/reentryIndex.vue +++ b/src/views/flowable/task/todo/detail/reentryIndex.vue @@ -57,6 +57,10 @@ {{ form.mz }} + + + {{ form.politicalStatus }} + diff --git a/src/views/routine/disciplinaryApplication/detail.vue b/src/views/routine/disciplinaryApplication/detail.vue index 30c3ef3..26a6f45 100644 --- a/src/views/routine/disciplinaryApplication/detail.vue +++ b/src/views/routine/disciplinaryApplication/detail.vue @@ -41,6 +41,10 @@ {{ form.mz }} + + + {{ form.politicalStatus }} + {{ form.birthday }} diff --git a/src/views/routine/disciplinaryApplication/index.vue b/src/views/routine/disciplinaryApplication/index.vue index c264857..89d7c08 100644 --- a/src/views/routine/disciplinaryApplication/index.vue +++ b/src/views/routine/disciplinaryApplication/index.vue @@ -136,6 +136,18 @@ + + + + + + + + + + + + @@ -267,6 +279,7 @@ export default { gradeName: [{ required: true, message: '请输入年级', trigger: 'blur' }], className: [{ required: true, message: '请输入班级', trigger: 'blur' }], mz: [{ required: true, message: '请输入民族', trigger: 'blur' }], + politicalStatus: [{ required: true, message: '请选择政治面貌', trigger: 'blur' }], birthday: [{ required: true, message: '请输入出生日期', trigger: 'blur' }], jg: [{ required: true, message: '请选择籍贯', trigger: 'blur' }], violationDate: [{ required: true, message: '请选择违纪时间', trigger: 'blur' }], diff --git a/src/views/routine/disqualification/index.vue b/src/views/routine/disqualification/index.vue index 112a8cb..db759c1 100644 --- a/src/views/routine/disqualification/index.vue +++ b/src/views/routine/disqualification/index.vue @@ -240,7 +240,9 @@ export default { departmentName: [{ required: true, message: '部门不能为空', trigger: 'blur' }], gradeName: [{ required: true, message: '年级不能为空', trigger: 'blur' }], className: [{ required: true, message: '班级不能为空', trigger: 'blur' }], + mz: [{ required: true, message: '民族不能为空', trigger: 'blur' }], jg: [{ required: true, message: '籍贯不能为空', trigger: 'blur' }], + politicalStatus: [{ required: true, message: '请选择政治面貌', trigger: 'blur' }], attachmentUpload: [{ required: true, message: '请上传附件', trigger: 'blur' }], ideologicalEducation: [{ required: true, message: '请输入辅导员联系情况及学生不在校情况说明', trigger: 'blur' }], instructionSchoolHours: [{ required: true, message: '在校时间说明', trigger: 'blur' }], diff --git a/src/views/routine/relieve/detail.vue b/src/views/routine/relieve/detail.vue index ff5b1ec..9c8b859 100644 --- a/src/views/routine/relieve/detail.vue +++ b/src/views/routine/relieve/detail.vue @@ -41,6 +41,10 @@ {{ form.mz }} + + + {{ form.politicalStatus }} + {{ form.birthday }} diff --git a/src/views/routine/relieve/index.vue b/src/views/routine/relieve/index.vue index 0e45911..dbe0b11 100644 --- a/src/views/routine/relieve/index.vue +++ b/src/views/routine/relieve/index.vue @@ -119,6 +119,18 @@ + + + + + + + + + + + + @@ -247,6 +259,7 @@ export default { gradeName: [{ required: true, message: '请输入年级', trigger: 'blur' }], className: [{ required: true, message: '请输入班级', trigger: 'blur' }], mz: [{ required: true, message: '请输入民族', trigger: 'blur' }], + politicalStatus: [{ required: true, message: '请选择政治面貌', trigger: 'blur' }], birthday: [{ required: true, message: '请输入出生日期', trigger: 'blur' }], jg: [{ required: true, message: '请选择籍贯', trigger: 'blur' }], penaltyNumber: [{ required: true, message: '请输入处分文号', trigger: 'blur' }], diff --git a/src/views/routine/rtStuDropOutSchool/index.vue b/src/views/routine/rtStuDropOutSchool/index.vue index e5ddb83..98639bd 100644 --- a/src/views/routine/rtStuDropOutSchool/index.vue +++ b/src/views/routine/rtStuDropOutSchool/index.vue @@ -304,6 +304,7 @@ export default { parentPhone: [{ required: true, message: '家长电话不能为空', trigger: 'blur' }], mz: [{ required: true, message: '民族不能为空', trigger: 'blur' }], jg: [{ required: true, message: '籍贯不能为空', trigger: 'blur' }], + politicalStatus: [{ required: true, message: '请选择政治面貌', trigger: 'blur' }], attachmentUpload: [{ required: true, message: '请上传附件', trigger: 'blur' }], reasonApplying: [{ required: true, message: '请输入申请原因', trigger: 'blur' }], applySignature: [{ required: true, message: '请上传申请人签名', trigger: 'blur' }], diff --git a/src/views/routine/rtStuQuitSchool/index.vue b/src/views/routine/rtStuQuitSchool/index.vue index 00b126c..e5f0547 100644 --- a/src/views/routine/rtStuQuitSchool/index.vue +++ b/src/views/routine/rtStuQuitSchool/index.vue @@ -293,6 +293,7 @@ export default { parentPhone: [{ required: true, message: '家长电话不能为空', trigger: 'blur' }], mz: [{ required: true, message: '民族不能为空', trigger: 'blur' }], jg: [{ required: true, message: '籍贯不能为空', trigger: 'blur' }], + politicalStatus: [{ required: true, message: '请选择政治面貌', trigger: 'blur' }], attachmentUpload: [{ required: true, message: '请上传附件', trigger: 'blur' }], reasonApplying: [{ required: true, message: '请输入申请原因', trigger: 'blur' }], applySignature: [{ required: true, message: '请上传申请人签名', trigger: 'blur' }], diff --git a/src/views/routine/rtStuReentrySchool/index.vue b/src/views/routine/rtStuReentrySchool/index.vue index 44230ca..414447a 100644 --- a/src/views/routine/rtStuReentrySchool/index.vue +++ b/src/views/routine/rtStuReentrySchool/index.vue @@ -308,6 +308,7 @@ export default { parentPhone: [{ required: true, message: '家长电话不能为空', trigger: 'blur' }], mz: [{ required: true, message: '民族不能为空', trigger: 'blur' }], jg: [{ required: true, message: '籍贯不能为空', trigger: 'blur' }], + politicalStatus: [{ required: true, message: '请选择政治面貌', trigger: 'blur' }], attachmentUpload: [{ required: true, message: '请上传附件', trigger: 'blur' }], reasonApplying: [{ required: true, message: '请输入申请原因', trigger: 'blur' }], applySignature: [{ required: true, message: '请上传申请人签名', trigger: 'blur' }], diff --git a/src/views/routine/stuMultiLevelReview/index.vue b/src/views/routine/stuMultiLevelReview/index.vue index 7290941..a97ac56 100644 --- a/src/views/routine/stuMultiLevelReview/index.vue +++ b/src/views/routine/stuMultiLevelReview/index.vue @@ -16,7 +16,7 @@ --> + placeholder="请选择审核时间"> @@ -28,19 +28,19 @@ 新增 + v-hasPermi="['routine:stuMultiLevelReview:add']">新增 修改 + v-hasPermi="['routine:stuMultiLevelReview:edit']">修改 删除 + v-hasPermi="['routine:stuMultiLevelReview:remove']">删除 导出 + v-hasPermi="['routine:stuMultiLevelReview:export']">导出 @@ -76,17 +76,17 @@ + @pagination="getUser" /> @@ -109,7 +109,7 @@ + placeholder="请选择审核时间"> @@ -229,7 +229,7 @@ export default { this.roleGroup = response.roleGroup; // this.postGroup = response.postGroup; // console.log(response); - if (!response.roleGroup.includes("超级管理员")) { + if (!response.roleGroup.includes("超级管理员")) { this.queryParams.reviewer = response.data.nickName } this.getList(); @@ -237,7 +237,7 @@ export default { }); }, /** 查询多级审核 -列表 */ + 列表 */ getList() { this.loading = true; listStuMultiLevelReview(this.queryParams).then(response => { @@ -346,25 +346,25 @@ export default { this.completedForm.id = row.id; this.completedOpen = true; }, - + // 完成制作表单重置 resetCompleted() { this.completedForm = { stuName: null, stuNo: null, reason: null, - messageContent: "你申请办理的学生证制作完成,长堽校区前往xxx领取,里建校区前往xxx领取", + messageContent: "你申请办理的学生证制作完成,长堽校区前往经管楼学工处1-1办公室领取,里建校区前往“一站式”学生社区大厅领取", id: null }; this.resetForm("completedForm"); }, - + // 完成制作取消按钮 cancelCompleted() { this.completedOpen = false; this.resetCompleted(); }, - + // 完成制作提交按钮 submitCompleted() { this.$refs["completedForm"].validate(valid => { @@ -374,10 +374,10 @@ export default { const receiverId = response.data; if (!receiverId) { throw new Error('未找到学生用户ID'); - } + } // 第二步:获取当前用户信息作为发送者 return getUserProfile().then(userResponse => { - const senderId = userResponse.data.userId; + const senderId = userResponse.data.userId; // 第三步:发送消息通知学生 return addMsg({ sender: senderId, From c786b89e7fc17a3125c9efdb0efaf789f5816053 Mon Sep 17 00:00:00 2001 From: MDSMO Date: Wed, 20 Aug 2025 17:36:39 +0800 Subject: [PATCH 05/10] =?UTF-8?q?=E7=BB=99=E5=A4=84=E5=88=86=E8=AE=B0?= =?UTF-8?q?=E5=BD=95=E5=92=8C=E8=A7=A3=E9=99=A4=E5=A4=84=E5=88=86=E5=89=8D?= =?UTF-8?q?=E7=AB=AF=E9=A1=B5=E9=9D=A2=E6=B7=BB=E5=8A=A0=E6=94=BF=E6=B2=BB?= =?UTF-8?q?=E9=9D=A2=E8=B2=8C=E9=80=89=E9=A1=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../task/finished/detail/disqualificationIndex.vue | 8 ++++++++ .../flowable/task/todo/detail/disqualificationIndex.vue | 8 ++++++++ 2 files changed, 16 insertions(+) diff --git a/src/views/flowable/task/finished/detail/disqualificationIndex.vue b/src/views/flowable/task/finished/detail/disqualificationIndex.vue index 9118817..29bdbc6 100644 --- a/src/views/flowable/task/finished/detail/disqualificationIndex.vue +++ b/src/views/flowable/task/finished/detail/disqualificationIndex.vue @@ -42,6 +42,14 @@ {{ form.className }} + + + {{ form.mz }} + + + + {{ form.politicalStatus }} + {{ form.jg }} diff --git a/src/views/flowable/task/todo/detail/disqualificationIndex.vue b/src/views/flowable/task/todo/detail/disqualificationIndex.vue index 9b2fb74..2878ff6 100644 --- a/src/views/flowable/task/todo/detail/disqualificationIndex.vue +++ b/src/views/flowable/task/todo/detail/disqualificationIndex.vue @@ -42,6 +42,14 @@ {{ form.className }} + + + {{ form.mz }} + + + + {{ form.politicalStatus }} + {{ form.jg }} From 6bac627c5d902722f41fa1f2b7d212028f4d2eab Mon Sep 17 00:00:00 2001 From: s1431_z_w <15596413+s1431zw@user.noreply.gitee.com> Date: Wed, 20 Aug 2025 19:35:57 +0800 Subject: [PATCH 06/10] =?UTF-8?q?=E6=B5=81=E7=A8=8B=E5=9B=BE=E4=B8=AD?= =?UTF-8?q?=E6=8C=89=E9=92=AE=E9=9A=90=E8=97=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/flowable/task/myProcess/index.vue | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/views/flowable/task/myProcess/index.vue b/src/views/flowable/task/myProcess/index.vue index f339691..75fcb63 100644 --- a/src/views/flowable/task/myProcess/index.vue +++ b/src/views/flowable/task/myProcess/index.vue @@ -42,7 +42,7 @@ - + - + /> -->
- AI + AI
@@ -192,22 +192,7 @@ export default { } -// ai悬停 -.ai-hover { - position: fixed; - bottom: 20px; - right: 20px; - z-index: 999; - width: 50px; - height: 50px; - border-radius: 50%; - background-color: #409eff; - color: #fff; - display: flex; - justify-content: center; - align-items: center; - cursor: pointer; -} + //AI .ai-hover { @@ -215,8 +200,8 @@ export default { right: 20px; bottom: 20px; /* 和弹窗拉开距离 */ - width: 40px; - height: 40px; + width: 5vw; + height: 7vh; background-color: #409eff; border-radius: 50%; display: flex; From 5fd821b08a52f0b0a4b478a308c3b6e9c8ce95d8 Mon Sep 17 00:00:00 2001 From: MDSMO Date: Tue, 26 Aug 2025 10:28:02 +0800 Subject: [PATCH 09/10] =?UTF-8?q?=E5=89=8D=E7=AB=AF=E5=AD=A6=E5=B7=A5?= =?UTF-8?q?=E5=A4=84=E5=A2=9E=E5=8A=A0=E4=B8=80=E9=94=AE=E7=A1=AE=E8=AE=A4?= =?UTF-8?q?=E5=BE=85=E7=A1=AE=E8=AE=A4=E7=9A=84=E5=AD=A6=E7=94=9F=E4=BD=8F?= =?UTF-8?q?=E5=AE=BF=E8=B4=B9=E7=94=A8=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/dormitory/new/record.js | 10 +++- src/views/dormitory/basedata/range/index.vue | 5 +- src/views/dormitory/daily/record.vue | 56 ++++++++++++++----- src/views/dormitory/new/stuDom/JwcConfirm.vue | 23 +++++++- 4 files changed, 76 insertions(+), 18 deletions(-) diff --git a/src/api/dormitory/new/record.js b/src/api/dormitory/new/record.js index 71bceed..18b7e92 100644 --- a/src/api/dormitory/new/record.js +++ b/src/api/dormitory/new/record.js @@ -122,6 +122,14 @@ export function updateNewRecord(data) { export function delNewRecord(id) { return request({ url: '/dormitory/newRecord/' + id, - method: 'post' + method: 'delete' + }) +} + +// 一键确认未进行住宿费用确认的学生 +export function confirmUnconfirmedStudents() { + return request({ + url: '/dormitory/newRecord/confirmUnconfirmedStudents', + method: 'POST' }) } diff --git a/src/views/dormitory/basedata/range/index.vue b/src/views/dormitory/basedata/range/index.vue index a3a9ac9..a03f27e 100644 --- a/src/views/dormitory/basedata/range/index.vue +++ b/src/views/dormitory/basedata/range/index.vue @@ -204,7 +204,10 @@ export default { let res = await initRecord(sdata); loading.close(); if (res.code == 200) { - this.$message.success(res.msg); + this.$message.success(res.msg + ",住宿费用确认消息已发送给相关学生"); + this.getList(); // 刷新列表 + } else { + this.$message.error(res.msg || "初始化失败"); } }, async listAllGrade() { diff --git a/src/views/dormitory/daily/record.vue b/src/views/dormitory/daily/record.vue index ec0b0c4..03ce22b 100644 --- a/src/views/dormitory/daily/record.vue +++ b/src/views/dormitory/daily/record.vue @@ -91,18 +91,37 @@ - - 学院数据 - - - 个人班级 - + + + + + @@ -342,8 +361,9 @@ export default { let res = await getDeptName(); let allDepts = [...res.data]; - // 如果是学务干事或辅导员,只显示其所属的学院 - if (this.userRoleInfo && (this.userRoleInfo.isXuewu || this.userRoleInfo.isFudaoyuan) && this.userRoleInfo.userDeptName) { + // 如果是学务干事或辅导员(但不是学工),只显示其所属的学院 + // 学工角色可以查看所有学院 + if (this.userRoleInfo && (this.userRoleInfo.isXuewu || this.userRoleInfo.isFudaoyuan) && !this.userRoleInfo.isXuegong && this.userRoleInfo.userDeptName) { this.deptList = allDepts.filter(dept => dept.label === this.userRoleInfo.userDeptName); } else { this.deptList = allDepts; @@ -471,10 +491,14 @@ export default { let res = await checkRoles(); if (res.code === 200 && res.data) { this.userRoleInfo = res.data; + // 只有在多角色情况下才显示角色切换按钮 if (res.data.hasMultipleRoles) { this.showRoleSwitch = true; - this.queryParams.roleType = res.data.defaultRole || 'dept'; + } else { + this.showRoleSwitch = false; } + // 设置默认角色类型 + this.queryParams.roleType = res.data.defaultRole; } } catch (error) { console.error('获取用户角色信息失败:', error); @@ -484,6 +508,8 @@ export default { /** 切换角色 */ switchRole(roleType) { this.queryParams.roleType = roleType; + // 角色切换时重新加载学院列表,确保权限正确 + this.listDept(); this.handleQuery(); }, } diff --git a/src/views/dormitory/new/stuDom/JwcConfirm.vue b/src/views/dormitory/new/stuDom/JwcConfirm.vue index 2707217..648d7f6 100644 --- a/src/views/dormitory/new/stuDom/JwcConfirm.vue +++ b/src/views/dormitory/new/stuDom/JwcConfirm.vue @@ -42,6 +42,7 @@ 搜索 重置 一键确认所有辅导员已确认的记录 + 一键确认未进行住宿费用确认的学生
@@ -152,7 +153,7 @@