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 ContextNotice from '../../../components/ui/ContextNotice.vue'
|
||||
|
||||
import { NScrollbar, NButton, NTable } from 'naive-ui'
|
||||
@@ -32,7 +33,7 @@ function exportReceipt() {
|
||||
</ContextNotice>
|
||||
<template v-if="receipt.kind === 'shots'">
|
||||
<p class="my-4 text-xs text-muted">
|
||||
第 {{ receipt.result.episodeNo }} 集 · {{ receipt.result.storyboardShotSummary.beatCount }} 个 Beat ·
|
||||
第 {{ receipt.result.episodeNo }} 集 · {{ receipt.result.storyboardShotSummary.beatCount }} 个剧情段落 ·
|
||||
{{ receipt.result.storyboardShotSummary.shotCount }} 个镜头 ·
|
||||
{{ receipt.result.storyboardShotSummary.totalDurationSeconds }} 秒 · 形态绑定覆盖率
|
||||
{{ Math.round(receipt.result.storyboardShotSummary.bindingCoverage * 100) }}%
|
||||
@@ -47,7 +48,7 @@ function exportReceipt() {
|
||||
</ContextNotice>
|
||||
<ul v-else class="mt-3 space-y-2 text-xs text-danger">
|
||||
<li v-for="(issue, index) in receipt.result.storyboardShotValidation.issues" :key="index">
|
||||
Beat {{ issue.beatNo ?? '—' }} / Shot {{ issue.shotNo ?? '—' }}:{{ issue.message }}
|
||||
剧情段落 {{ issue.beatNo ?? '—' }} / 镜头 {{ issue.shotNo ?? '—' }}:{{ userFacingText(issue.message) }}
|
||||
</li>
|
||||
</ul>
|
||||
</template>
|
||||
@@ -81,8 +82,8 @@ function exportReceipt() {
|
||||
<td class="min-w-48 whitespace-pre-wrap text-xs">
|
||||
<p>{{ item.error || '—' }}</p>
|
||||
<p v-for="(issue, index) in item.remainingIssues" :key="index" class="mt-2 text-danger">
|
||||
Beat {{ issue.beatNo ?? '—' }} / Shot {{ issue.shotNo ?? '—' }}
|
||||
{{ issue.subjectRef }}:{{ issue.message }}
|
||||
剧情段落 {{ issue.beatNo ?? '—' }} / 镜头 {{ issue.shotNo ?? '—' }}
|
||||
{{ issue.subjectRef }}:{{ userFacingText(issue.message) }}
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -98,11 +99,11 @@ function exportReceipt() {
|
||||
<ul class="mt-3 space-y-2 text-xs text-danger">
|
||||
<li v-for="item in receipt.result.failures" :key="item.shotId">
|
||||
<code>{{ item.shotId }}</code
|
||||
>:{{ item.error }}
|
||||
>:{{ userFacingText(item.error) }}
|
||||
</li>
|
||||
</ul>
|
||||
<p class="mt-3 text-xs text-muted">
|
||||
当前批量接口不返回成功镜头的 Prompt 正文;选择镜头后点击“读取/生成提示词”,已有内容会直接复用。
|
||||
批量处理完成后,可选择镜头查看完整画面描述;已有描述会直接使用,无需重新生成。
|
||||
</p>
|
||||
</template>
|
||||
<p class="mt-4 text-[11px] text-muted">回执仅保留在当前浏览器会话中。数据库结果是覆盖率和镜头详情的依据。</p>
|
||||
|
||||
Reference in new issue
Block a user