diff --git a/components/agents/AgentGenerationWorkspaceDarkV2.tsx b/components/agents/AgentGenerationWorkspaceDarkV2.tsx index 247cf739c..1ac08358c 100644 --- a/components/agents/AgentGenerationWorkspaceDarkV2.tsx +++ b/components/agents/AgentGenerationWorkspaceDarkV2.tsx @@ -2490,65 +2490,89 @@ export function AgentGenerationWorkspaceDarkV2({ 4 ); const primaryPreviewUrl = previewUrls[0] || getCandidatePreviewUrl(candidate, detailReferenceTarget); + const uploadedAtText = (() => { + const raw = candidate.uploadedAt ? new Date(candidate.uploadedAt) : null; + if (!raw || Number.isNaN(raw.getTime())) return "未记录"; + return raw.toLocaleString("zh-CN", { + timeZone: "Asia/Shanghai", + month: "2-digit", + day: "2-digit", + hour: "2-digit", + minute: "2-digit", + }); + })(); + const summaryBadges = [ + `${detailReferenceSourceLabel}`, + `${getCandidateTargetCount(candidate, detailReferenceTarget)}张`, + candidate.categoryName || null, + ].filter((item): item is string => Boolean(item)); return ( );