diff --git a/src/frontend/src/store.ts b/src/frontend/src/store.ts index 1874e06..26195da 100644 --- a/src/frontend/src/store.ts +++ b/src/frontend/src/store.ts @@ -87,6 +87,13 @@ export function isEdict(t: Task): boolean { } // STATE_LABEL kept for backward compat (7 refs) +export const STATE_LABEL: Record = { + created: '新建', planning: '规划中', challenging: '审核中', + assigned: '已派发', executing: '执行中', paused: '已暂停', + cancelling: '取消中', pausing: '暂停中', + reviewing: '验收中', completed: '已完成', failed: '已失败', + cancelled: '已取消', escalated: '已升级', +}; export function isArchived(t: Task): boolean { return !!t.archived;