From 078bb41fc5b01b164f76dd2eab574129d4c05caf Mon Sep 17 00:00:00 2001 From: wangdan-fit2cloud Date: Wed, 9 Jul 2025 16:12:02 +0800 Subject: [PATCH] feat: style --- ui/src/api/system-resource-management/tool.ts | 2 +- ui/src/api/system-shared/tool.ts | 2 +- .../ExecutionDetailContent.vue | 2 +- ui/src/components/folder-tree/index.vue | 29 +- ui/src/locales/lang/en-US/views/index.ts | 2 - .../en-US/views/resource-authorization.ts | 26 - ui/src/locales/lang/en-US/views/shared.ts | 6 + ui/src/locales/lang/en-US/views/system.ts | 14 + .../lang/zh-CN/views/application-workflow.ts | 4 +- ui/src/locales/lang/zh-CN/views/index.ts | 2 - .../zh-CN/views/resource-authorization.ts | 25 - ui/src/locales/lang/zh-CN/views/shared.ts | 6 + ui/src/locales/lang/zh-CN/views/system.ts | 16 +- ui/src/locales/lang/zh-CN/views/tool.ts | 4 +- .../zh-Hant/views/application-workflow.ts | 2 +- ui/src/locales/lang/zh-Hant/views/index.ts | 2 - .../zh-Hant/views/resource-authorization.ts | 21 - ui/src/locales/lang/zh-Hant/views/shared.ts | 6 + ui/src/locales/lang/zh-Hant/views/system.ts | 16 +- ui/src/locales/lang/zh-Hant/views/tool.ts | 2 +- ui/src/router/modules/system.ts | 2 +- .../component/AddKnowledgeDialog.vue | 3 +- ui/src/views/chat-user/index.vue | 87 +-- .../component/KnowledgeListContainer.vue | 2 +- .../system-chat-user/chat-user/index.vue | 176 +++--- ui/src/views/system-chat-user/group/index.vue | 8 +- .../ApplicationResourceIndex.vue | 11 +- .../KnowledgeResourceIndex.vue | 7 +- .../ModelResourceIndex.vue | 41 +- .../ToolResourceIndex.vue | 11 +- ui/src/views/system-setting/email/index.vue | 18 +- .../AuthorizedWorkspaceDialog.vue | 12 +- ui/src/views/system/operate-log/index.vue | 523 +++++++++--------- .../component/PermissionSetting.vue | 16 +- .../system/resource-authorization/index.vue | 10 +- ui/src/views/system/role/component/Member.vue | 39 +- .../component/PermissionConfiguration.vue | 7 +- ui/src/views/system/role/index.vue | 8 +- ui/src/views/system/user-manage/index.vue | 18 +- ui/src/views/system/workspace/index.vue | 2 +- .../tool/component/ToolListContainer.vue | 2 +- 41 files changed, 626 insertions(+), 566 deletions(-) delete mode 100644 ui/src/locales/lang/en-US/views/resource-authorization.ts delete mode 100644 ui/src/locales/lang/zh-CN/views/resource-authorization.ts delete mode 100644 ui/src/locales/lang/zh-Hant/views/resource-authorization.ts diff --git a/ui/src/api/system-resource-management/tool.ts b/ui/src/api/system-resource-management/tool.ts index 0b9b2dc68..ae3e2f62e 100644 --- a/ui/src/api/system-resource-management/tool.ts +++ b/ui/src/api/system-resource-management/tool.ts @@ -54,7 +54,7 @@ const putTool: (tool_id: string, data: toolData, loading?: Ref) => Prom * 获取工具详情 * @param tool_id 工具id * @param loading 加载器 - * @returns 函数详情 + * @returns 工具详情 */ const getToolById: (tool_id: string, loading?: Ref) => Promise> = ( tool_id, diff --git a/ui/src/api/system-shared/tool.ts b/ui/src/api/system-shared/tool.ts index 7806228df..befdb6d07 100644 --- a/ui/src/api/system-shared/tool.ts +++ b/ui/src/api/system-shared/tool.ts @@ -62,7 +62,7 @@ const putTool: (tool_id: string, data: toolData, loading?: Ref) => Prom * 获取工具详情 * @param tool_id 工具id * @param loading 加载器 - * @returns 函数详情 + * @returns 工具详情 */ const getToolById: (tool_id: string, loading?: Ref) => Promise> = ( tool_id, diff --git a/ui/src/components/ai-chat/component/knowledge-source-component/ExecutionDetailContent.vue b/ui/src/components/ai-chat/component/knowledge-source-component/ExecutionDetailContent.vue index abc027c2d..deff5f1cb 100644 --- a/ui/src/components/ai-chat/component/knowledge-source-component/ExecutionDetailContent.vue +++ b/ui/src/components/ai-chat/component/knowledge-source-component/ExecutionDetailContent.vue @@ -405,7 +405,7 @@ - +