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