3.2 KiB
3.2 KiB
| 1 | ID | Title | Description | Acceptance | Test_Method | Tools | Dev_Status | Review1_Status | Regression_Status | Files | Dependencies | Notes |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2 | R16-0 | R16执行合同建档与范围冻结 | 创建并校验周报与待办合同 CSV 并冻结本阶段只做小团队周报和个人待办 | CSV 校验通过且明确不引入项目管理 甘特图 CRM 等复杂协作平台能力 | python3 /home/shunli/.codex/skills/plan/scripts/validate_issues_csv.py issues/2026-03-21_12-30-00-r16-weekly-report-todo.csv | manual | DONE | DONE | DONE | issues/2026-03-21_12-30-00-r16-weekly-report-todo.csv|issues/2026-03-21_12-20-00-r15-team-presence.csv | [] | none |
| 3 | R16-1 | WeeklyReport 模型与 API | 新增周报模型与 me/team API 支持懒创建 draft 保存与提交 | 每个员工每周最多一份周报 首次访问自动创建 draft 可提交汇总 | cd server && npm run prisma:validate && npm test | manual | DONE | DONE | DONE | server/prisma/schema.prisma|server/src/routes/weeklyReports.js|server/src/app.js|server/tests | ["R16-0"] | none |
| 4 | R16-2 | TodoItem 模型与 API | 新增待办模型与列表 创建 编辑 完成 取消 API 支持手工创建与周报派生 | 待办支持 assignee priority dueDate status source 并可从周报动作派生 | cd server && npm run prisma:validate && npm test | manual | DONE | DONE | DONE | server/prisma/schema.prisma|server/src/routes/todos.js|server/src/app.js|server/tests | ["R16-0"] | none |
| 5 | R16-3 | 周报页 待办页与老板汇总 | 新增 WeeklyReportsPage 和 TodosPage 并为老板提供团队周报汇总视图 | 员工可提交周报和维护待办 老板可查看团队周报汇总和需协助人员 | cd client && npm run typecheck && npm run build | manual | DONE | DONE | DONE | client/src/pages/WeeklyReportsPage.tsx|client/src/pages/TodosPage.tsx|client/src/router/index.tsx|client/src/api/weeklyReports.ts|client/src/api/todos.ts | ["R16-1","R16-2"] | none |
| 6 | R16-4 | 提醒策略与站内通知 | 补齐周中 周五和周一的站内提醒规则并在 Portal 暴露未提交周报和高优先级待办摘要 | 提醒不会打断主业务 并且老板 Portal 可看到未提交周报人数和高优先级待办 | cd server && npm test && cd ../client && npm run typecheck && npm run build | manual | DONE | DONE | DONE | server/src/routes/notifications.js|server/src/jobs|client/src/pages/PortalHomePage.tsx|client/src/pages/NotificationsPage.tsx | ["R16-3"] | none |
| 7 | R16-5 | Portal Search 公告联动 | 将周报与待办纳入 Portal 卡片 搜索优先级和公告工作台联动 | Portal 首屏可展示本周周报和待办摘要 搜索可命中周报与待办对象 | cd server && npm test && cd ../client && npm run typecheck && npm run build | manual | DONE | DONE | DONE | server/src/routes/portal.js|server/src/routes/search.js|client/src/pages/PortalHomePage.tsx|client/src/components/GlobalSearchDialog.tsx | ["R16-3"] | none |
| 8 | R16-6 | R16回归与验收收口 | 完成周报 待办 提醒和 Portal 联动后的整体验收 | 全员可提交周报 老板可查看团队汇总 且现有报销 请假 公告 Portal 零回归 | cd server && npm test && ./scripts/regression-all.sh && cd ../client && npm run typecheck && npm run build && npm run test:e2e | manual | DONE | DONE | DONE | issues/2026-03-21_12-30-00-r16-weekly-report-todo.csv|server/scripts/regression-all.sh|client/tests/e2e/weekly-report-todo.spec.ts | ["R16-4","R16-5"] | none |