Files
Academic-Affairs-System/web-react/MIGRATION_MATRIX.md
T
biss 93ab6a7b9e feat(web): migrate account and user management to React
Add React account and user administration flows, including TOTP and SSO handling. Route /next SSO callbacks to React while preserving the existing Vue and native app behavior, and cover the routing policy with API tests.
2026-10-03 21:38:14 +08:00

13 lines
823 B
Markdown

# React 路由迁移矩阵
状态值:`inventory`、`building`、`verification`、`complete`。
| 路由 | 页面 | 角色/公开范围 | 关键合同 | 状态 |
| --- | --- | --- | --- | --- |
| `/login` | 登录 | 公开 | 验证码、密码、TOTP、SSO 设置、会话落盘 | building |
| `/dashboard` | 教务总览 | 已登录用户 | `GET /api/dashboard`、角色视图、待办和学期 | building |
| `/account` | 个人账户 | 已登录用户 | TOTP、恢复码、SSO 绑定;Passkey 浏览器仪式尚未开放 | verification |
| `/users` | 用户与权限 | SuperAdmin | 列表、筛选、分页、创建、启停、重置密码、角色范围、Excel | verification |
后续从 `web/src/router/index.ts` 逐条补全。只有关键合同和各状态验收完整后,状态才能更新为 `complete`。