feat(short-drama-agent-front): 补齐后端生产与质量功能
This commit is contained in:
1 parent
967c4ebea1
commit
470b52e26d
52 files changed
+3754
-1075
No files matched your search
@@ -5,8 +5,8 @@ import type { ProductionPlan, ProjectProductionStatus } from '../types'
|
||||
|
||||
/** 展示当前制作计划与真实资产状态,不在页面重复推断业务规则。 */
|
||||
const props = defineProps<{ plan: ProductionPlan; status: ProjectProductionStatus }>()
|
||||
/** 生产阶段共享计划字段,角色身份就绪信息单独展示,避免混用不同 DTO。 */
|
||||
const rows = computed(() => [
|
||||
...(props.plan.characterIdentity ? [{ label: '角色身份', stage: props.plan.characterIdentity }] : []),
|
||||
...(props.plan.stableIdentityAnchors ? [{ label: '稳定身份锚点', stage: props.plan.stableIdentityAnchors }] : []),
|
||||
{ label: '主体参考图', stage: props.plan.subjectImages },
|
||||
{ label: '首帧质量', stage: props.plan.keyframes },
|
||||
@@ -48,6 +48,12 @@ const problems = computed(() => [
|
||||
<span class="status-chip">图片模型:{{ plan.providers.image }}</span>
|
||||
<span class="status-chip">视频模型:{{ plan.providers.video }}</span>
|
||||
</div>
|
||||
<!-- 以下是角色身份实际就绪统计模块 -->
|
||||
<p v-if="plan.characterIdentity" class="mt-2 text-xs">
|
||||
角色身份:已就绪 {{ plan.characterIdentity.ready }} / {{ plan.characterIdentity.total }} · 待就绪
|
||||
{{ plan.characterIdentity.pending }} · 可自动补齐 {{ plan.characterIdentity.autoResolvable }} · 需人工处理
|
||||
{{ plan.characterIdentity.manualBlocked }}
|
||||
</p>
|
||||
<p class="mt-2 text-xs" role="status">
|
||||
当前制作状态:{{ status.completed ? '制作已完成' : `待完成${stageNames[status.stage]}` }} · 有效主体图
|
||||
{{ status.subjectImages.current }}/{{ status.subjectImages.total }} · 有效首帧
|
||||
|
||||
Reference in new issue
Block a user