From f7a7bf482a1cf7cff05f08a58d75bcf3b9283501 Mon Sep 17 00:00:00 2001 From: GouJ Date: Sat, 26 Sep 2026 21:46:53 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E9=95=9C=E5=A4=B4=E7=94=9F=E4=BA=A7?= =?UTF-8?q?=E5=8C=BA=E5=88=86=E5=88=B6=E4=BD=9C=E5=87=86=E5=A4=87=E4=B8=8E?= =?UTF-8?q?=E6=9C=80=E7=BB=88=E6=88=90=E7=89=87=E5=AE=8C=E6=88=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/features/production/ProductionPage.vue | 29 +++++++++++++++++++--- 1 file changed, 26 insertions(+), 3 deletions(-) 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