From 4679280e45406d660106b2d43b3031e70ffc97de Mon Sep 17 00:00:00 2001 From: 2910410219 <2910410219@qq.com> Date: Tue, 7 Jul 2026 14:36:59 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A6=96=E9=A1=B5=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/settings/creation/index.ts | 3 +- src/views/home/components/ChatList.vue | 47 +-- src/views/home/components/InputBar.vue | 10 +- src/views/home/components/MainContent.vue | 177 +++++++---- src/views/home/components/Sidebar.vue | 50 +++- src/views/home/index.vue | 347 +++++++++++++++------- 6 files changed, 426 insertions(+), 208 deletions(-) diff --git a/src/api/settings/creation/index.ts b/src/api/settings/creation/index.ts index 277a3be..c5bc537 100644 --- a/src/api/settings/creation/index.ts +++ b/src/api/settings/creation/index.ts @@ -153,10 +153,11 @@ export function getCreationList(params: CreationListParams, requestOptions?: Req }) as Promise; } -export function getExecutionList(requestOptions?: RequestOptions) { +export function getExecutionList(params?: Record, requestOptions?: RequestOptions) { return request({ url: '/ai-agent/flow/execution/list', method: 'get', + params, requestOptions, }) as Promise; } diff --git a/src/views/home/components/ChatList.vue b/src/views/home/components/ChatList.vue index 4d5ea89..c3986fb 100644 --- a/src/views/home/components/ChatList.vue +++ b/src/views/home/components/ChatList.vue @@ -1,7 +1,5 @@ \ No newline at end of file diff --git a/src/views/home/components/Sidebar.vue b/src/views/home/components/Sidebar.vue index 66cb2a3..b84b340 100644 --- a/src/views/home/components/Sidebar.vue +++ b/src/views/home/components/Sidebar.vue @@ -38,6 +38,9 @@
{{ item.title }}
+
执行中
+
执行完成
+
执行失败
{{ item.time }}
@@ -83,7 +86,7 @@ @@ -429,4 +564,4 @@ onMounted(() => { width: 100%; min-height: 60vh; } - + \ No newline at end of file