feat: 同步视觉风格与主体身份母版工作区

对齐后端 dev 059e597,新增项目风格编辑锁定、身份文本生成、身份参考图与母版切换。
整理六个工作区入口,接通人物及场景母版继承说明、形态图片来源追溯。
补充草稿保护、正式 ID 校验、费用确认及部分失败回执,67 项测试和静态检查、构建通过。
未修改后端,未调用真实模型;本环境未完成浏览器视觉验收。
This commit is contained in:
GouJ
2026-08-28 19:28:27 +08:00
parent 47443c0efe
commit 669f4d9df0
34 changed files with 2273 additions and 22 deletions
@@ -86,12 +86,17 @@ function resetFilters() {
<div class="flex flex-wrap items-end justify-between gap-4">
<div>
<h2 class="text-lg font-semibold">形态图片</h2>
<p class="mt-2 text-sm text-muted">为人物场景和道具准备参考图已有图片直接从数据库读取</p>
<p class="mt-2 text-sm text-muted">为人物场景和道具准备造型参考图已有图片直接从数据库读取</p>
</div>
<RouterLink :to="`/projects/${id}/storyboard`" class="text-button"
>去检查分镜参考图<ArrowRight :size="14"
/></RouterLink>
</div>
<p class="alert mt-5 text-xs">
人物与场景形态在有身份母版时自动引用以保持人物身份或空间结构一致无母版仍可独立生成道具暂不自动引用
<RouterLink :to="`/projects/${id}/subject-identity`" class="text-button ml-2">管理主体身份 </RouterLink>
更换母版后已有形态主图仍保留需主动生图并选择新主图
</p>
<div class="panel mt-5 p-5">
<div class="flex flex-wrap items-center justify-between gap-4">
<p class="text-sm">
@@ -208,6 +213,11 @@ function resetFilters() {
<p v-if="form.description" class="mt-3 line-clamp-2 text-xs leading-6 text-muted">
{{ form.description }}
</p>
<RouterLink
:to="{ path: `/projects/${id}/subject-identity`, query: { subjectId: form.subjectId } }"
class="text-button mt-3"
>查看主体身份与母版 </RouterLink
>
<div class="mt-3 flex flex-wrap items-center gap-2">
<StatusBadge v-if="hasRunningImages(form.images)" status="generating" /><span
v-if="primaryImage(form.images)"