fix(short-drama-agent-front): 完善素材准入与选角审核读取

This commit is contained in:
GJ committed 2026-11-04 19:09:46 +08:00
1 parent 75e86f7486
commit 3503926d62
13 files changed
+355 -42

No files matched your search

@@ -22,6 +22,8 @@ const props = defineProps<{
disabled: boolean
/** 当前固定目标的图片操作。 */
pendingOperation?: IdentityImageOperation | null
/** 当前正在读取历史审核的候选编号。 */
readingSavedReviewId?: string
/** 重新生成暂不可用的具体恢复步骤。 */
retryDisabledReason?: string
/** 当前母版的使用说明,候选卡片不展示。 */
@@ -37,6 +39,8 @@ const emit = defineEmits<{
anchor: [imageId: string]
/** 校验指定图片。 */
validate: [imageId: string]
/** 只读查看已保存的审核。 */
readReview: [imageId: string]
/** 打开失败图片对应的生成参数弹窗。 */
regenerate: [imageId: string]
}>()
@@ -235,6 +239,15 @@ function regenerate() {
>
{{ character ? '确认选角并锁定' : '设为身份母版' }}
</NButton>
<!-- 以下是角色候选的只读审核入口。 -->
<NButton
v-if="character && image.viewType === 'primary'"
size="small"
:loading="readingSavedReviewId === image.id"
:disabled="readingSavedReviewId === image.id"
@click="emit('readReview', image.id)"
>查看已保存审核</NButton
>
<ConfirmAction
:key="image.id"
label="校验此身份图片"