From f87919642b03c7855291b2c051bffc80fd511afb Mon Sep 17 00:00:00 2001 From: wangdan-fit2cloud Date: Fri, 31 May 2024 18:28:42 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=B7=A5=E4=BD=9C=E6=B5=81=E7=A8=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ui/src/components/app-avatar/index.vue | 1 + .../workflow/common/node-container/index.vue | 75 ++++++------------- .../workflow/icons/ai-chat-node-icon.vue | 6 ++ .../icons/search-dataset-node-icon.vue | 6 ++ ui/src/components/workflow/index.vue | 32 +++++++- ui/src/components/workflow/menu-data.ts | 53 +++++++++++++ .../workflow/nodes/ai-chat-node/index.vue | 71 +++++++++--------- ui/src/styles/app.scss | 8 ++ ui/src/views/application-workflow/index.vue | 55 ++++++++++---- ui/src/views/chat/index.vue | 4 +- 10 files changed, 204 insertions(+), 107 deletions(-) create mode 100644 ui/src/components/workflow/icons/ai-chat-node-icon.vue create mode 100644 ui/src/components/workflow/icons/search-dataset-node-icon.vue create mode 100644 ui/src/components/workflow/menu-data.ts diff --git a/ui/src/components/app-avatar/index.vue b/ui/src/components/app-avatar/index.vue index 0df1cbbc2..a35217ce2 100644 --- a/ui/src/components/app-avatar/index.vue +++ b/ui/src/components/app-avatar/index.vue @@ -17,6 +17,7 @@ const props = defineProps({ type: String, default: '' }, + //是否用拼音字母颜色 pinyinColor: { type: Boolean, default: false diff --git a/ui/src/components/workflow/common/node-container/index.vue b/ui/src/components/workflow/common/node-container/index.vue index 33e75bee6..55d42ffe4 100644 --- a/ui/src/components/workflow/common/node-container/index.vue +++ b/ui/src/components/workflow/common/node-container/index.vue @@ -1,18 +1,19 @@