fix(fulfillment): 恢复 cjm 新角色客户确认

- 回滚 QYOOB-only 门禁,扫到新角色即进入 role_ready
- 客户页 readiness 与平台任务 role_ready 对齐,避免确认接口 409
- 绑定证据 baseline 不再冒充本次扫码
- 新增人工确认绑定接口与按钮(角色、备注、操作人事件)
- 补充客户确认、证据口径和人工确认回归测试
This commit is contained in:
yml
2026-11-24 14:57:39 +08:00
parent 1f53e1a95b
commit 47be8646bf
11 changed files with 573 additions and 74 deletions
@@ -137,6 +137,11 @@ export const platformFulfillmentApi = {
api.post<PlatformFulfillmentDetail, PlatformFulfillmentDetail>(
`/platform-fulfillment/tasks/${taskId}/bind/confirm`,
),
manualConfirmBinding: (taskId: number, roleName: string, note: string) =>
api.post<PlatformFulfillmentDetail, PlatformFulfillmentDetail>(
`/platform-fulfillment/tasks/${taskId}/bind/manual-confirm`,
{ role_name: roleName, note },
),
refreshEligibility: (taskId: number) =>
api.post<PlatformFulfillmentDetail, PlatformFulfillmentDetail>(
`/platform-fulfillment/tasks/${taskId}/eligibility/refresh`,
+1
View File
@@ -2513,6 +2513,7 @@ export interface PlatformFulfillmentBindingEvidence {
confirmable: boolean;
targetRole: string;
scannedRole: string;
baselineRole: string;
samePair: boolean;
actionCurrent: PlatformFulfillmentBindingCandidate | null;
actionPending: PlatformFulfillmentBindingCandidate | null;