feat(接单): 支持客服手动结束赠送冷却

This commit is contained in:
yml2213
2026-08-28 20:39:41 +08:00
parent e680792161
commit 5d5d63bb59
11 changed files with 255 additions and 2 deletions
@@ -157,6 +157,20 @@ export function formatWorkOrderEvent(event: WorkOrderEvent): EventNodeStyle {
case 'material_updated':
return { title: '更新了订单资料', color: 'cyan' }
// —— 好友赠送节点 ——
case 'gift_material_submitted':
return { title: '打手提交好友赠送资料,等待客服确认加好友', color: 'cyan' }
case 'friend_confirmed':
return { title: '客服确认已加好友,赠送冷却开始', color: 'gold' }
case 'gift_cooldown_completed_by_admin':
return {
title: note ? `客服手动结束赠送冷却:${note}` : '客服手动结束赠送冷却',
description: '打手现在可以提交赠送凭证与验收资料',
color: 'green',
}
case 'gift_material_reset':
return { title: note ? `客服重置打手好友赠送资料:${note}` : '客服重置打手好友赠送资料', color: 'orange' }
// —— 验收节点 ——
case 'acceptance_submitted': {
const imageCount = readPayload(event, 'imageCount')