feat(short-drama-agent-front): 接入图片持续授权与视频费用审计

This commit is contained in:
GJ committed 2026-11-13 17:59:50 +08:00
1 parent 3915566994
commit 1e9ef33d1d
39 files changed
+3442 -51

No files matched your search

@@ -4,6 +4,7 @@ import FeedbackMessage from '../../../components/ui/FeedbackMessage.vue'
import ContextNotice from '../../../components/ui/ContextNotice.vue'
import { ReceiptText } from '@lucide/vue'
import { computed } from 'vue'
import { NButton, NTag } from 'naive-ui'
import { AssetOpenLink, StatusBadge } from '../../../components/ui'
@@ -32,7 +33,7 @@ const props = defineProps<{
confirming: boolean
}>()
/** 交由父面板执行检查与切换,卡片不直接调用生成接口。 */
const emit = defineEmits<{ quality: []; repair: []; history: []; select: []; confirm: []; cancel: [] }>()
const emit = defineEmits<{ quality: []; repair: []; history: []; audit: []; select: []; confirm: []; cancel: [] }>()
/** 播放和外链共用经过协议与资源路径校验的地址。 */
const videoUrl = computed(() => (props.item.videoUrl ? mediaAssetUrl(props.item.videoUrl) : null))
/** 优先显示本次会话的检查结果,否则显示此视频已有的记录。 */
@@ -120,6 +121,9 @@ const canSelect = computed(
>创建修复候选</NButton
>
<NButton text size="small" @click="emit('history')">查看质量记录</NButton>
<NButton class="workspace-action-button" size="small" @click="emit('audit')"
><template #icon><ReceiptText :size="16" /></template>费用审计</NButton
>
<NButton v-if="canSelect" :disabled="blocked" text size="small" @click="emit('select')">
设为主视频
</NButton>