diff --git a/web/frontend/src/pages/PlatformFulfillmentPage.tsx b/web/frontend/src/pages/PlatformFulfillmentPage.tsx index 6c45b8c..a15ebcf 100644 --- a/web/frontend/src/pages/PlatformFulfillmentPage.tsx +++ b/web/frontend/src/pages/PlatformFulfillmentPage.tsx @@ -457,6 +457,15 @@ function canRefreshBindingQr(task: PlatformFulfillmentTask) { return !['role_ready', 'bound', 'completed', 'cancelled'].includes(task.executionStatus); } +function canReallocateAndBind(task: PlatformFulfillmentTask) { + return Boolean( + !task.account && + task.customerProfile && + task.executionStatus === 'manual_required' && + ['binding_failed', 'lease_expired'].includes(task.issueCode), + ); +} + function canManualConfirmBinding(task: PlatformFulfillmentTask) { if (!task.account) return false; return !['bound', 'completed', 'cancelled'].includes(task.executionStatus); @@ -1515,6 +1524,18 @@ export default function PlatformFulfillmentPage() { 刷新二维码 ) : null} + {canReallocateAndBind(task) ? ( + + ) : null} {task.executionStatus === 'role_ready' ? ( ) : null} + {selected && canReallocateAndBind(selected) ? ( + + ) : null} {selected && selected.executionStatus !== 'role_ready' && selected.executionStatus !== 'bound' &&