feat(short-drama-agent-front): 完善质量规则确认与中文交互
This commit is contained in:
1 parent
190333d4f9
commit
c4b43b9725
85 files changed
+2059
-480
No files matched your search
@@ -1,4 +1,5 @@
|
||||
<script setup lang="ts">
|
||||
import { userFacingText } from '../../../lib/user-facing-text'
|
||||
import { videoOperationAllowed } from '../video-permissions'
|
||||
import FeedbackMessage from '../../../components/ui/FeedbackMessage.vue'
|
||||
|
||||
@@ -265,7 +266,7 @@ const optionsExpanded = ref<string[]>(['options'])
|
||||
type="warning"
|
||||
:show-icon="false"
|
||||
>
|
||||
{{ videoQuery.error.value || videoQuery.data.value?.staleReason }}
|
||||
{{ userFacingText(videoQuery.error.value || videoQuery.data.value?.staleReason) }}
|
||||
</ContextNotice>
|
||||
<AppForm
|
||||
ref="formRef"
|
||||
@@ -322,7 +323,7 @@ const optionsExpanded = ref<string[]>(['options'])
|
||||
本次仅创建一个修复视频,不自动等待或复检。完成后请打开新候选的质量检查;修复约束沿用上次失败校验,不使用额外参数。
|
||||
</p>
|
||||
<ContextNotice v-if="!repairAvailable" type="warning" :show-icon="false" class="mt-3"
|
||||
>当前候选不允许执行所选质量操作,请查看后端原因或刷新权限。</ContextNotice
|
||||
>当前候选暂时不能执行这项检查,请查看原因或刷新任务状态。</ContextNotice
|
||||
>
|
||||
<NCollapse
|
||||
v-if="!videoRepair"
|
||||
@@ -399,7 +400,7 @@ const optionsExpanded = ref<string[]>(['options'])
|
||||
个视频生成任务,可能产生费用;生成完成不会切换主视频,需再次付费复检通过后才会晋升。</template
|
||||
>
|
||||
<template v-else-if="target?.kind === 'video'"
|
||||
>本次提交一次视频校验请求,后端可能调用多个视觉模型并产生费用。</template
|
||||
>本次会检查视频画面,可能使用多个识图模型并产生费用。</template
|
||||
>
|
||||
<template v-else-if="valid"
|
||||
>本次最多调用 {{ maxImages }} 次生图、{{ maxValidations }} 次视觉校验,均可能产生费用。</template
|
||||
@@ -437,7 +438,7 @@ const optionsExpanded = ref<string[]>(['options'])
|
||||
><NCollapseItem name="saved" :title="`本会话最近校验 · ${saved.passed ? '通过' : '未通过'}`"
|
||||
><p>{{ saved.summary }}</p>
|
||||
<p v-for="(issue, index) in saved.issues" :key="index" class="mt-2 text-danger">
|
||||
{{ issue.description }}
|
||||
{{ userFacingText(issue.description) }}
|
||||
</p>
|
||||
<p class="mt-3 text-xs text-muted">此为历史抽样结论,不保证当前上游素材仍然一致。</p></NCollapseItem
|
||||
></NCollapse
|
||||
|
||||
Reference in new issue
Block a user