auto-sync: 2026-05-19 13:58:43
This commit is contained in:
@@ -142,11 +142,11 @@ function VerifyCheckpoint({
|
||||
{cp.description}
|
||||
</div>
|
||||
{/* 自动核验 */}
|
||||
{cp.autoCheckResults?.length ? (
|
||||
{payload.auto_checks?.length ? (
|
||||
<div style={{ marginBottom: 12 }}>
|
||||
<div style={{ fontSize: 11, fontWeight: 700, color: 'var(--muted)', marginBottom: 6 }}>自动核验结果</div>
|
||||
<div style={{ display: 'flex', gap: 6, flexWrap: 'wrap' }}>
|
||||
{cp.autoCheckResults.map((r, i) => (
|
||||
{payload.auto_checks.map((r, i) => (
|
||||
<span key={i} style={{ fontSize: 11, padding: '3px 10px', borderRadius: 4, background: r.passed ? '#22c55e22' : '#ef444422', color: r.passed ? '#22c55e' : '#ef4444' }}>
|
||||
{r.passed ? '✅' : '❌'} {r.label}
|
||||
</span>
|
||||
@@ -155,28 +155,20 @@ function VerifyCheckpoint({
|
||||
</div>
|
||||
) : null}
|
||||
{/* 人工核验步骤 */}
|
||||
{cp.verificationSteps?.length ? (
|
||||
{payload.human_steps?.length ? (
|
||||
<div style={{ marginBottom: 12 }}>
|
||||
<div style={{ fontSize: 11, fontWeight: 700, color: 'var(--muted)', marginBottom: 6 }}>人工核验步骤</div>
|
||||
<div style={{ fontSize: 12, lineHeight: 1.8, paddingLeft: 16, borderLeft: '2px solid var(--line)' }}>
|
||||
{cp.verificationSteps.map((s, i) => <div key={i}>{i + 1}. {s}</div>)}
|
||||
{payload.human_steps.map((s, i) => <div key={i}>{i + 1}. {s}</div>)}
|
||||
</div>
|
||||
</div>
|
||||
) : null}
|
||||
{/* 关联产出物 */}
|
||||
{cp.artifacts?.length ? (
|
||||
{/* 预览链接 */}
|
||||
{payload.preview_url && (
|
||||
<div style={{ marginBottom: 12 }}>
|
||||
<div style={{ fontSize: 11, color: 'var(--muted)', marginBottom: 4 }}>📦 关联产出物</div>
|
||||
<div style={{ display: 'flex', gap: 6, flexWrap: 'wrap' }}>
|
||||
{cp.artifacts.map((a, i) => (
|
||||
<a key={i} href={api.artifactDownloadUrl(taskId, a.path)} target="_blank" rel="noreferrer"
|
||||
style={{ fontSize: 10, padding: '2px 8px', borderRadius: 4, border: '1px solid var(--line)', color: 'var(--fg)', textDecoration: 'none' }}>
|
||||
📄 {a.name} ↗
|
||||
</a>
|
||||
))}
|
||||
</div>
|
||||
<a href={payload.preview_url} target="_blank" rel="noreferrer" style={{ fontSize: 11, color: 'var(--acc)' }}>🔗 预览产出</a>
|
||||
</div>
|
||||
) : null}
|
||||
)}
|
||||
{/* 驳回输入 */}
|
||||
{showReject && (
|
||||
<div style={{ marginBottom: 12 }}>
|
||||
|
||||
Reference in New Issue
Block a user