fix(admin): 任务列表商品名与执行器标签改为中文展示
建单时不再把英文 sku 写入商品名,列表按映射反查中文名,并将 Affiliate Dash 等标签本地化。 Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -137,7 +137,9 @@ export default function AdminTasksPage() {
|
||||
return (
|
||||
<div className="cell-stack">
|
||||
<span>{row.skuName || '-'}</span>
|
||||
<span className="muted">{row.skuCode || '-'}</span>
|
||||
{row.skuCode && row.skuCode !== row.skuName ? (
|
||||
<span className="muted">{row.skuCode}</span>
|
||||
) : null}
|
||||
<Tag className="task-list-executor-tag" color={executor.color} title={executor.key}>
|
||||
{executor.label}
|
||||
</Tag>
|
||||
@@ -472,7 +474,7 @@ export default function AdminTasksPage() {
|
||||
function resolveTaskExecutorDisplay(value: unknown) {
|
||||
const executorKey = String(value || '').trim()
|
||||
if (executorKey === 'affiliate_dash') {
|
||||
return { key: executorKey, label: 'Affiliate Dash', color: 'green' }
|
||||
return { key: executorKey, label: '联盟发货', color: 'green' }
|
||||
}
|
||||
if (executorKey === 'kuaishou_ct_assisted') {
|
||||
return { key: executorKey, label: '乐玩云(已下线)', color: 'default' }
|
||||
|
||||
Reference in New Issue
Block a user