From 1ba7c959214ad550c819ed855ebba4d4f6724e36 Mon Sep 17 00:00:00 2001 From: 18154758993 <605281283@qq.com> Date: Tue, 26 Aug 2025 11:10:01 +0800 Subject: [PATCH 1/4] =?UTF-8?q?=E6=96=87=E4=BB=B6=E4=BB=A3=E7=A0=81?= =?UTF-8?q?=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/Home/comps/jwc-undo.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/Home/comps/jwc-undo.vue b/src/views/Home/comps/jwc-undo.vue index 0886d85..5c7a43b 100644 --- a/src/views/Home/comps/jwc-undo.vue +++ b/src/views/Home/comps/jwc-undo.vue @@ -86,7 +86,7 @@ export default { name: "knzzgl", value: 0, url: "/hard/gl/xg" - } + }, { label: "学工·学生证补办审核", name: "xszb", From 89b7b140bb141c45c761c11daa0185acc05cc617 Mon Sep 17 00:00:00 2001 From: ningbo <3301955438@qq.com> Date: Tue, 26 Aug 2025 11:19:52 +0800 Subject: [PATCH 2/4] =?UTF-8?q?feat(=E5=BF=83=E7=90=86=E8=AF=84=E4=BC=B0):?= =?UTF-8?q?=20=E6=96=B0=E5=A2=9E=E5=AD=A6=E7=94=9F=E5=BF=83=E7=90=86?= =?UTF-8?q?=E8=AF=84=E4=BC=B0=E8=AF=A6=E6=83=85=E9=A1=B5=E5=8F=8A=E8=81=8A?= =?UTF-8?q?=E5=A4=A9=E8=AE=B0=E5=BD=95=E6=9F=A5=E7=9C=8B=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 在API中添加获取单个学生历史心理记录接口 - 重构心理评估列表页面,增加搜索、分页功能 - 新增心理评估详情对话框,包含学生信息和历史记录 - 添加聊天记录标签页,支持查看学生与AI的对话历史 - 实现加载更多消息功能,优化Markdown内容渲染 - 改进UI样式,增加响应式设计和交互效果 --- src/api/aitutor/chat.js | 28 +- src/views/aitutor/chatwarning/index.vue | 1056 +++++++++++++++++++---- 2 files changed, 906 insertions(+), 178 deletions(-) diff --git a/src/api/aitutor/chat.js b/src/api/aitutor/chat.js index e8a2ed8..e5cdc80 100644 --- a/src/api/aitutor/chat.js +++ b/src/api/aitutor/chat.js @@ -1,19 +1,27 @@ -import request from '@/utils/request' +import request from "@/utils/request"; // 获取学生AI对话消息列表(管理员查看) export function getMessagesToAdmin(params) { return request({ - url: '/aitutor/aichat/getMessagesToAdmin', - method: 'get', - params: params - }) + url: "/aitutor/aichat/getMessagesToAdmin", + method: "get", + params: params, + }); } // 获取心理评估数据 export function getPsychologicalRatings(query) { return request({ - url: '/api/wechat/rating/all', - method: 'get', - params: query - }) -} \ No newline at end of file + url: "/api/wechat/rating/all", + method: "get", + params: query, + }); +} + +// 获取单个学生的历史心理记录 +export function getStudentRatingHistory(stuNo) { + return request({ + url: `/api/wechat/rating/${stuNo}`, + method: "get", + }); +} diff --git a/src/views/aitutor/chatwarning/index.vue b/src/views/aitutor/chatwarning/index.vue index 38c3fc8..5c1a0a5 100644 --- a/src/views/aitutor/chatwarning/index.vue +++ b/src/views/aitutor/chatwarning/index.vue @@ -1,197 +1,654 @@ - - - - - - - {{ scope.row.rating }} - - - - - - 查看详情 - - - - - - + + + + + + + + + + 搜索 - - 学生信息 - 学号:{{ selectedStudent.studentId }} - 姓名:{{ selectedStudent.studentName }} + 重置 + + + + + + + + + + + + + + + {{ scope.row.rating }} + + + + + + {{ + parseTime(scope.row.createdTime, "{y}-{m}-{d} {h}:{i}:{s}") + }} + + + + + 查看详情 + + + + + + + + + + + + 学生信息 + + 学号:{{ selectedStudent.stuNo }} + 姓名:{{ selectedStudent.stuName }} 班级:{{ selectedStudent.className }} - 辅导员:{{ selectedStudent.counselor }} - - 历史评估记录 - - - - - {{ scope.row.rating }} - - - - - - {{ parseTime(scope.row.createdTime, '{y}-{m}-{d} {h}:{i}:{s}') }} - - - + - - + + + + + + + + + + + + {{ scope.row.rating }} + + + + + + {{ + parseTime( + scope.row.createdTime, + "{y}-{m}-{d} {h}:{i}:{s}" + ) + }} + + + + + + + + + + + + + + + + {{ + parseTime( + message.created_at * 1000, + "{y}-{m}-{d} {h}:{i}:{s}" + ) + }} + + + + + 学生提问 + + {{ message.query }} + + + + + AI回答 + + + + + + + + + + + + + + + + + + + + + + + 加载更多历史消息 + + + + + 已经到底了 + + + + + + + + + + From 55979198fb333e2ef16a428f8e4ae2436300426f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BA=9E?= <3154396966@qq.com> Date: Wed, 27 Aug 2025 15:04:57 +0800 Subject: [PATCH 3/4] =?UTF-8?q?=E5=85=88=E8=BF=9B=E7=8F=AD=E9=9B=86?= =?UTF-8?q?=E4=BD=93=E5=92=8C=E7=BB=BC=E5=90=88=E7=B4=A0=E8=B4=A8=E7=94=B3?= =?UTF-8?q?=E8=AF=B7=E5=AE=A1=E6=A0=B8=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/Home/comps/fdy-undo.vue | 16 +++++++++++++++- src/views/Home/comps/xw-undo.vue | 15 +++++++++++---- src/views/Home/index-1.vue | 6 ++++++ src/views/Home/index-3.vue | 16 +++++++++++++++- src/views/Home/index-4.vue | 7 +++++++ 5 files changed, 54 insertions(+), 6 deletions(-) diff --git a/src/views/Home/comps/fdy-undo.vue b/src/views/Home/comps/fdy-undo.vue index 56f21e8..1f3afa8 100644 --- a/src/views/Home/comps/fdy-undo.vue +++ b/src/views/Home/comps/fdy-undo.vue @@ -62,7 +62,7 @@ export default { url: "/hard/zxj/fdy" }, { - label: "辅导员·宿舍管理审核", + label: "辅导员·调宿申请审核", name: "dms", value: 0, url: "/dormitory/stuDormitoryManage/fdys" @@ -132,6 +132,20 @@ export default { value: 0, url: "/dormitory/new/FdyConfirm" }, + //庞世斌 + { + label: "辅导员·综合素质审核", + name: "zhsz", + value: 0, + url: "/stuCQS/process/TODoList" + }, + { + label: "辅导员·先进班集体审核", + name: "xjbjt", + value: 0, + url: "/stuGood/good-class/fdy" + }, + ], diff --git a/src/views/Home/comps/xw-undo.vue b/src/views/Home/comps/xw-undo.vue index 1145df1..66e3928 100644 --- a/src/views/Home/comps/xw-undo.vue +++ b/src/views/Home/comps/xw-undo.vue @@ -116,6 +116,13 @@ export default { value: 0, url: "/teacher/teacherKpiFilling/collegeAudit/XWAuditList", }, + //庞世斌 + { + label: "学务·先进班集体审核", + name: "xjbjt", + value: 0, + url: "/stuGood/good-class/xw", + }, ], }; }, @@ -140,10 +147,10 @@ export default { } }, - toRoute(url) { - if (!isEmpty(url)) { - this.$router.push(url); - } +toRoute(url) { + if (!isEmpty(url)) { + this.$router.push(url); + } }, }, }; diff --git a/src/views/Home/index-1.vue b/src/views/Home/index-1.vue index 5c4100d..5ae29de 100644 --- a/src/views/Home/index-1.vue +++ b/src/views/Home/index-1.vue @@ -218,6 +218,12 @@ export default { value: 0, url: "/dormitory/stuDormitoryManage/final" }, + { + label: "学务·先进班集体审核", + name: "xjbjt", + value: 0, + url: "/stuGood/good-class/xw", + }, // { // label: "勤工助学学生岗位申请审核", // name: "qgzxgw", diff --git a/src/views/Home/index-3.vue b/src/views/Home/index-3.vue index 168ccb7..09d44e2 100644 --- a/src/views/Home/index-3.vue +++ b/src/views/Home/index-3.vue @@ -210,11 +210,25 @@ export default { url: "/hard/zxj/fdy" }, { - label: "宿舍管理审核", + label: "调宿申请审核", name: "dms", value: 0, url: "/dormitory/stuDormitoryManage/fdys" }, + + //庞世斌 + { + label: "辅导员·综合素质审核", + name: "zhsz", + value: 0, + url: "/stuCQS/process/TODoList" + }, + { + label: "辅导员·先进班集体审核", + name: "xjbjt", + value: 0, + url: "/stuGood/good-class/fdy" + }, // { // label: "勤工助学学生岗位申请审核", // name: "qgzxgw", diff --git a/src/views/Home/index-4.vue b/src/views/Home/index-4.vue index dc9a214..76bd272 100644 --- a/src/views/Home/index-4.vue +++ b/src/views/Home/index-4.vue @@ -151,6 +151,13 @@ export default { value: 0, url: "/dormitory/stuDormitoryManage/accommodation", }, + { + label: "学工·先进班集体审核", + name: "xjbjt", + value: 0, + url: "/stuGood/good-class/jwc" + }, + // { // label: "勤工助学学生岗位申请审核", // name: "qgzxgw", From a3fb6dec154cdce7ed4ab6629455324d849b5754 Mon Sep 17 00:00:00 2001 From: firefly <1633489380@qq.com> Date: Wed, 27 Aug 2025 15:09:08 +0800 Subject: [PATCH 4/4] =?UTF-8?q?=E5=88=A0=E9=99=A4=E4=BA=86=E5=AD=A6?= =?UTF-8?q?=E5=B7=A5=C2=B7=E8=BE=85=E5=AF=BC=E5=91=98=E7=AE=A1=E7=90=86-?= =?UTF-8?q?=E4=B8=9A=E7=BB=A9=E8=80=83=E6=A0=B8-=E7=A7=91=E5=AE=A4?= =?UTF-8?q?=E5=A4=8D=E5=AE=A1-=E5=AD=A6=E5=B7=A5=E5=A4=84=E9=95=BF?= =?UTF-8?q?=E8=BF=99=E4=B8=A4=E4=B8=AA=E8=A7=92=E8=89=B2=E7=9A=84=E5=BE=85?= =?UTF-8?q?=E5=8A=9E=E6=B8=B2=E6=9F=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/Home/comps/jwc-undo.vue | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/src/views/Home/comps/jwc-undo.vue b/src/views/Home/comps/jwc-undo.vue index ce55b1d..7753cb8 100644 --- a/src/views/Home/comps/jwc-undo.vue +++ b/src/views/Home/comps/jwc-undo.vue @@ -133,19 +133,6 @@ 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", - }, ], }; },
学号:{{ selectedStudent.studentId }}
姓名:{{ selectedStudent.studentName }}
学号:{{ selectedStudent.stuNo }}
姓名:{{ selectedStudent.stuName }}
班级:{{ selectedStudent.className }}
辅导员:{{ selectedStudent.counselor }}