Files
Academic-Affairs-System/web-react/MIGRATION_MATRIX.md
T
biss b19c40f09a feat(web): migrate student, public, and teacher workflows
Add React workflows for experiments, campus registration, student approvals, account activation, document verification, classroom repair, venue displays, and teacher rosters. Wire role-aware navigation while preserving existing API authorization boundaries.
2026-10-03 21:38:14 +08:00

5.1 KiB

React 路由迁移矩阵

状态值:inventory、building、verification、complete。

路由 页面 角色/公开范围 关键合同 状态
/login 登录 公开 验证码、密码、TOTP、SSO 设置、会话落盘 building
/dashboard 角色化首页 已登录用户 管理总览;学生课表/消息/考试/预警;教师教学班/成绩登记进度 verification
/account 个人账户 已登录用户 TOTP、恢复码、SSO 绑定;Passkey 浏览器仪式尚未开放 verification
/users 用户与权限 SuperAdmin 列表、筛选、分页、创建、启停、重置密码、角色范围、Excel verification
/notifications 通知中心 已登录用户 收件箱筛选、游标分页、已读回执、权限范围/筛选/指定收件人群发、已发送 verification
/my-timetable 我的课表 Student、Teacher 当前学期周视图、考试/实验融合、Excel/PDF/ICS、订阅启停与密钥轮换 verification
/exams 考试/监考安排 Student、Teacher 已发布个人安排、考场、座位、监考教师、历史区分 verification
/grades 我的成绩 Student 学期筛选、成绩构成、学分绩点、学业指标和排名 verification
/warnings 我的学业预警 Student 预警确认、确认备注、帮扶与复核进度 verification
/my-profile 我的个人档案 Student 学籍只读信息、身份与联系资料、紧急联系人、特殊支持需求 verification
/my-attendance 我的考勤 Student 定位/二维码签到、课程归档、出勤汇总、异常记录申诉 verification
/course-selections 学生选课 Student 批次窗口、学分预算、教学班余量、选课/退选、候补顺位 verification
/my-curriculum 我的培养方案 Student 发布方案匹配、课程模块、修读状态、完成学分与失败记录 verification
/academic-overview 学业成绩总览 Student 全学期指标、班级/专业/学院排名、学期趋势 verification
/free-classrooms 空闲教室 Student 正式课表、预约占用、周次/节次/校区/容量筛选 verification
/academic-calendar 学术校历 Student 当前学期角色日程、月视图、节假日和考试提醒 verification
/student-status-changes 学籍异动 Student 休学/复学/退学申请、三级进度、提交前撤回 verification
/official-documents 电子凭证 Student 自助签发、短时去重、状态追踪、PDF 下载 verification
/graduation-audits 毕业审核 Student 发布结论、学分/必修完成度、缺失课程与复核说明 verification
/tuition 我的学费 Student 四类费用明细、已缴/待缴、校园余额分项支付 verification
/other-exams 其他考试 Student 最佳成绩、历次考试、通过/等级/分数制结果 verification
/makeup-exams 补考安排 Student 已发布场次、补考原因、考场、座位和成绩 verification
/evaluations 教学评价 Student 开放任务、动态评分维度、一次性提交 verification
/academic-planning 学业规划与毕业模拟 Student 未来学期排课、下学期建议、先修冲突、负荷和毕业时间模拟 verification
/physical-fitness 我的体质健康 Student 已发布学年、单项成绩、标准分、附加分和综合等级 verification
/degree-awards 我的学位授予 Student 正式发布结论、绩点门槛、规则或人工复核说明 verification
/graduation-clearance 我的毕业离校 Student 跨部门事项、必办标记、办结/豁免状态和整体进度 verification
/experiments 我的实验 Student 集中课次、自主场次、容量、预约与取消 verification
/experiment-grades 我的实验成绩 Student 正式发布项目、评分维度、参与状态和课程加权总分 verification
/campus-registrations 校园支付与报名 Student 开放项目、报名、审核状态、撤销、校园余额支付 verification
/approvals 我的审批申请 Student 免修、缓考、课程替代申请与审核结果 verification
/teacher-roster 选课名单 Teacher 本人授课教学班、学生联系与特殊支持信息、Excel 导出 verification
/activate 学生账号激活 公开 学籍选项、身份匹配、强密码和一次性激活 verification
/verify/:verificationCode? 电子凭证验真 公开 唯一编号、实时状态、签发信息和 PDF 哈希 verification
/classroom-repairs/report/:classroomId 教室扫码报修 公开 教室设备、故障类别、联系方式和工单提交 verification
/venue-display/:type/:id 教室/楼宇信息屏 公开 当日课表、空闲状态、公告、报修二维码和自动刷新 verification

后续从 web/src/router/index.ts 逐条补全。只有关键合同和各状态验收完整后,状态才能更新为 complete。