5.7 KiB
5.7 KiB
| 1 | ID | Title | Description | Acceptance | Test_Method | Tools | Dev_Status | Review1_Status | Regression_Status | Files | Dependencies | Notes |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2 | A1 | R101 移动端收口合同 | 以 R100 设计规则为事实源,取代未提交的 R99 移动端 WIP 合同,收口企业微信/手机端首页、我的、报销、请假入口。 | 本 CSV 校验通过;R99 未提交合同不再作为本轮执行源;本轮不修改后端状态机和报销数据模型。 | python3 /home/shunli/.codex/skills/plan/scripts/validate_issues_csv.py issues/2026-05-06_22-22-09-r101-mobile-wip-closeout.csv;业务流程影响:仅固定移动端收口执行范围。 | python|manual | DONE | DONE | DONE | issues/2026-05-06_22-22-09-r101-mobile-wip-closeout.csv | [] | R99 WIP 被 R101 吸收或清理;不提交密钥;回滚路径为 revert 本批提交。 |
| 3 | A2 | 移动首页与我的页收口 | 移除企业微信手机端口语化文案、黑色主卡、黑色底部选中态,降低我的页头像和说明文案视觉权重,并隐藏移动路由的桌面顶栏/侧栏。 | 手机视口 /mobile 不出现 先处理这几件事 或 清爽;底部当前项不使用黑色块;/mobile/me 头像不过大且无长段解释;移动路由不出现桌面菜单抽屉。 | cd client && npx playwright test tests/e2e/r101-mobile-wip-closeout.spec.ts --reporter=list;业务流程影响:登录后进入移动首页和我的页,检查常用入口与个人信息可用。 | playwright|typescript | DONE | DONE | DONE | client/src/pages/MobilePortalPage.tsx|client/src/pages/MobileMePage.tsx|client/src/components/mobile/MobileBottomNav.tsx|client/src/layouts/AppShellLayout.tsx | ["A1"] | 遵循 docs/product-design-rules.md;不改变权限模型。 |
| 4 | A3 | 移动报销入口收口 | 新增或吸收移动报销页,移动首页和我的页报销入口导向移动卡片视图,避免手机端直接进入桌面表格页。 | /mobile/reimbursements 可访问;首屏有新建报销、状态分段和卡片/空状态;草稿卡显示继续编辑;手机视口不显示桌面表格。 | cd client && npx playwright test tests/e2e/r101-mobile-wip-closeout.spec.ts --reporter=list;业务流程影响:员工进入报销移动页、创建草稿入口可见、列表可按状态切换。 | playwright|typescript | DONE | DONE | DONE | client/src/pages/MobileReimbursementsPage.tsx|client/src/router/index.tsx|client/src/router/lazy/index.ts|client/src/router/lazy/MobileReimbursementsPage.ts | ["A2"] | 暂不解决业务编号生成,UUID 回退留给 R102 报销主流程重构。 |
| 5 | A4 | 移动请假入口收口 | 新增或吸收移动请假页,移动首页和我的页请假入口导向移动表单和卡片记录,避免手机端直接进入桌面表格页,并将附件上传改为中文自定义控件。 | /mobile/leave 可访问;首屏有新建请假、额度摘要和请假记录;草稿/驳回记录可编辑;手机视口不显示桌面表格;附件区域显示 选择附件 和文件名回显。 | cd client && npx playwright test tests/e2e/r101-mobile-wip-closeout.spec.ts --reporter=list;业务流程影响:员工进入请假移动页、填写草稿入口可见、记录可按状态切换。 | playwright|typescript | DONE | DONE | DONE | client/src/pages/MobileLeavePage.tsx|client/src/router/index.tsx|client/src/router/lazy/index.ts|client/src/router/lazy/MobileLeavePage.ts|scripts/qa/check-ui-design-rules.mjs | ["A2"] | 本批仅处理移动请假附件控件;其他页面上传控件留给 R103。 |
| 6 | A5 | 移动端视觉自动化回归 | 新增 R101 Playwright 用例,使用 mock API 覆盖移动首页、我的、移动报销、移动请假,记录截图并断言关键设计规则。 | R101 Playwright 用例通过;断言无口语化文案、无可见桌面表格、无黑色移动主导航/主卡;生成测试截图附件。 | cd client && npx playwright test tests/e2e/r101-mobile-wip-closeout.spec.ts --reporter=list;业务流程影响:模拟员工登录后走移动核心入口。 | playwright | DONE | DONE | DONE | client/tests/e2e/r101-mobile-wip-closeout.spec.ts | ["A2","A3","A4"] | 使用 mock API,不依赖真实企业微信或生产账号。 |
| 7 | A6 | 审计产物归档与工作区清理 | 检查 r99/r100 审计产物是否包含密钥或密码;将必要 JSON/截图作为证据归档,或清理不需要纳入 git 的旧 WIP 合同。 | git status 不再出现未决的 R99/R100 审计产物和旧 R99 合同;若提交审计产物,确认不含 secret/password/token。 | rg -n -i 'secret|password|token|authorization|cookie' artifacts/r99-mobile-feedback-audit artifacts/r100-pc-reimbursement-audit;业务流程影响:不改变运行时,仅保留可审计证据。 | rg|git|manual | DONE | DONE | DONE | artifacts/r99-mobile-feedback-audit|artifacts/r100-pc-reimbursement-audit|issues/2026-05-06_21-16-33-r99-wecom-mobile-ui-remediation.csv | ["A1"] | 旧 R99 合同由 R101 取代;未提交过时草稿已清理;R100 审计 JSON 已脱敏。 |
| 8 | A7 | 验证回填与中文提交 | 执行 CSV 校验、UI 诊断、前端类型检查、构建和 R101 Playwright 回归,并中文提交本批。 | A1-A6 状态按实测回填;git diff --check 通过;提交信息中文且引用 R101/A1-A7;提交范围不包含无关文件。 | python3 /home/shunli/.codex/skills/plan/scripts/validate_issues_csv.py issues/2026-05-06_22-22-09-r101-mobile-wip-closeout.csv;node scripts/qa/check-ui-design-rules.mjs;cd client && npm run typecheck;cd client && npm run build;cd client && npx playwright test tests/e2e/r101-mobile-wip-closeout.spec.ts --reporter=list;业务流程影响:确认移动端收口不破坏前端构建。 | python|node|npm|playwright|git | DONE | DONE | DONE | issues/2026-05-06_22-22-09-r101-mobile-wip-closeout.csv|client | ["A1","A2","A3","A4","A5","A6"] | 提交后继续评估是否进入 R102 报销主流程。 |