修复(履约绑定): 匹配客户目标时展示 cjm 待确认角色
This commit is contained in:
@@ -1398,22 +1398,28 @@ export default function PlatformFulfillmentPage() {
|
||||
title: '用户角色绑定',
|
||||
key: 'binding',
|
||||
width: 180,
|
||||
render: (_, task) => (
|
||||
<Space direction="vertical" size={2}>
|
||||
<Tag color={bindingStatusColor(task.bindingStatus)}>
|
||||
{bindingStatusLabel(task.bindingStatus)}
|
||||
</Tag>
|
||||
{task.account && task.bindingStatus === 'failed' ? (
|
||||
<Tag color="orange">账号保留中</Tag>
|
||||
) : null}
|
||||
<Text>{task.bindTask?.roleName || (task.bindTask?.bindPhase === 'role_ready' ? '角色待确认' : '-')}</Text>
|
||||
{task.bindingStatus === 'bound' ? (
|
||||
<Text type="secondary" style={{ fontSize: 12 }}>
|
||||
换绑时间:{formatTime(task.account?.roleChangeAvailableAt) || '无冷却'}
|
||||
</Text>
|
||||
) : null}
|
||||
</Space>
|
||||
),
|
||||
render: (_, task) => {
|
||||
const roleName =
|
||||
task.bindTask?.roleName?.trim() ||
|
||||
task.customerProfile?.roleName?.trim() ||
|
||||
'-';
|
||||
return (
|
||||
<Space direction="vertical" size={2}>
|
||||
<Tag color={bindingStatusColor(task.bindingStatus)}>
|
||||
{bindingStatusLabel(task.bindingStatus)}
|
||||
</Tag>
|
||||
{task.account && task.bindingStatus === 'failed' ? (
|
||||
<Tag color="orange">账号保留中</Tag>
|
||||
) : null}
|
||||
<Text ellipsis title={roleName}>{roleName}</Text>
|
||||
{task.bindingStatus === 'bound' ? (
|
||||
<Text type="secondary" style={{ fontSize: 12 }}>
|
||||
换绑时间:{formatTime(task.account?.roleChangeAvailableAt) || '无冷却'}
|
||||
</Text>
|
||||
) : null}
|
||||
</Space>
|
||||
);
|
||||
},
|
||||
},
|
||||
{
|
||||
title: '游戏主页',
|
||||
|
||||
Reference in New Issue
Block a user