chore: 归档 3 个 change 产物、Design Doc、验证报告、主 spec、项目配置

This commit is contained in:
2026-07-03 10:58:57 +08:00
parent ef805fc823
commit 3b45723877
27 changed files with 641 additions and 0 deletions

View File

@@ -2,6 +2,7 @@
change: admin-responsive-adaptation
design-doc: docs/superpowers/specs/2026-07-03-admin-responsive-adaptation-design.md
base-ref: 779cedb8a07bbfe1c50871526f9b99f8bc008acc
archived-with: 2026-07-03-admin-responsive-adaptation
---
# 管理后台三端响应式适配 Implementation Plan
@@ -23,6 +24,7 @@ base-ref: 779cedb8a07bbfe1c50871526f9b99f8bc008acc
- 编译必须通过:`npm run build` 无 TypeScript 错误
- 命名约定:从 `expenseTypeMap` 等现有映射扩展,不新建无意义的变量名
archived-with: 2026-07-03-admin-responsive-adaptation
---
### Task 1: 全局 CSS 三断点体系
@@ -123,6 +125,7 @@ git add apps/admin/src/index.css
git commit -m "feat: 建立三断点 CSS 体系,替换单断点移动端样式"
```
archived-with: 2026-07-03-admin-responsive-adaptation
---
### Task 2: MainLayout 三端布局重构
@@ -280,6 +283,7 @@ git add apps/admin/src/layouts/MainLayout.tsx
git commit -m "feat: MainLayout 三端布局重构,使用 antd Grid.useBreakpoint()"
```
archived-with: 2026-07-03-admin-responsive-adaptation
---
### Task 3: Dashboard 响应式网格和图表
@@ -443,6 +447,7 @@ git add apps/admin/src/pages/Dashboard/index.tsx
git commit -m "feat: Dashboard 响应式网格,统计卡片/图表/工具栏适配三端"
```
archived-with: 2026-07-03-admin-responsive-adaptation
---
### Task 4: 学生管理字段拆分和响应式适配
@@ -553,6 +558,7 @@ git add apps/admin/src/pages/Students/index.tsx
git commit -m "feat: 学生管理字段拆分(学号/身份证分列),表格和工具栏响应式适配"
```
archived-with: 2026-07-03-admin-responsive-adaptation
---
### Task 5: 宿舍总览 RoomVisual 复查
@@ -597,6 +603,7 @@ git commit -m "chore: RoomVisual 三端断点复查确认,无改动"
注:如果复查无改动,可跳过此 commit或提交一个空 commit 标记完成。
archived-with: 2026-07-03-admin-responsive-adaptation
---
### Task 6: 入住管理 Occupancies 响应式适配
@@ -651,6 +658,7 @@ git add apps/admin/src/pages/Occupancies/index.tsx
git commit -m "feat: 入住管理表格添加 scroll工具栏/弹窗响应式适配"
```
archived-with: 2026-07-03-admin-responsive-adaptation
---
### Task 7: 宿舍管理 Rooms 响应式适配
@@ -696,6 +704,7 @@ git add apps/admin/src/pages/Rooms/index.tsx
git commit -m "feat: 宿舍管理表格添加 scroll 横向滚动"
```
archived-with: 2026-07-03-admin-responsive-adaptation
---
### Task 8: 费用录入 Expenses 响应式适配
@@ -762,6 +771,7 @@ git add apps/admin/src/pages/Expenses/index.tsx
git commit -m "feat: 费用录入两个表格添加 scroll 横向滚动"
```
archived-with: 2026-07-03-admin-responsive-adaptation
---
### Task 9: 押金管理 Deposits 响应式适配
@@ -803,6 +813,7 @@ git add apps/admin/src/pages/Deposits/index.tsx
git commit -m "feat: 押金管理表格添加 scroll 横向滚动"
```
archived-with: 2026-07-03-admin-responsive-adaptation
---
### Task 10: 账单管理 Bills 响应式适配
@@ -886,6 +897,7 @@ git add apps/admin/src/pages/Bills/index.tsx
git commit -m "feat: 账单管理表格添加 scroll详情内嵌表格也添加 scroll"
```
archived-with: 2026-07-03-admin-responsive-adaptation
---
### Task 11: 教室管理 Classrooms 响应式适配
@@ -925,6 +937,7 @@ git add apps/admin/src/pages/Classrooms/index.tsx
git commit -m "feat: 教室管理表格添加 scroll 横向滚动"
```
archived-with: 2026-07-03-admin-responsive-adaptation
---
### Task 12: 租赁订单 ClassroomRentals 响应式适配
@@ -955,6 +968,7 @@ git commit -m "chore: ClassroomRentals 复查 scroll 和 wrap确认无需修
注:如果复查无改动,可跳过此 commit。
archived-with: 2026-07-03-admin-responsive-adaptation
---
### Task 13: 租赁方 Tenants 响应式适配
@@ -996,6 +1010,7 @@ git add apps/admin/src/pages/Tenants/index.tsx
git commit -m "feat: 租赁方表格添加 scroll 横向滚动"
```
archived-with: 2026-07-03-admin-responsive-adaptation
---
### Task 14: 操作日志 OperationLogs 响应式适配
@@ -1024,6 +1039,7 @@ git add apps/admin/src/pages/OperationLogs/index.tsx
git commit -m "chore: OperationLogs 复查 scroll 和 wrap确认无需修改"
```
archived-with: 2026-07-03-admin-responsive-adaptation
---
### Task 15: 角色管理 Roles 响应式适配
@@ -1072,6 +1088,7 @@ git add apps/admin/src/pages/Roles/index.tsx
git commit -m "feat: 角色管理工具栏添加 flexWrap 响应式适配"
```
archived-with: 2026-07-03-admin-responsive-adaptation
---
### Task 16: 权限一览 Permissions 响应式适配
@@ -1112,6 +1129,7 @@ git add apps/admin/src/pages/Permissions/index.tsx
git commit -m "feat: 权限一览工具栏添加 flexWrap 响应式适配"
```
archived-with: 2026-07-03-admin-responsive-adaptation
---
### Task 17: 账号管理 Users 响应式适配
@@ -1156,6 +1174,7 @@ git add apps/admin/src/pages/Users/index.tsx
git commit -m "feat: 账号管理工具栏添加 flexWrap 响应式适配"
```
archived-with: 2026-07-03-admin-responsive-adaptation
---
### Task 18: 教室排期 ClassroomSchedule 特殊适配
@@ -1188,6 +1207,7 @@ git add apps/admin/src/pages/ClassroomSchedule/index.tsx
git commit -m "chore: ClassroomSchedule 复查 sticky 列和日期列 minWidth确认无需修改"
```
archived-with: 2026-07-03-admin-responsive-adaptation
---
### Task 19: 登录页 Login 响应式适配
@@ -1226,6 +1246,7 @@ git add apps/admin/src/pages/Login/index.tsx
git commit -m "feat: 登录卡片改为 maxWidth + calc 响应式宽度"
```
archived-with: 2026-07-03-admin-responsive-adaptation
---
### Task 20: 全局验证与编译检查
@@ -1302,6 +1323,7 @@ git commit -m "chore: 全局响应式适配验证完成"
如果验证中发现问题需要修复,则在对应页面进行修复后单独 commit。
archived-with: 2026-07-03-admin-responsive-adaptation
---
### Critical Files for Implementation