feat: 首帧候选与人工复核按卡片分组展示

This commit is contained in:
GouJ committed 2026-10-10 13:32:59 +08:00
1 parent 81a8c7af71
commit e032dac0fd
1 file changed
+6 -9
@@ -829,14 +829,13 @@ async function inspectSpecs() {
description="先完成质量检查;只有本会话校验通过的候选才能设为主首帧。" description="先完成质量检查;只有本会话校验通过的候选才能设为主首帧。"
wide wide
> >
<!-- 以下是自适应等宽候选图网格模块,完整行与弹窗正文两侧对齐 --> <!-- 候选图片和对应的人工复核入口按相同候选 ID 分组。 -->
<div <div
v-if="keyframeCandidates.length" v-if="keyframeCandidates.length"
class="mt-4 grid grid-cols-[repeat(auto-fill,minmax(220px,1fr))] gap-3 max-[760px]:grid-cols-2" class="mt-4 grid grid-cols-[repeat(auto-fill,minmax(260px,1fr))] items-start gap-3 max-[760px]:grid-cols-1"
> >
<div v-for="item in keyframeCandidates" :key="item.id" class="min-w-0">
<KeyframeCard <KeyframeCard
v-for="item in keyframeCandidates"
:key="item.id"
:item="item" :item="item"
:shot-no="shot.shotNo" :shot-no="shot.shotNo"
:stale="false" :stale="false"
@@ -848,19 +847,17 @@ async function inspectSpecs() {
@confirm="setPrimaryKeyframe" @confirm="setPrimaryKeyframe"
@cancel="confirmingKeyframe = ''" @cancel="confirmingKeyframe = ''"
/> />
</div>
<!-- 候选复核必须针对候选 ID,不能误用当前 Primary 的校验历史。 -->
<div v-if="keyframeCandidates.length" class="mt-4 space-y-3">
<KeyframeValidationHistory <KeyframeValidationHistory
v-for="item in keyframeCandidates.filter(candidate => candidate.status === 'completed')" v-if="item.status === 'completed'"
:key="`review:${item.id}`"
:project-id="projectId" :project-id="projectId"
:shot-id="shot.shotId" :shot-id="shot.shotId"
:keyframe-id="item.id" :keyframe-id="item.id"
:disabled="assetBlocked" :disabled="assetBlocked"
class="mt-2"
@reviewed="refreshAll" @reviewed="refreshAll"
/> />
</div> </div>
</div>
<p v-else class="text-xs text-muted">暂无其它首帧候选。</p> <p v-else class="text-xs text-muted">暂无其它首帧候选。</p>
</AppDialog> </AppDialog>
<KeyframeDialog <KeyframeDialog