From 6d586f4d5b205b313946584c80d65b9bb6420b5d Mon Sep 17 00:00:00 2001 From: tangquankun Date: Fri, 13 Mar 2026 09:28:15 +0800 Subject: [PATCH] =?UTF-8?q?feat(ui):=20=E5=9B=BD=E9=99=85=E5=8C=96?= =?UTF-8?q?=E9=80=82=E9=85=8D=E5=AE=8C=E6=88=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ui/src/layout/components/sidebar/index.vue | 68 +++++++++++++++---- ui/src/layout/layout-header/SystemHeader.vue | 20 +++++- .../locales/lang/en-US/views/application.ts | 2 +- ui/src/locales/lang/en-US/views/tool.ts | 2 +- .../locales/lang/zh-CN/views/application.ts | 2 +- ui/src/locales/lang/zh-CN/views/tool.ts | 2 +- .../locales/lang/zh-Hant/views/application.ts | 2 +- ui/src/locales/lang/zh-Hant/views/tool.ts | 2 +- 8 files changed, 80 insertions(+), 20 deletions(-) diff --git a/ui/src/layout/components/sidebar/index.vue b/ui/src/layout/components/sidebar/index.vue index a74d8bd2e..54e5c5947 100644 --- a/ui/src/layout/components/sidebar/index.vue +++ b/ui/src/layout/components/sidebar/index.vue @@ -12,35 +12,35 @@ style="display: block; padding: 10px 16px; border-radius: 8px; text-decoration: none; color: #333; font-size: 14px;" :style="activeMainMenu === '/application' ? { backgroundColor: '#e6f0ff', color: '#1890ff' } : {}" > - AI应用 + {{ menuText.aiApplication }} - 思维导图 + {{ menuText.mindmap }} - 知识库 + {{ menuText.knowledge }} - 工具管理 + {{ menuText.toolManagement }} - 模型管理 + {{ menuText.modelManagement }} @@ -50,7 +50,7 @@ style="display: block; padding: 10px 16px; border-radius: 8px; text-decoration: none; color: #333; font-size: 14px;" :style="activeSystemMenu === '/system/user' ? { backgroundColor: '#e6f0ff', color: '#1890ff' } : {}" > - 用户管理 + {{ menuText.userManagement }}
@@ -59,7 +59,7 @@ :style="activeSystemMenu.startsWith('/system/authorization') ? { backgroundColor: '#e6f0ff', color: '#1890ff' } : {}" @click="toggleResourceAuth" > - 资源授权 + {{ menuText.resourceAuthorization }} {{ resourceAuthExpanded ? '▾' : '▸' }}
- AI应用 + {{ menuText.aiApplication }} - 知识库 + {{ menuText.knowledge }} - 工具管理 + {{ menuText.toolManagement }} - 模型管理 + {{ menuText.modelManagement }}
@@ -103,7 +103,7 @@ :style="activeSystemMenu.startsWith('/system/email') ? { backgroundColor: '#e6f0ff', color: '#1890ff' } : {}" @click="toggleSystemSettings" > - 系统设置 + {{ menuText.systemSettings }} {{ systemSettingsExpanded ? '▾' : '▸' }}
- 邮件设置 + {{ menuText.emailSettings }}
@@ -131,9 +131,51 @@