From ebbd1ee601c87f2b52602d264c70d532ea7f09b3 Mon Sep 17 00:00:00 2001 From: wangdan-fit2cloud Date: Thu, 16 May 2024 18:48:09 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=AF=B9=E8=AF=9D=E5=A2=9E=E5=8A=A0?= =?UTF-8?q?=E5=8E=86=E5=8F=B2=E8=AE=B0=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/application/template/embed.js | 2 +- ui/src/api/log.ts | 2 +- .../components/ai-chat/LogOperationButton.vue | 3 +- ui/src/components/ai-chat/OperationButton.vue | 8 +- ui/src/components/ai-chat/index.vue | 13 +-- ui/src/components/common-list/index.vue | 8 +- ui/src/router/modules/setting.ts | 2 +- ui/src/stores/modules/log.ts | 17 +++ ui/src/utils/message.ts | 22 +--- ui/src/views/application/index.vue | 4 +- ui/src/views/chat/base/index.vue | 2 +- ui/src/views/chat/embed/index.vue | 16 +-- ui/src/views/chat/index.vue | 109 +++-------------- ui/src/views/chat/pc/index.vue | 110 +++++++++++------- .../views/dataset/component/SyncWebDialog.vue | 2 - .../component/ImportDocumentDialog.vue | 10 +- ui/src/views/document/index.vue | 8 +- .../views/log/component/ChatRecordDrawer.vue | 14 +-- .../views/log/component/EditContentDialog.vue | 10 +- ui/src/views/log/index.vue | 8 +- .../paragraph/component/ParagraphForm.vue | 13 +-- 21 files changed, 152 insertions(+), 231 deletions(-) diff --git a/apps/application/template/embed.js b/apps/application/template/embed.js index 33545af47..e2e3ebf03 100644 --- a/apps/application/template/embed.js +++ b/apps/application/template/embed.js @@ -53,7 +53,7 @@ const chatButtonHtml= const getChatContainerHtml=(protocol,host,token)=>{ return `
- +
diff --git a/ui/src/api/log.ts b/ui/src/api/log.ts index 1904e96b0..aba762b1e 100644 --- a/ui/src/api/log.ts +++ b/ui/src/api/log.ts @@ -1,5 +1,5 @@ import { Result } from '@/request/Result' -import { get, post, del, put, exportExcel } from '@/request/index' +import { get, del, put, exportExcel } from '@/request/index' import type { pageRequest } from '@/api/type/common' import { type Ref } from 'vue' diff --git a/ui/src/components/ai-chat/LogOperationButton.vue b/ui/src/components/ai-chat/LogOperationButton.vue index 59cc48634..7a6dcb74d 100644 --- a/ui/src/components/ai-chat/LogOperationButton.vue +++ b/ui/src/components/ai-chat/LogOperationButton.vue @@ -41,7 +41,7 @@
+onMounted(() => {}) + + diff --git a/ui/src/views/chat/pc/index.vue b/ui/src/views/chat/pc/index.vue index 5a31f73e9..4daee0f96 100644 --- a/ui/src/views/chat/pc/index.vue +++ b/ui/src/views/chat/pc/index.vue @@ -1,20 +1,26 @@