feat(short-drama-agent-front): 完善镜头定位与项目配置
This commit is contained in:
1 parent
470b52e26d
commit
5b134207b8
66 files changed
+2042
-984
No files matched your search
@@ -1,7 +1,7 @@
|
||||
<script setup lang="ts">
|
||||
import { computed, ref, watch } from 'vue'
|
||||
import { NAlert, NButton, NCollapse, NCollapseItem, NInput, NSelect, NTab, NTabs } from 'naive-ui'
|
||||
import { Download, RefreshCw, Search } from '@lucide/vue'
|
||||
import { Download, Search } from '@lucide/vue'
|
||||
import { AppDialog, EmptyState } from '../../components/ui'
|
||||
import { usePolling } from '../../composables/usePolling'
|
||||
import { downloadText, formatDate, nodeLabel } from '../../lib/format'
|
||||
@@ -96,13 +96,7 @@ function exportReport() {
|
||||
<div class="flex items-center gap-2">
|
||||
<NButton :disabled="!query.data.value" @click="exportReport"
|
||||
><template #icon><Download :size="14" /></template>导出诊断</NButton
|
||||
><NButton
|
||||
class="icon-button"
|
||||
:loading="query.loading.value"
|
||||
aria-label="刷新运行诊断"
|
||||
@click="query.refresh"
|
||||
><template #icon><RefreshCw :size="16" /></template
|
||||
></NButton>
|
||||
>
|
||||
</div>
|
||||
</div>
|
||||
<div class="diagnostics-filters mt-5">
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<script setup lang="ts">
|
||||
import { computed } from 'vue'
|
||||
import { NAlert, NButton, NProgress, NTag } from 'naive-ui'
|
||||
import { RefreshCw, X } from '@lucide/vue'
|
||||
import { X } from '@lucide/vue'
|
||||
import { formatDate } from '../../lib/format'
|
||||
import { executionPercentage, executionStageLabel } from './execution'
|
||||
import type { WorkflowExecution } from './execution.types'
|
||||
@@ -88,14 +88,6 @@ function isInputMode(value: unknown, inputMode: string): boolean {
|
||||
</div>
|
||||
<div class="flex items-center gap-2">
|
||||
<NButton
|
||||
class="icon-button"
|
||||
quaternary
|
||||
:loading="loading"
|
||||
aria-label="刷新制作任务状态"
|
||||
title="刷新制作任务状态"
|
||||
@click="emit('refresh')"
|
||||
><RefreshCw :size="15" /></NButton
|
||||
><NButton
|
||||
v-if="finished || error"
|
||||
class="icon-button"
|
||||
quaternary
|
||||
@@ -172,7 +164,8 @@ function isInputMode(value: unknown, inputMode: string): boolean {
|
||||
</details>
|
||||
</template>
|
||||
<NAlert v-if="error" type="error" :show-icon="false" class="mt-3">
|
||||
{{ error }}。任务可能仍在运行,请先点击刷新;不要直接重复提交。
|
||||
{{ error }}。任务可能仍在运行,请先重新读取状态;不要直接重复提交。
|
||||
<NButton text class="ml-3" :loading="loading" @click="emit('refresh')">重试读取</NButton>
|
||||
</NAlert>
|
||||
</section>
|
||||
</template>
|
||||
Reference in new issue
Block a user