From 5c30bfa472c2ca30dff29bda5b56798c751a55f2 Mon Sep 17 00:00:00 2001 From: fish Date: Mon, 11 May 2026 21:23:53 +0800 Subject: [PATCH] =?UTF-8?q?=E6=97=A5=E5=86=85=E6=96=B9=E5=90=91=E5=88=86?= =?UTF-8?q?=E6=9E=90=E6=8C=89=E9=92=AE=E8=87=AA=E5=8A=A8=E5=85=88=E6=89=A7?= =?UTF-8?q?=E8=A1=8C=E6=89=B9=E9=87=8F=E6=89=93=E5=88=86=E5=86=8D=E8=B0=83?= =?UTF-8?q?=E7=94=A8AI=E5=88=86=E6=9E=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/frontend/src/views/DailyDirectionView.vue | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/web/frontend/src/views/DailyDirectionView.vue b/web/frontend/src/views/DailyDirectionView.vue index 7402e5c..b3b581f 100644 --- a/web/frontend/src/views/DailyDirectionView.vue +++ b/web/frontend/src/views/DailyDirectionView.vue @@ -7,10 +7,12 @@ import { type DailyDirection, type DailyDirectionRunResponse, } from '@/api/daily' +import { runBatch } from '@/api/run' const items = ref([]) const loading = ref(false) const running = ref(false) +const runStep = ref('') const runResult = ref(null) const symbolNames: Record = { @@ -59,6 +61,9 @@ async function handleRun() { running.value = true runResult.value = null try { + runStep.value = '正在拉取数据…' + await runBatch() + runStep.value = '正在 AI 分析…' runResult.value = await runDailyDirection() const ok = runResult.value?.results?.length ?? 0 const fail = runResult.value?.errors?.length ?? 0 @@ -92,7 +97,7 @@ onMounted(fetchList)

日内方向分析

- {{ running ? 'AI 分析中...' : '执行分析' }} + {{ running ? runStep : '执行分析' }}