admin/sql/smoke_approval_engine_checklist.md
zzh 649b84c1b0
All checks were successful
Build and Deploy / deploy (push) Successful in 1m18s
feat: 新增单级可配置审批引擎与配置/待办 API
一期落地定义、实例、任务、事件及模拟提交通路,业务接入后续再挂 Operation Adapter。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-07 18:27:41 +08:00

14 lines
823 B
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. 在 OMS 库执行 `migrate_approval_engine_20261107.sql`。
2. 重启 SimpleAdmin.Api(触发 `ApprovalRolePermissionSeedContributor` 合并 Admin 权限码)。
3. 前端打开 **系统管理 → 审批配置**:
- 新增:`System.Approval.Simulate`,审批人选**另一位用户**(若选自己请关闭「禁止自审」),启用。
- 点击「模拟提交」,应返回 `PendingApproval` + 实例单号。
4. 用审批人账号打开 **审批待办**:
- 「待我审批」可见该单 → 通过 / 驳回。
- 详情抽屉可见事件:`Submitted` → `Approved`/`Rejected` →(通过时)`Executing` → `Executed`。
5. 申请人账号在「我发起的」可撤回 Pending 单。
业务接入见 `src/Oms.Application/Services/Approval/README.md`。