feat: 主体身份显示整体完成状态
This commit is contained in:
1 parent
cc90520e97
commit
a149c4d6bc
1 file changed
+8
-1
@@ -24,6 +24,7 @@ import { downloadText } from '../../lib/format'
|
||||
import ConfirmAction from '../workflows/ConfirmAction.vue'
|
||||
import { castingStatusLabel, currentAnchor } from './model'
|
||||
import { useSubjectIdentity } from './useSubjectIdentity'
|
||||
import { useProjectContext } from '../projects/context'
|
||||
import IdentityEditor from './components/IdentityEditor.vue'
|
||||
import IdentityGallery from './components/IdentityGallery.vue'
|
||||
import IdentityImageDialog from './components/IdentityImageDialog.vue'
|
||||
@@ -35,6 +36,8 @@ import type { IdentitySubject } from './types'
|
||||
/** 主体身份工作区按正式主体聚合,不把同一主体的多个 Form 当成不同身份。 */
|
||||
const route = useRoute()
|
||||
const router = useRouter()
|
||||
const projectContext = useProjectContext()
|
||||
const stageComplete = computed(() => projectContext.stageReadiness.value?.identity.ready === true)
|
||||
const {
|
||||
projectId,
|
||||
operation,
|
||||
@@ -304,7 +307,11 @@ watch(
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<WorkspacePage split compact class="identity-workspace-page"
|
||||
<NAlert v-if="stageComplete" type="success" :show-icon="false" class="stage-complete-alert">
|
||||
所有需要确认的角色身份已经准备好,可以继续制作主体形态图片。
|
||||
<RouterLink :to="`/projects/${projectId}/subject-images`" class="text-button ml-2">继续形态图片 →</RouterLink>
|
||||
</NAlert>
|
||||
<WorkspacePage split compact class="identity-workspace-page"
|
||||
><template #header>
|
||||
<!-- 以下是类型筛选、主体数量与操作入口 -->
|
||||
<div class="workspace-toolbar">
|
||||
|
||||
Reference in new issue
Block a user