fix(admin): 任务列表商品名与执行器标签改为中文展示

建单时不再把英文 sku 写入商品名,列表按映射反查中文名,并将 Affiliate Dash 等标签本地化。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
yml2213
2026-09-15 13:03:47 +08:00
co-authored by Cursor
parent 68f43bf323
commit b7d246e5b9
10 changed files with 92 additions and 9 deletions
@@ -28,6 +28,7 @@ const STATUS_LABELS: Record<string, string> = {
delivered: '已发放',
disabled: '已停用',
dispatched_pending_return: '待退还号码',
draft: '草稿',
expired: '已过期',
external: '外部链接',
failed: '失败',
@@ -91,6 +92,7 @@ const STATUS_COLORS: Record<string, string> = {
customer_processing: 'blue',
delivered: 'green',
disabled: 'red',
draft: 'gold',
external: 'cyan',
failed: 'red',
invalid: 'orange',