copy(web): api 标签与整理状态统一
整理记录状态改为排队中 / 整理中 / 已整理 / 部分整理 / 整理失败(列表摘要、组汇总、队列面板同口径); 下载计划「等你批准」「准备提交」;资源评估「可下载」「信息不全」「已跳过」;任务状态带「中」; 识别等待提示改匹配「TMDB 结果在后台查询」。 Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Cxwgnn2pbzQ7rXv3rq7fei
This commit is contained in:
1 parent
148b12f279
commit
592f40ccf8
23 files changed
+58
-59
No files matched your search
@@ -57,10 +57,10 @@ export const decisionKindLabel = (v: string) => DECISION_KIND[v] ?? v;
|
||||
|
||||
const ORG: Record<string, Labeled> = {
|
||||
queued: { label: "排队中", tone: "neutral" },
|
||||
running: { label: "进行中", tone: "neutral" },
|
||||
succeeded: { label: "成功", tone: "success" },
|
||||
partial: { label: "部分成功", tone: "warning" },
|
||||
failed: { label: "失败", tone: "destructive" },
|
||||
running: { label: "整理中", tone: "neutral" },
|
||||
succeeded: { label: "已整理", tone: "success" },
|
||||
partial: { label: "部分整理", tone: "warning" },
|
||||
failed: { label: "整理失败", tone: "destructive" },
|
||||
cancelled: { label: "已取消", tone: "neutral" },
|
||||
};
|
||||
export const organizationLabel = (v: string | null | undefined) => pick(ORG, v);
|
||||
|
||||
Reference in new issue
Block a user