文件
hyb-oa/issues/2026-05-08_00-25-12-r109-mobile-reimbursement-trialrun-fixes.csv

6.9 KiB

1IDTitleDescriptionAcceptanceTest_MethodToolsDev_StatusReview1_StatusRegression_StatusFilesDependenciesNotes
2A1移动底部导航压缩与实心选中态优化企业微信移动端底部导航:降低高度、减少空心胶囊感,选中态改为实心背景,并确保安全区和点击目标仍符合移动端可用性。1) 390x844 视口底部导航高度控制在 64px 左右,含安全区不再显得过厚;2) 选中态为实心填充,不使用空心描边胶囊;3) 首页、报销、请假、票据、我的页面无底部遮挡;4) 保留至少 44px 点击目标。命令:`bash scripts/qa/run-web-gates.sh r108-mobile-local`;业务流程:手机企微进入 /mobile,切换首页、票据、我的,确认底部导航紧凑且选中态清晰。playwright|typescriptDONEDONEDONEclient/src/components/mobile/MobileBottomNav.tsx|client/src/layouts/AppShellLayout.tsx|client/tests/e2e/r108-mobile-wecom-visual.spec.ts[]回滚路径:恢复 MobileBottomNav 样式和 AppShellLayout 移动 padding。
3A2移动报销详情页新增或改造 `/mobile/reimbursements/:id`,让移动报销列表的继续编辑进入移动详情,而不是 PC 报销详情页。1) `/mobile/reimbursements` 点击草稿继续编辑进入 `/mobile/reimbursements/:id`;2) 首屏显示金额、状态、明细数、票据数、提交/删除等高频操作;3) 不出现 PC 顶栏、侧边栏、打印按钮和冗长元信息;4) 提交操作不落在页面最底部不可见区域。命令:`cd client && npm run typecheck && npm run build && bash ../scripts/qa/run-web-gates.sh r109-mobile-local`;业务流程:手机企微进入报销列表 -> 继续编辑草稿 -> 添加明细/查看票据 -> 提交或删除草稿。playwright|typescriptDONEDONEDONEclient/src/pages/MobileReimbursementsPage.tsx|client/src/pages/MobileReimbursementDetailPage.tsx|client/src/router/index.tsx|client/src/api/reimbursements.ts|client/tests/e2e["A1"]不改后端状态机;如需要新增前端页面文件,沿用现有 API。
4A3移动添加发票交互重做优化移动报销详情中的添加发票体验:打开后不自动聚焦搜索框,默认优先上传/拍照和展示可绑定发票,并默认绑定到明细。1) 添加发票面板打开后 activeElement 不再是搜索输入框,企微不自动弹键盘;2) 移动端优先展示上传/拍照入口,其次展示可绑定发票;3) 若报销单只有 1 条明细,绑定发票默认选中该明细;4) 上传后给出 pending_ocr/available/failed 的明确状态,不只显示上传中。命令:`bash scripts/qa/run-web-gates.sh r109-mobile-local`;业务流程:手机报销详情 -> 添加发票 -> 不弹键盘 -> 上传或选择发票 -> 默认绑定到明细。playwright|typescriptDONEDONEDONEclient/src/pages/ReimbursementDetailPage.tsx|client/src/pages/MobileReimbursementDetailPage.tsx|client/src/api/invoicePool.ts|client/tests/e2e["A2"]优先前端交互改造;不在本 Issue 改 OCR provider。
5A4移动票据上传卡住专项排障针对真机企微上传后长期显示上传中的问题做公网与本地双轨排障,区分前端按钮状态、HTTP 上传、存储写入、OCR pending、worker 处理和腾讯 OCR 响应。1) 本地 mock 上传仍能在 2s 内恢复按钮状态;2) 公网 live 上传能记录 requestId、HTTP 状态、耗时和最终票据状态;3) 若卡住,报告能归因到前端 pending 未清、接口未返回、接口返回但 OCR pending、worker 未处理或腾讯失败;4) 不泄露凭据和发票隐私。命令:`PLAYWRIGHT_OCR_LIVE_FILE=<file> PLAYWRIGHT_MANUAL=1 PLAYWRIGHT_OCR_LIVE=1 E2E_BASE_URL=https://oa.hyinda.com npx playwright test tests/e2e/manual/live-invoice-ocr.spec.ts --workers=1 --reporter=list`;业务流程:企微/公网员工上传真实发票 -> 记录上传按钮、接口响应、OCR 状态。playwright|manual|postgres:queryDONEDONETODOclient/src/pages/MobileCapturePage.tsx|server/src/routes/invoicePool.js|server/src/jobs/ocrJob.js|server/src/scripts/audit-smoke-data.js|client/tests/e2e/manual/live-invoice-ocr.spec.ts["A1"]已补 45s 上传超时保护并通过本地 R108/R109;公网真机 OCR 归因仍需要用户配合真实上传时间点或授权重置 smoke 账号。
6A5移动请假与我的页面底部避让修复请假页创建草稿按钮贴近/被底部导航遮挡的问题,并精简我的页更多入口首屏占用。1) `/mobile/leave` 创建草稿按钮不会被底部导航压住;2) 表单底部有足够滚动留白;3) `/mobile/me` 高频入口优先,低频入口折叠或下沉;4) 390x844 视觉巡检无底部遮挡发现。命令:`bash scripts/qa/run-web-gates.sh r108-mobile-local`;业务流程:手机请假填写表单并滚动到底部,手机我的页面进入常用入口。playwright|typescriptDONEDONEDONEclient/src/pages/MobileLeavePage.tsx|client/src/pages/MobileMePage.tsx|client/tests/e2e/r108-mobile-wecom-visual.spec.ts["A1"]只改移动端布局和入口排序,不改请假审批规则。
7A6企微手机路由分流与视觉规则扩展扩展自动视觉巡检,把 PC 路由在企微手机视口下的误入问题纳入检测,重点覆盖报销详情、票据中心、请假 PC 路由。1) 企微手机从移动入口不会跳入 PC 报销详情;2) 巡检能发现添加发票弹窗自动聚焦、底部导航过高、底部操作遮挡、PC 壳误入;3) 输出截图和 JSON/Markdown 报告。命令:`bash scripts/qa/run-web-gates.sh r108-mobile-local && bash scripts/qa/run-web-gates.sh r109-mobile-local`;业务流程:企微手机首页、报销详情、添加发票、票据上传、请假、我的全链路巡检。playwright|typescriptDONEDONEDONEclient/tests/e2e/r108-mobile-wecom-visual.spec.ts|client/tests/e2e/r109-mobile-reimbursement-feedback.spec.ts|scripts/qa/run-web-gates.sh|output/playwright/r109-mobile-feedback["A2","A3","A5"]截图输出到 output/playwright,不提交大图。
8A7R109 回归收口执行 R109 全量相关验证,回填 Issue 状态并准备中文分批提交。1) server Prisma validate 通过;2) client typecheck/build 通过;3) R108 移动视觉、R109 移动专项通过;4) 公网真机 OCR 归因单独等待人工配合,不和本轮 UI 修复混淆。命令:`cd server && npm run prisma:validate && cd ../client && npm run typecheck && npm run build && cd .. && bash scripts/qa/run-web-gates.sh r108-mobile-local && bash scripts/qa/run-web-gates.sh r109-mobile-local`;业务流程:移动报销、发票、请假、我的、票据上传完成回归。npm|playwright|gitDONEDONEDONEissues/2026-05-08_00-25-12-r109-mobile-reimbursement-trialrun-fixes.csv|client|server|scripts/qa|output/playwright/r109-mobile-feedback["A1","A2","A3","A4","A5","A6"]提交信息使用中文并引用 R109/Ax;A4 公网真机 OCR 归因仍需人工配合。