From bde4b9017c036a64214c12e7aa2f4c5932fdab77 Mon Sep 17 00:00:00 2001 From: yml Date: Thu, 26 Nov 2026 02:01:30 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96(=E5=B1=A5=E7=BA=A6=E5=88=97?= =?UTF-8?q?=E8=A1=A8):=20=E6=98=8E=E7=A1=AE=E5=B1=95=E7=A4=BA=E5=AE=A2?= =?UTF-8?q?=E6=88=B7=E6=8F=90=E4=BA=A4=E8=A7=92=E8=89=B2=E4=B8=8E=E8=AF=86?= =?UTF-8?q?=E5=88=AB=E8=A7=92=E8=89=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/pages/PlatformFulfillmentPage.tsx | 23 +++++++++++++------ 1 file changed, 16 insertions(+), 7 deletions(-) diff --git a/web/frontend/src/pages/PlatformFulfillmentPage.tsx b/web/frontend/src/pages/PlatformFulfillmentPage.tsx index 0c55bd9..d10e7a1 100644 --- a/web/frontend/src/pages/PlatformFulfillmentPage.tsx +++ b/web/frontend/src/pages/PlatformFulfillmentPage.tsx @@ -1395,14 +1395,16 @@ export default function PlatformFulfillmentPage() { ), }, { - title: '用户角色绑定', + title: '客户角色 / 绑定', key: 'binding', - width: 180, + width: 200, render: (_, task) => { - const roleName = - task.bindTask?.roleName?.trim() || - task.customerProfile?.roleName?.trim() || - '-'; + const customerRole = task.customerProfile?.roleName?.trim() || ''; + const scannedRole = task.bindTask?.roleName?.trim() || ''; + const showScannedRole = + Boolean(scannedRole) && + scannedRole !== customerRole && + ['role_ready', 'bound'].includes(task.bindingStatus); return ( @@ -1411,7 +1413,14 @@ export default function PlatformFulfillmentPage() { {task.account && task.bindingStatus === 'failed' ? ( 账号保留中 ) : null} - {roleName} + + 客户角色:{customerRole || '未填写'} + + {showScannedRole ? ( + + 识别角色:{scannedRole} + + ) : null} {task.bindingStatus === 'bound' ? ( 换绑时间:{formatTime(task.account?.roleChangeAvailableAt) || '无冷却'}