Files
one-pipe-system/openspec/changes/add-business-list-approval-summaries/tasks.md
luo d5fd8ac564
All checks were successful
构建并部署前端到测试环境 / build-and-deploy (push) Successful in 7m20s
feat: 退款充值换货列表提交人与审批摘要
2026-07-22 18:37:41 +08:00

34 lines
2.0 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
## 1. List Contracts
- [x] 1.1 扩展退款、代理充值和换货列表项类型,支持 `submitter_name``approval_source``approval_status``approval_status_name``current_approver_summary``processing_status``processing_status_name`
- [x] 1.2 确认三个列表 API 使用列表响应直接提供上述字段,不新增逐条审批详情查询。
## 2. Shared Summary Behavior
- [x] 2.1 实现审批来源展示规则:`none` 显示 `-``legacy` 显示“历史审批”且只读,`wecom` 显示后端审批状态名称。
- [x] 2.2 将当前审批人摘要限制为单行省略,并提供完整文本悬浮提示。
- [x] 2.3 将业务处理状态独立显示为后端 `processing_status_name`,缺失时显示稳定占位内容。
## 3. Refund List
- [x] 3.1 在退款列表增加提交人、审批状态、当前审批人摘要、业务处理状态列。
- [x] 3.2 保留退款既有审批与业务操作,不为历史审批记录增加新操作按钮。
## 4. Agent Recharge List
- [x] 4.1 在代理充值列表增加提交人、审批状态、当前审批人摘要、业务处理状态列。
- [x] 4.2 保留代理充值既有确认支付、拒绝等操作,不为历史审批记录增加新操作按钮。
## 5. Exchange List
- [x] 5.1 在换货列表增加提交人、审批状态、当前审批人摘要、业务处理状态列。
- [x] 5.2 保留换货既有流程和资产筛选逻辑,不为历史审批记录增加新操作按钮。
## 6. Verification
- [x] 6.1 验证三类列表在 `approval_source=none` 时审批状态和当前审批人摘要均显示 `-`
- [x] 6.2 验证 `approval_source=legacy` 时显示“历史审批”且没有新增审批操作,`wecom` 时显示后端审批状态和当前审批人摘要。
- [x] 6.3 验证长当前审批人摘要会省略显示并能通过悬浮查看完整文本。
- [x] 6.4 验证三个列表的业务处理状态独立显示,分页和刷新不触发逐行审批详情请求。
- [x] 6.5 运行相关类型检查、lint 或构建验证。