feat(semi-auto): 虎牙客户页登录→资料→绑定流程与返回上一步重置
This commit is contained in:
@@ -53,6 +53,7 @@ import { resolvePostInjectionUrl } from '@/utils/semi-auto-injection'
|
||||
const { Text } = Typography
|
||||
|
||||
const STATUS_COLORS: Record<string, string> = {
|
||||
waiting_profile: 'gold',
|
||||
waiting_customer: 'blue',
|
||||
waiting_login: 'blue',
|
||||
login_scanned: 'cyan',
|
||||
@@ -773,19 +774,49 @@ export default function AdminSemiAutoTasksPage() {
|
||||
? '微博登录即授权'
|
||||
: BINDING_STATUS_LABELS[detail.task.bindingStatus] || detail.task.bindingStatus}
|
||||
</Descriptions.Item>
|
||||
<Descriptions.Item label="绑定角色">
|
||||
{detail.task.bindGameRole
|
||||
? `${detail.task.bindGameRole}${detail.task.bindGameRoleId ? `(${detail.task.bindGameRoleId})` : '(无角色ID)'}`
|
||||
: '-'}
|
||||
<Descriptions.Item label="平台绑定角色">
|
||||
{detail.task.bindGameRole || '-'}
|
||||
</Descriptions.Item>
|
||||
<Descriptions.Item label="平台角色ID">
|
||||
{detail.task.bindGameRoleId || detail.task.huyaUid || '-'}
|
||||
</Descriptions.Item>
|
||||
<Descriptions.Item label="平台绑定渠道">
|
||||
{[
|
||||
detail.task.bindGameChannel,
|
||||
detail.comparison?.boundZone ? `识别区服 ${detail.comparison.boundZone}` : '',
|
||||
]
|
||||
.filter(Boolean)
|
||||
.join(' · ') || '-'}
|
||||
</Descriptions.Item>
|
||||
<Descriptions.Item label="客户填写角色">
|
||||
{detail.task.customerGameRoleName
|
||||
? `${detail.task.customerGameRoleName}${detail.task.customerGameRoleId ? `(${detail.task.customerGameRoleId})` : ''}`
|
||||
: '-'}
|
||||
{detail.task.customerGameRoleName || '-'}
|
||||
</Descriptions.Item>
|
||||
<Descriptions.Item label="区服">
|
||||
<Descriptions.Item label="客户游戏编号">
|
||||
{detail.task.customerGameRoleId || '-'}
|
||||
</Descriptions.Item>
|
||||
<Descriptions.Item label="客户区服">
|
||||
{detail.task.customerServerZone || '-'}
|
||||
</Descriptions.Item>
|
||||
<Descriptions.Item label="角色比对" span={2}>
|
||||
<Space direction="vertical" size={2}>
|
||||
<Tag
|
||||
color={
|
||||
detail.comparison?.verdict === 'match'
|
||||
? 'green'
|
||||
: detail.comparison?.verdict === 'mismatch'
|
||||
? 'red'
|
||||
: 'orange'
|
||||
}
|
||||
>
|
||||
{detail.comparison?.verdict === 'match'
|
||||
? '三项一致,可提交平台绑定'
|
||||
: detail.comparison?.verdict === 'mismatch'
|
||||
? '资料与平台角色不一致'
|
||||
: '信息不完整,需人工核实'}
|
||||
</Tag>
|
||||
<Text type="secondary">{detail.comparison?.message || '-'}</Text>
|
||||
</Space>
|
||||
</Descriptions.Item>
|
||||
<Descriptions.Item label="客服">
|
||||
{detail.task.assignedAdminName || '未领取'}
|
||||
</Descriptions.Item>
|
||||
|
||||
Reference in New Issue
Block a user