发布(0.4.2): 修复履约绑定同步并支持特殊角色名核对
This commit is contained in:
@@ -1508,7 +1508,11 @@ export default function PlatformFulfillmentPage() {
|
||||
{task.account && task.bindingStatus === 'failed' ? (
|
||||
<Tag color="orange">账号保留中</Tag>
|
||||
) : null}
|
||||
<Text ellipsis title={customerRole || '未填写'}>
|
||||
<Text
|
||||
ellipsis
|
||||
title={customerRole || '未填写'}
|
||||
copyable={customerRole ? { text: customerRole } : false}
|
||||
>
|
||||
客户提交角色:{customerRole || '未填写'}
|
||||
</Text>
|
||||
<Text
|
||||
@@ -1516,6 +1520,7 @@ export default function PlatformFulfillmentPage() {
|
||||
style={{ fontSize: 12 }}
|
||||
ellipsis
|
||||
title={scannedRole ? (scannedChannel ? `${scannedRole} (${scannedChannel})` : scannedRole) : '未识别'}
|
||||
copyable={scannedRole ? { text: scannedRole } : false}
|
||||
>
|
||||
扫码绑定角色:{scannedRole || '未识别'}
|
||||
{scannedRole && scannedChannel ? ` · ${scannedChannel}` : ''}
|
||||
@@ -2103,7 +2108,18 @@ export default function PlatformFulfillmentPage() {
|
||||
<Space direction="vertical" size={10} style={{ width: '100%' }}>
|
||||
<Descriptions bordered size="small" column={2}>
|
||||
<Descriptions.Item label="客户角色" span={2}>
|
||||
{selected.customerProfile.roleName || '未填写'}
|
||||
{selected.customerProfile.roleName ? (
|
||||
<Text
|
||||
copyable={{
|
||||
text: selected.customerProfile.roleName,
|
||||
tooltips: ['复制客户角色', '已复制'],
|
||||
}}
|
||||
>
|
||||
{selected.customerProfile.roleName}
|
||||
</Text>
|
||||
) : (
|
||||
'未填写'
|
||||
)}
|
||||
</Descriptions.Item>
|
||||
<Descriptions.Item label="登录方式">
|
||||
{CUSTOMER_PLATFORM_LABELS[selected.customerProfile.platform] || selected.customerProfile.platform || '-'}
|
||||
@@ -2112,7 +2128,18 @@ export default function PlatformFulfillmentPage() {
|
||||
{CUSTOMER_SYSTEM_LABELS[selected.customerProfile.system] || selected.customerProfile.system || '-'}
|
||||
</Descriptions.Item>
|
||||
<Descriptions.Item label="平台当前角色">
|
||||
{selected.customerProfile.platformRoleName || '未识别'}
|
||||
{selected.customerProfile.platformRoleName ? (
|
||||
<Text
|
||||
copyable={{
|
||||
text: selected.customerProfile.platformRoleName,
|
||||
tooltips: ['复制平台当前角色', '已复制'],
|
||||
}}
|
||||
>
|
||||
{selected.customerProfile.platformRoleName}
|
||||
</Text>
|
||||
) : (
|
||||
'未识别'
|
||||
)}
|
||||
</Descriptions.Item>
|
||||
<Descriptions.Item label="平台渠道">
|
||||
{selected.customerProfile.platformChannel || '-'}
|
||||
@@ -2742,6 +2769,36 @@ export default function PlatformFulfillmentPage() {
|
||||
message="请对照客户主页截图核对并修正"
|
||||
description="修改后会同步写入时间线和订单侧;若正在扫码中会立即按新角色名重算。"
|
||||
/>
|
||||
<div>
|
||||
<Text strong>平台当前角色</Text>
|
||||
<Space wrap size={8} style={{ marginTop: 8 }}>
|
||||
{profileEditTarget?.customerProfile?.platformRoleName ? (
|
||||
<>
|
||||
<Text
|
||||
copyable={{
|
||||
text: profileEditTarget.customerProfile.platformRoleName,
|
||||
tooltips: ['复制平台当前角色', '已复制'],
|
||||
}}
|
||||
>
|
||||
{profileEditTarget.customerProfile.platformRoleName}
|
||||
</Text>
|
||||
<Button
|
||||
size="small"
|
||||
icon={<CopyOutlined />}
|
||||
onClick={() =>
|
||||
setProfileEditRole(
|
||||
profileEditTarget.customerProfile?.platformRoleName || '',
|
||||
)
|
||||
}
|
||||
>
|
||||
填入当前角色
|
||||
</Button>
|
||||
</>
|
||||
) : (
|
||||
<Text type="secondary">暂未识别</Text>
|
||||
)}
|
||||
</Space>
|
||||
</div>
|
||||
<div>
|
||||
<Text strong>客户游戏角色名</Text>
|
||||
<Input
|
||||
|
||||
Reference in New Issue
Block a user