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 { isOperationRunning } from '../workflows/operations'
|
||||
|
||||
import ContextNotice from '../../components/ui/ContextNotice.vue'
|
||||
@@ -102,7 +103,7 @@ const impactOptions = computed(() => {
|
||||
if (sourceShot.value && !items.some(item => item.shotId === sourceShot.value?.shotId)) items.push(sourceShot.value)
|
||||
return items.map(item => ({
|
||||
value: item.shotId,
|
||||
label: `第 ${item.episodeNo} 集 · BEAT ${item.beatNo} / 镜头 ${item.shotNo}${item.inconsistent ? ' · 状态待核对' : item.primaryKeyframeStale ? ' · 首帧过期' : ' · 当前镜头'}`
|
||||
label: `第 ${item.episodeNo} 集 · 剧情段落 ${item.beatNo} / 镜头 ${item.shotNo}${item.inconsistent ? ' · 状态待核对' : item.primaryKeyframeStale ? ' · 首帧过期' : ' · 当前镜头'}`
|
||||
}))
|
||||
})
|
||||
const toolsOpen = ref(false)
|
||||
@@ -432,7 +433,7 @@ const rules = { concurrency: integerRule('批量并发'), limit: integerRule('
|
||||
<ul class="mt-3 space-y-2 text-xs text-danger">
|
||||
<li v-for="failure in session.receipt.result.failures" :key="failure.subjectFormId">
|
||||
<code>{{ failure.subjectFormId }}</code
|
||||
>:{{ failure.error }}
|
||||
>:{{ userFacingText(failure.error) }}
|
||||
</li>
|
||||
</ul>
|
||||
<p class="mt-3 text-[11px] text-muted">
|
||||
@@ -476,7 +477,7 @@ const rules = { concurrency: integerRule('批量并发'), limit: integerRule('
|
||||
class="flex flex-wrap items-center gap-x-4 gap-y-2"
|
||||
>
|
||||
<span class="font-medium"
|
||||
>第 {{ shot.episodeNo }} 集 · BEAT {{ shot.beatNo }} / 镜头 {{ shot.shotNo }}</span
|
||||
>第 {{ shot.episodeNo }} 集 · 剧情段落 {{ shot.beatNo }} / 镜头 {{ shot.shotNo }}</span
|
||||
>
|
||||
<NTag size="small" :bordered="false" type="warning">{{
|
||||
shot.inconsistent ? '状态待核对' : '首帧过期'
|
||||
@@ -775,7 +776,7 @@ const rules = { concurrency: integerRule('批量并发'), limit: integerRule('
|
||||
:show-icon="false"
|
||||
class="mt-3 text-xs leading-6"
|
||||
>
|
||||
第 {{ sourceShot.episodeNo }} 集 · BEAT {{ sourceShot.beatNo }} / 镜头
|
||||
第 {{ sourceShot.episodeNo }} 集 · 剧情段落 {{ sourceShot.beatNo }} / 镜头
|
||||
{{ sourceShot.shotNo }} 的待处理首帧关联此素材。
|
||||
{{
|
||||
sourceShot.inconsistent
|
||||
@@ -787,7 +788,7 @@ const rules = { concurrency: integerRule('批量并发'), limit: integerRule('
|
||||
>
|
||||
</ContextNotice>
|
||||
<p v-if="form.images[0]?.status === 'failed'" class="mt-2 line-clamp-2 text-xs text-danger">
|
||||
{{ form.images[0].error }}
|
||||
{{ userFacingText(form.images[0].error) }}
|
||||
</p>
|
||||
<div class="mt-4 flex flex-wrap items-center justify-between gap-2">
|
||||
<NButton @click="openGallery(form)" text size="small">查看图片与记录</NButton>
|
||||
|
||||
Reference in new issue
Block a user