From adf2e9a066d14e3e4a470270aa606892da73077b Mon Sep 17 00:00:00 2001 From: yml Date: Wed, 25 Nov 2026 13:37:38 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96(=E5=B1=A5=E7=BA=A6=E5=B7=A5?= =?UTF-8?q?=E4=BD=9C=E5=8F=B0):=20=E7=BB=91=E5=AE=9A=E5=A4=B1=E8=B4=A5?= =?UTF-8?q?=E4=B8=94=E8=B4=A6=E5=8F=B7=E5=B7=B2=E9=87=8A=E6=94=BE=E6=97=B6?= =?UTF-8?q?=E6=94=AF=E6=8C=81=E9=87=8D=E6=96=B0=E9=80=89=E5=8F=B7=E5=B9=B6?= =?UTF-8?q?=E7=BB=91=E5=AE=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/pages/PlatformFulfillmentPage.tsx | 31 +++++++++++++++++++ 1 file changed, 31 insertions(+) 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' &&