feat: restore dashboard workspace and analytics

This commit is contained in:
2026-06-21 19:44:32 +08:00
parent f9050c95d1
commit 61f164a6f8
25 changed files with 1155 additions and 496 deletions
+1
View File
@@ -194,6 +194,7 @@ async function generateAccess(options: GenerateMenuAndRoutesOptions) {
'../views/ai-platform/workflow/editor/index.vue',
'../views/ai-platform/workflow/index.vue',
'../views/ai-platform/workflow-runs/index.vue',
'../views/dashboard/analytics/index.vue',
'../views/dashboard/workspace/index.vue',
]);
@@ -1,6 +1,7 @@
export const LIGHT_MENU_NAMES = new Set([
'ControlCenter',
'Dashboard',
'DashboardAnalytics',
'DashboardWorkspace',
'AIAgent',
'AIKnowledgeDetail',
@@ -12,6 +12,15 @@ const routes: RouteRecordRaw[] = [
path: '/dashboard',
redirect: '/dashboard/workspace',
children: [
{
component: () => import('#/views/dashboard/analytics/index.vue'),
meta: {
hideInMenu: true,
title: 'menu-title.analytics',
},
name: 'DashboardAnalytics',
path: '/dashboard/analytics',
},
{
component: () => import('#/views/dashboard/workspace/index.vue'),
meta: {