From e682abb1f7038aa7f625e36e3723f35d196f7611 Mon Sep 17 00:00:00 2001 From: ZG4vin Date: Sat, 12 Apr 2025 16:30:03 +0800 Subject: [PATCH 01/16] =?UTF-8?q?=E4=BF=AE=E5=A4=8DLogo=E7=BB=84=E4=BB=B6?= =?UTF-8?q?=E4=B8=8EToolHeader=E7=BB=84=E4=BB=B6=E3=80=81ElScrollbar?= =?UTF-8?q?=E7=BB=84=E4=BB=B6=E4=B9=8B=E9=97=B4=E5=AD=98=E5=9C=A81px?= =?UTF-8?q?=E7=95=99=E7=99=BD=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- uno.config.ts | 4 ---- 1 file changed, 4 deletions(-) diff --git a/uno.config.ts b/uno.config.ts index e52457ac..46acc909 100644 --- a/uno.config.ts +++ b/uno.config.ts @@ -37,7 +37,6 @@ ${selector}:before { position: absolute; top: 0; left: 0; - width: 1px; height: 100%; background-color: var(--el-border-color); z-index: 3; @@ -55,7 +54,6 @@ ${selector}:after { position: absolute; top: 0; right: 0; - width: 1px; height: 100%; background-color: var(--el-border-color); z-index: 3; @@ -74,7 +72,6 @@ ${selector}:before { top: 0; left: 0; width: 100%; - height: 1px; background-color: var(--el-border-color); z-index: 3; } @@ -92,7 +89,6 @@ ${selector}:after { bottom: 0; left: 0; width: 100%; - height: 1px; background-color: var(--el-border-color); z-index: 3; } From ae5a9da40e472da6c96675dcedbfdaa8fb387575 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E6=95=A6=E6=95=A6?= Date: Tue, 29 Apr 2025 02:02:35 +0000 Subject: [PATCH 02/16] =?UTF-8?q?update=20src/components/Dialog/src/Dialog?= =?UTF-8?q?.vue.=20=E4=BF=AE=E6=94=B9=E5=85=B3=E9=97=AD=E5=BC=B9=E6=A1=86?= =?UTF-8?q?=E7=9A=84click=EF=BC=8C=E5=A2=9E=E5=8A=A0.stop=EF=BC=8C?= =?UTF-8?q?=E9=98=BB=E6=AD=A2=E5=86=92=E6=B3=A1=E5=88=B0=E7=88=B6=E7=BB=84?= =?UTF-8?q?=E4=BB=B6=E3=80=82=20=E8=A7=A3=E5=86=B3=E4=BF=AE=E6=94=B9?= =?UTF-8?q?=E7=94=A8=E6=88=B7=E5=A4=B4=E5=83=8F=EF=BC=8C=E7=82=B9=E5=87=BB?= =?UTF-8?q?=E5=85=B3=E9=97=AD=E5=BC=B9=E6=A1=86=E6=97=B6=E9=87=8D=E5=A4=8D?= =?UTF-8?q?=E5=BC=B9=E6=A1=86=E7=9A=84bug=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Dialog/src/Dialog.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Dialog/src/Dialog.vue b/src/components/Dialog/src/Dialog.vue index 9bf5b7ab..f8dd151f 100644 --- a/src/components/Dialog/src/Dialog.vue +++ b/src/components/Dialog/src/Dialog.vue @@ -91,7 +91,7 @@ const dialogStyle = computed(() => { icon="ep:close" hover-color="var(--el-color-primary)" color="var(--el-color-info)" - @click="close" + @click.stop="close" /> From f9e9c7296947a78ffb97f40f6caabf6a12b02a07 Mon Sep 17 00:00:00 2001 From: Lesan <1960681385@qq.com> Date: Tue, 29 Apr 2025 14:15:43 +0800 Subject: [PATCH 03/16] =?UTF-8?q?feat:=20=E5=AE=8C=E5=96=84AI=E5=B7=A5?= =?UTF-8?q?=E4=BD=9C=E6=B5=81=E8=BF=90=E8=A1=8C=E6=B5=8B=E8=AF=95(?= =?UTF-8?q?=E9=80=9A=E4=B9=89=E5=8D=83=E9=97=AE)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/ai/workflow/index.ts | 4 +- src/views/ai/workflow/form/WorkflowDesign.vue | 201 +++++++++++++++++- src/views/ai/workflow/form/index.vue | 4 +- 3 files changed, 204 insertions(+), 5 deletions(-) diff --git a/src/api/ai/workflow/index.ts b/src/api/ai/workflow/index.ts index 985ae905..5245911e 100644 --- a/src/api/ai/workflow/index.ts +++ b/src/api/ai/workflow/index.ts @@ -20,6 +20,6 @@ export const deleteWorkflow = async (id) => { return await request.delete({ url: '/ai/workflow/delete?id=' + id }) } -export const updateWorkflowModel = async (data) => { - return await request.put({ url: '/ai/workflow/updateWorkflowModel', data }) +export const testWorkflow = async (data) => { + return await request.post({ url: '/ai/workflow/test', data }) } diff --git a/src/views/ai/workflow/form/WorkflowDesign.vue b/src/views/ai/workflow/form/WorkflowDesign.vue index 36973196..54de79b6 100644 --- a/src/views/ai/workflow/form/WorkflowDesign.vue +++ b/src/views/ai/workflow/form/WorkflowDesign.vue @@ -13,11 +13,56 @@ 测试 + + + +
+

运行参数配置

+
+
+ + + + + +
+ 添加参数 +
+
+
+

运行结果

+
+
执行中...
+
+ {{ error }} +
+
{{ JSON.stringify(testResult, null, 2) }}
+          
+
点击运行查看结果
+
+
+ 运行流程 +
+ + diff --git a/src/views/ai/workflow/form/index.vue b/src/views/ai/workflow/form/index.vue index ee2bd567..6e4fe714 100644 --- a/src/views/ai/workflow/form/index.vue +++ b/src/views/ai/workflow/form/index.vue @@ -73,7 +73,7 @@ import { CommonStatusEnum } from '@/utils/constants' import * as WorkflowApi from '@/api/ai/workflow' import BasicInfo from './BasicInfo.vue' import WorkflowDesign from './WorkflowDesign.vue' -import { ApiKeyApi } from '@/api/ai/model/apiKey' +import { ModelApi } from '@/api/ai/model/model' const router = useRouter() const { delView } = useTagsViewStore() @@ -118,7 +118,7 @@ const initData = async () => { workflowData.value = JSON.parse(formData.value.graph) } - const apiKeys = await ApiKeyApi.getApiKeySimpleList() + const apiKeys = await ModelApi.getModelSimpleList(1) provider.value = { llm: () => apiKeys.map(({ id, name }) => ({ From 93056fa57b6921fa34c254e9b8f5e8217db788b0 Mon Sep 17 00:00:00 2001 From: YunaiV Date: Sat, 3 May 2025 10:26:27 +0800 Subject: [PATCH 04/16] =?UTF-8?q?feat=EF=BC=9A=E9=9B=86=E6=88=90=E7=A7=AF?= =?UTF-8?q?=E6=9C=A8=E4=BB=AA=E8=A1=A8=E7=9B=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/report/jmreport/bi.vue | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 src/views/report/jmreport/bi.vue diff --git a/src/views/report/jmreport/bi.vue b/src/views/report/jmreport/bi.vue new file mode 100644 index 00000000..c773b4a3 --- /dev/null +++ b/src/views/report/jmreport/bi.vue @@ -0,0 +1,15 @@ +