perf(short-drama-agent-front): 优化记录加载与工作区体验

This commit is contained in:
GJ committed 2026-11-06 20:56:25 +08:00
1 parent d0264c08ce
commit db9aea1694
111 files changed
+1680 -1290

No files matched your search

@@ -772,7 +772,7 @@ defineExpose({ inspectSpecs, inspecting })
:show-icon="false"
class="mt-3 text-xs"
>
当前主首帧在本次质量检查中未通过,已阻止继续生成视频。请从候选中选择质量通过的图片。
主首帧未通过检查,请更换合格候选后生成视频。
</ContextNotice>
<ContextNotice
v-if="query.data.value?.qualityStatusError"
@@ -780,7 +780,7 @@ defineExpose({ inspectSpecs, inspecting })
:show-icon="false"
class="mt-3 text-xs"
>
视频质量链状态暂时无法读取;视频资产仍可查看。请稍后刷新。
暂时无法读取检查结果,请刷新。
</ContextNotice>
<div class="production-stage-actions">
<NButton
@@ -967,9 +967,7 @@ defineExpose({ inspectSpecs, inspecting })
]"
@update:value="videoInputModeOverride = $event"
/>
<p class="mt-1.5 text-[11px] leading-5 text-muted">
自动选择合适的生成方式;手动选择只影响本次生成。
</p>
<p class="mt-1.5 text-[11px] leading-5 text-muted">可手动调整本次生成方式。</p>
</div>
</div>
</section>
@@ -1073,7 +1071,7 @@ defineExpose({ inspectSpecs, inspecting })
<AppDialog
v-model:open="candidatesOpen"
title="首帧候选管理"
description="读取已保存质量结论;通过质量检查或完成有效人工复核的候选可以设为主首帧。"
description="通过检查或人工复核后可设为主首帧。"
:width="keyframeCandidatesWidth"
>
<!-- 候选图片和对应的人工复核入口按相同候选 ID 分组。 -->
@@ -1137,12 +1135,7 @@ defineExpose({ inspectSpecs, inspecting })
<p v-else class="text-xs text-muted">暂无其它视频候选。</p>
</AppDialog>
<!-- 以下是指定视频质量记录弹窗模块,打开后直接展示结果与修改建议 -->
<AppDialog
v-model:open="videoHistoryOpen"
title="视频质量记录"
description="查看此视频已有的画面检查结果与本镜头的相关记录,不收费。"
wide
>
<AppDialog v-model:open="videoHistoryOpen" title="视频质量记录" description="免费查看视频检查记录。" wide>
<VideoQualityDiagnostics
v-if="videoHistoryOpen && videoHistoryId"
:key="`${shot.shotId}:${videoHistoryId}`"
@@ -1152,30 +1145,19 @@ defineExpose({ inspectSpecs, inspecting })
:stale-reason="videoHistoryId === currentVideo?.id ? videoStaleReason : videoHistoryAsset?.staleReason"
/>
</AppDialog>
<AppDialog
v-model:open="historyOpen"
title="首帧记录"
description="核对当前候选的生成输入、视觉审核与人工复核。"
wide
>
<!-- 以下是按需读取的候选生成证据 -->
<KeyframeInputDetails
v-if="historyOpen && historyKeyframeId"
:key="historyKeyframeId"
:project-id="projectId"
:shot-id="shot.shotId"
:keyframe-id="historyKeyframeId"
/>
<KeyframeValidationHistory
v-if="historyOpen && historyKeyframeId"
:key="historyKeyframeId"
:project-id="projectId"
:shot-id="shot.shotId"
:keyframe-id="historyKeyframeId"
:disabled="historyBlocked"
initial-open
@reviewed="refreshAfterReview"
/>
<AppDialog v-model:open="historyOpen" title="首帧记录" wide>
<div v-if="historyOpen && historyKeyframeId" :key="historyKeyframeId" class="workspace-section-stack">
<!-- 以下是按需读取的候选生成证据 -->
<KeyframeInputDetails :project-id="projectId" :shot-id="shot.shotId" :keyframe-id="historyKeyframeId" />
<KeyframeValidationHistory
:project-id="projectId"
:shot-id="shot.shotId"
:keyframe-id="historyKeyframeId"
:disabled="historyBlocked"
initial-open
@reviewed="refreshAfterReview"
/>
</div>
</AppDialog>
<KeyframeDialog
v-model:open="keyframeOpen"