吸收数字员工日报产物闭环

This commit is contained in:
baiyanyun
2026-06-09 22:16:03 +08:00
parent ba806f779e
commit 0d2008b35c
11 changed files with 588 additions and 180 deletions

View File

@@ -298,7 +298,10 @@ export default function DailyReport({ focusSection }: { focusSection?: string |
const downloadDailyReport = useCallback(() => {
if (!report || report.status !== 'ready') return;
downloadTextFile(reportFileName(today), buildReportDownloadText(today, report, taskSections, runDetails, artifactSources));
downloadTextFile(
report.download_filename || reportFileName(today),
report.text_content || buildReportDownloadText(today, report, taskSections, runDetails, artifactSources),
);
}, [artifactSources, report, runDetails, taskSections, today]);
return (