优化半自动履约客户页与后台操作布局
用户侧统一显示等待客服处理并精简平台标题;移除 Cookie 等专业表述;后台操作改为两行行内按钮,取消操作下拉。
This commit is contained in:
@@ -366,7 +366,7 @@ export async function createSemiAutoMock(
|
||||
pageDescription,
|
||||
loginInstructions:
|
||||
platform === 'weibo'
|
||||
? '真实登录:使用微博绑定手机号接收验证码登录,或使用微博 App 扫码登录。登录仅用于本次订单履约,不会在页面展示账号 Cookie。'
|
||||
? '真实登录:使用微博绑定手机号接收验证码登录,或使用微博 App 扫码登录。登录信息仅用于本次订单履约。'
|
||||
: connectorMode === 'mock'
|
||||
? 'Mock 登录:点击获取二维码后,页面轮询两次会自动模拟登录成功。'
|
||||
: '真实登录:点击获取二维码后,请使用虎牙 App 扫码并在手机上确认登录。',
|
||||
|
||||
@@ -172,7 +172,7 @@ function displayStatus(task: TaskRow) {
|
||||
return { key: 'failed', label: '需客服处理' }
|
||||
}
|
||||
if (task.login_status === 'authenticated') {
|
||||
return { key: 'waiting_operator', label: 'CK 已获取,等待客服处理' }
|
||||
return { key: 'waiting_operator', label: '等待客服处理' }
|
||||
}
|
||||
if (task.login_status === 'scanned') return { key: 'login_scanned', label: '已扫码,确认中' }
|
||||
if (task.login_status === 'qr_pending') return { key: 'waiting_login', label: '等待客户登录' }
|
||||
|
||||
@@ -141,7 +141,7 @@ test(
|
||||
)
|
||||
const authenticatedList = await listAdminSemiAutoTasks({ keyword: orderNo })
|
||||
assert.equal(authenticatedList.items[0]?.loginStatus, 'authenticated')
|
||||
assert.equal(authenticatedList.items[0]?.displayStatus.label, 'CK 已获取,等待客服处理')
|
||||
assert.equal(authenticatedList.items[0]?.displayStatus.label, '等待客服处理')
|
||||
const exported = await exportAdminSemiAutoCredential(taskId)
|
||||
assert.equal(exported.credentialId, credentialId)
|
||||
assert.equal(exported.platform, 'huya')
|
||||
|
||||
Reference in New Issue
Block a user