feat(exams,homework,parent): V3 审计深度修复 — 批量批改/考试分析/提交反馈/家长视图/移动端优化

V3-5: exam-actions.tsx 集成 useExamHomeworkFeatures hook,按角色控制菜单项可见性
V3-7: 批量批改 — 新增 batchAutoGradeSubmissions data-access + Server Action + HomeworkBatchGradingView 组件
V3-8: 考试分析仪表盘 — 新增 getExamAnalytics stats-service + ExamAnalyticsDashboard 组件 + /teacher/exams/[id]/analytics 路由
V3-9: 提交后即时反馈页 — 新增 HomeworkSubmissionResult 组件 + /student/learning/assignments/[id]/result 路由
V3-11: 家长考试详情 — 新增 ChildExamDetail 组件 + getStudentExamResults data-access + child-detail-panel exams Tab
V3-12: 移动端触控优化 — 题目导航与考试操作按钮 44px 最小触控目标

修复: instrumentation.ts 适配器补全 questionCount/averageScore/overdueCount 字段
修复: exam-homework-port.ts 类型导入对齐 ExamWithQuestionsForHomework
修复: trend-line-chart.tsx 数据类型允许 undefined(classAverage 可选场景)

同步更新 004/005 架构文档
This commit is contained in:
SpecialX
2026-06-23 01:06:27 +08:00
parent 21c5eba96c
commit a60105455e
23 changed files with 2407 additions and 263 deletions

View File

@@ -96,6 +96,33 @@
"error": {
"notFound": "考试不存在",
"loadFailed": "加载考试失败"
},
"analytics": {
"title": "考试分析",
"description": "查看考试成绩分布与逐题分析",
"totalStudents": "应考人数",
"submitted": "已提交",
"gradedCount": "已批改",
"assignmentCount": "关联作业数",
"averageScore": "平均分",
"passRate": "及格率",
"scoreDistribution": "分数段分布",
"scoreDistributionDesc": "按百分比区间统计学生人数",
"questionAnalysis": "逐题分析",
"questionAnalysisDesc": "错误率与难度等级错误率≥70%为难题)",
"questionType": "题型",
"questionText": "题目",
"maxScore": "满分",
"errorCount": "错误数",
"errorRate": "错误率",
"difficulty": "难度",
"difficultyEasy": "简单",
"difficultyMedium": "中等",
"difficultyHard": "困难",
"highErrorWarning": "高错误率预警",
"highErrorWarningDesc": "以下题目错误率超过 70%,建议重点讲解",
"noData": "暂无分析数据,需等待学生提交并批改后生成",
"viewAnalytics": "查看分析"
}
},
"homework": {
@@ -249,7 +276,13 @@
"nextStudent": "下一名学生",
"prev": "上一页",
"next": "下一页",
"gradesAutoSaveNote": "点击提交后成绩将自动保存。学生将在您提交后立即看到成绩和反馈。"
"gradesAutoSaveNote": "点击提交后成绩将自动保存。学生将在您提交后立即看到成绩和反馈。",
"batchAutoGrade": "批量自动批改",
"batchSelected": "已选 {{count}} 份提交",
"batchSelectAtLeastOne": "请至少选择一份提交",
"batchFailed": "批量批改失败",
"selectAll": "全选",
"selectRow": "选择此行"
},
"review": {
"title": "复习",
@@ -269,7 +302,23 @@
"responseSummary": "作答概览",
"description": "描述",
"noDescription": "无描述。",
"totalScore": "总分"
"totalScore": "总分",
"correctAnswerTrue": "正确",
"correctAnswerFalse": "错误"
},
"result": {
"title": "提交结果",
"scoreRate": "得分率",
"fullyGraded": "所有题目已批改完成",
"partiallyGraded": "客观题已自动批改,主观题等待教师批改",
"correctCount": "正确",
"incorrectCount": "错误",
"partialCount": "部分正确",
"pendingCount": "待批改",
"wrongAnswersTitle": "错题预览",
"wrongAnswersDesc": "以下题目需要重点复习",
"backToList": "返回作业列表",
"viewErrorBook": "查看错题本"
},
"status": {
"draft": "草稿",