From 6ae036217f5c00ca982ca5ceae6ff56e0b116e44 Mon Sep 17 00:00:00 2001 From: ymq Date: Thu, 3 Sep 2026 17:31:38 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20task=5Fio=E7=8A=B6=E6=80=81=E9=A2=9C?= =?UTF-8?q?=E8=89=B2/=E7=BB=88=E6=80=81=E5=88=97=E8=A1=A8=E8=A1=A5qc=5Frej?= =?UTF-8?q?ected?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- wwwroot/api/task_io.dspy | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/wwwroot/api/task_io.dspy b/wwwroot/api/task_io.dspy index f4b01a1..8eabcab 100644 --- a/wwwroot/api/task_io.dspy +++ b/wwwroot/api/task_io.dspy @@ -21,6 +21,7 @@ _state_colors = { 'rejected': '#dc2626', 'paused': '#f0a040', 'cancelled': '#64748b', 'qc_review': '#8b5cf6', + 'qc_rejected': '#dc2626', } if not task_id: @@ -127,7 +128,7 @@ async with DBPools().sqlorContext(dbname) as sor: # 5 秒刷新:仅非终态任务刷新。终态(completed/approved/failed/rejected/cancelled)不再变化, # 切到终态任务时清除定时器;非终态任务设置定时器。params.state 由 binds.params 传入 script。 refresh_script = ( - "var _term=['completed','approved','failed','rejected','cancelled'];" + "var _term=['completed','approved','failed','rejected','cancelled','qc_rejected'];" "if(_term.indexOf(params.state)>=0){" "if(window._task_io_timer){clearInterval(window._task_io_timer);window._task_io_timer=null;}" "}else if(!window._task_io_timer){"