diff --git a/src/components/pages/BatchJobManager.vue b/src/components/pages/BatchJobManager.vue index 6378ae9..311d84e 100644 --- a/src/components/pages/BatchJobManager.vue +++ b/src/components/pages/BatchJobManager.vue @@ -18,28 +18,28 @@
-
3
+
0
运行中任务
-
128
+
0
已完成
-
5
+
0
排队中
-
2
+
0
失败/异常
@@ -263,52 +263,7 @@ const taskForm = ref({ const newModelPath = ref('') // 模拟列表数据 - 配合后端的 queued -> dispatching -> waiting_callback -> succeeded/failed 状态 -const jobs = ref([ - { - batchId: 'B-20261001', - strategy: 'creo_shrinkwrap', - priority: '普通', - progress: 40, - status: 'running', - totalCount: 5, - completedCount: 2, - createdAt: '2026-02-26 14:00', - items: [ - { modelPath: 'C:\\Models\\engine_block.prt', status: 'succeeded', errorMessage: '', finishedAt: '2026-02-26 14:05' }, - { modelPath: 'C:\\Models\\gear_box.prt', status: 'failed', errorMessage: '模型几何损坏无法抽取外壳', finishedAt: '2026-02-26 14:10' }, - { modelPath: 'C:\\Models\\shaft.prt', status: 'waiting_callback', errorMessage: '', finishedAt: '-' }, - { modelPath: 'C:\\Models\\bearing.prt', status: 'queued', errorMessage: '', finishedAt: '-' }, - { modelPath: 'C:\\Models\\casing.prt', status: 'queued', errorMessage: '', finishedAt: '-' } - ] - }, - { - batchId: 'B-20261002', - strategy: 'revit_shell', - priority: '高', - progress: 100, - status: 'succeeded', - totalCount: 2, - completedCount: 2, - createdAt: '2026-02-26 10:30', - items: [ - { modelPath: 'D:\\BIM\\A_Tower.rvt', status: 'succeeded', errorMessage: '', finishedAt: '2026-02-26 10:45' }, - { modelPath: 'D:\\BIM\\B_Tower.rvt', status: 'succeeded', errorMessage: '', finishedAt: '2026-02-26 11:00' } - ] - }, - { - batchId: 'B-20261003', - strategy: 'pdms_shrinkwrap', - priority: '低', - progress: 0, - status: 'queued', - totalCount: 1, - completedCount: 0, - createdAt: '2026-02-26 15:20', - items: [ - { modelPath: 'SAM/CATA', status: 'queued', errorMessage: '', finishedAt: '-' } - ] - } -]) +const jobs = ref([]) const filteredJobs = computed(() => { if (statusFilter.value === 'all') return jobs.value diff --git a/src/components/pages/RevitAnalysisDashboard.vue b/src/components/pages/RevitAnalysisDashboard.vue index 06f9ac1..7dff604 100644 --- a/src/components/pages/RevitAnalysisDashboard.vue +++ b/src/components/pages/RevitAnalysisDashboard.vue @@ -220,10 +220,7 @@ {{ isApplyingOptimization ? '正在应用...' : '应用优化' }} - +