feat: 同步质量校验修复并精简工作台操作

This commit is contained in:
GouJ
2026-09-03 19:38:57 +08:00
parent 771b66cafc
commit 13bb6dc83b
47 changed files with 2244 additions and 260 deletions
+12 -8
View File
@@ -1,8 +1,9 @@
<script setup lang="ts">
import WorkspacePage from '../../components/ui/WorkspacePage.vue'
import { NScrollbar, NButton, NCollapse, NCollapseItem, NProgress, NTab, NTabs, NTag } from 'naive-ui'
import ActionMenu from '../../components/ui/ActionMenu.vue'
import { NScrollbar, NCollapse, NCollapseItem, NProgress, NTab, NTabs, NTag } from 'naive-ui'
import { computed, ref } from 'vue'
import { ArrowRight, Download, Check, Circle, History } from '@lucide/vue'
import { ArrowRight, Check, Circle } from '@lucide/vue'
import { EmptyState } from '../../components/ui'
import { useProjectContext } from '../projects/context'
import { projectsApi } from '../projects/api'
@@ -123,12 +124,15 @@ function exportScript() {
><NTab name="review">审核记录</NTab>
<template #suffix>
<div class="tabs-toolbar-actions">
<NButton text size="small" :aria-expanded="showHistory" @click="showHistory = !showHistory"
><History :size="14" />{{ showHistory ? '收起执行记录' : '执行记录' }}</NButton
>
<NButton :disabled="!episodes.length" @click="exportScript" text size="small"
><Download :size="14" />导出剧本</NButton
><RouterLink
<ActionMenu
label="剧本更多操作"
:items="[
{ key: 'history', label: showHistory ? '收起执行记录' : '执行记录' },
{ key: 'export', label: '导出剧本', disabled: !episodes.length }
]"
@select="$event === 'history' ? (showHistory = !showHistory) : exportScript()"
/>
<RouterLink
v-if="complete"
class="text-button text-accent"
:to="`/projects/${project?.id}/breakdown`"