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:
rootandClaude Opus 5.5 committed 2026-10-07 02:10:19 +08:00
1 parent 148b12f279
commit 592f40ccf8
23 files changed
+58 -59

No files matched your search

+1 -1
View File
@@ -19,7 +19,7 @@ describe("任务行状态", () => {
});
it("引擎自身失败 / 进行中照旧;没有业务对象照旧", () => {
expect(engineRunStatus({ status: "failed", business: agent("budget_exceeded") }).label).toBe("失败");
expect(engineRunStatus({ status: "running", business: agent("running") }).label).toBe("进行中");
expect(engineRunStatus({ status: "running", business: agent("running") }).label).toBe("运行中");
expect(engineRunStatus({ status: "completed", business: null }).label).toBe("完成");
});
});
+3 -3
View File
@@ -54,9 +54,9 @@ export const workflowLabel = (name: string) => WORKFLOW_LABEL[name] ?? name;
/** 引擎状态 → 任务状态 */
const RUN_STATUS: Record<string, { label: string; tone: StatusTone }> = {
pending: { label: "排队", tone: "neutral" },
running: { label: "进行中", tone: "neutral" },
sleeping: { label: "等待", tone: "neutral" },
pending: { label: "排队中", tone: "neutral" },
running: { label: "运行中", tone: "neutral" },
sleeping: { label: "等待中", tone: "neutral" },
completed: { label: "完成", tone: "success" },
succeeded: { label: "完成", tone: "success" },
failed: { label: "失败", tone: "destructive" },