fix: 任务写清进度,设置和采集更好填

This commit is contained in:
2026-10-30 17:53:59 +08:00
parent 309ccebe6d
commit 08b2cb35be
7 changed files with 165 additions and 34 deletions
+2
View File
@@ -496,6 +496,8 @@ def _public_task(task: ExportTask) -> dict:
"status": task.status,
"format": task.file_format,
"cellKey": (task.params or {}).get("cellKey") or "",
"start": (task.params or {}).get("start") or "",
"end": (task.params or {}).get("end") or "",
"error": task.error,
"createdAt": task.created_at.isoformat() if task.created_at else "",
}