feat: 同步动作与首帧编辑能力并统一工作区反馈
接入动作时间轴、密度审计、人工视线目标和后台首帧编辑;独立读取已保存提示词,并在首帧晋升前重新核对持久化质量状态。 统一 NMessage 结果反馈、局部 loading 和业务说明间距,保留真实长任务进度与部分失败语义。 验证:pnpm check(49 个文件、393 项测试)、pnpm build;当前环境无法完成 localhost 浏览器验收及真实后端联调。
This commit is contained in:
1 parent
83482a70c5
commit
7a60db3ced
76 files changed
+2485
-457
No files matched your search
@@ -1,6 +1,8 @@
|
||||
<script setup lang="ts">
|
||||
import ContextNotice from '../../../components/ui/ContextNotice.vue'
|
||||
|
||||
import { computed } from 'vue'
|
||||
import { NAlert, NTag } from 'naive-ui'
|
||||
import { NTag } from 'naive-ui'
|
||||
import { useQuery } from '../../../composables/useQuery'
|
||||
import { formatDate } from '../../../lib/format'
|
||||
import { videoDiagnosticsApi } from '../diagnostics-api'
|
||||
@@ -67,10 +69,12 @@ function rollbackLabel(target: VideoQualityRollbackTarget) {
|
||||
<template>
|
||||
<!-- 以下是弹窗中的视频已有检查记录模块,无需再次点击查看 -->
|
||||
<section class="workspace-panel text-xs leading-6" aria-label="当前视频质量记录">
|
||||
<NAlert v-if="stale" type="warning" :show-icon="false" class="mb-3">
|
||||
<ContextNotice v-if="stale" type="warning" :show-icon="false" class="mb-3">
|
||||
此视频需要更新:首帧或参考图已变化。此前画面检查结果仅供参考,请重新生成视频。
|
||||
</NAlert>
|
||||
<NAlert v-if="query.error.value" type="error" :show-icon="false" role="alert">{{ query.error.value }}</NAlert>
|
||||
</ContextNotice>
|
||||
<ContextNotice v-if="query.error.value" type="error" :show-icon="false" role="alert">{{
|
||||
query.error.value
|
||||
}}</ContextNotice>
|
||||
<p v-if="query.loading.value" class="text-muted" role="status">正在读取质量记录…</p>
|
||||
<template v-else-if="detail">
|
||||
<p v-if="currentRecord" class="font-semibold">
|
||||
@@ -121,7 +125,7 @@ function rollbackLabel(target: VideoQualityRollbackTarget) {
|
||||
</li>
|
||||
</ul>
|
||||
</article>
|
||||
<NAlert
|
||||
<ContextNotice
|
||||
v-if="analysis"
|
||||
class="mt-3"
|
||||
:type="analysis.requiresManualReview ? 'warning' : 'info'"
|
||||
@@ -132,7 +136,7 @@ function rollbackLabel(target: VideoQualityRollbackTarget) {
|
||||
<p v-if="analysis.recommendedRollback.length" class="mt-1">
|
||||
建议检查:{{ analysis.recommendedRollback.map(rollbackLabel).join('、') }}
|
||||
</p>
|
||||
</NAlert>
|
||||
</ContextNotice>
|
||||
<article v-for="issue in analysis?.persistentIssues ?? []" :key="issue.type" class="mt-3">
|
||||
<strong>{{ issue.type }} · 出现 {{ issue.occurrences }} 次</strong>
|
||||
<p>{{ issue.suspectedCause }}</p>
|
||||
|
||||
Reference in new issue
Block a user