diff --git a/src/features/production/ProductionPage.vue b/src/features/production/ProductionPage.vue index 7870fb9..2cc344e 100644 --- a/src/features/production/ProductionPage.vue +++ b/src/features/production/ProductionPage.vue @@ -193,6 +193,24 @@ const invalidGenerationSpecs = computed( (query.data.value?.keyframes.invalidGenerationSpec ?? 0) + (query.data.value?.prompts.invalidGenerationSpec ?? 0) ) +const preparationComplete = computed(() => { + const data = query.data.value + if (!data) return false + return ( + data.keyframes.total > 0 && + data.keyframes.skipped === data.keyframes.total && + data.prompts.total > 0 && + data.prompts.skipped === data.prompts.total && + !identityBlocked.value && + !invalidGenerationSpecs.value && + !staleKeyframes.value + ) +}) +const finalVideosComplete = computed(() => { + const data = query.data.value + if (!data?.videos.total) return false + return data.videos.skipped === data.videos.total && !staleVideos.value && !videoRunning.value +}) /** 父页查询包含整个项目的就绪统计,单镜头变更后立即刷新。 */ function refreshProject() { @@ -406,7 +424,7 @@ const videoRules = { videoLimit: integerRule('本批镜头上限'), videoRepairA @@ -709,6 +727,11 @@ const videoRules = { videoLimit: integerRule('本批镜头上限'), videoRepairA +
+ 本项目镜头素材和视频成片已经准备完成。 + 镜头制作准备已经完成。视频生成费用较高,可按需要逐批提交视频任务。 + 打开批量生产 +
{{ query.error.value