|
|
@ -1,4 +1,4 @@ |
|
|
|
import { LucideIcon, LayoutDashboard, Users, Settings, FolderOpen } from 'lucide-react'; |
|
|
|
import { LucideIcon, LayoutDashboard, Users, Settings, FolderOpen, TestTube, BarChart3, Gauge, FileText, ClipboardList } from 'lucide-react'; |
|
|
|
|
|
|
|
// 定义权限类型
|
|
|
|
export type Permission = |
|
|
@ -69,8 +69,8 @@ export const menuItems: MenuItem[] = [ |
|
|
|
permission: 'dashboard.view', |
|
|
|
}, |
|
|
|
{ |
|
|
|
title: '场景业务管理', |
|
|
|
icon: FolderOpen, |
|
|
|
title: '场景管理', |
|
|
|
icon: FileText, |
|
|
|
href: '/dashboard/scenarios', |
|
|
|
permission: 'scenarios.view', |
|
|
|
children: [ |
|
|
@ -88,7 +88,7 @@ export const menuItems: MenuItem[] = [ |
|
|
|
}, |
|
|
|
{ |
|
|
|
title: '用例管理', |
|
|
|
icon: FolderOpen, |
|
|
|
icon: TestTube, |
|
|
|
href: '/dashboard/testcases', |
|
|
|
permission: 'testcases.view', |
|
|
|
children: [ |
|
|
@ -111,7 +111,7 @@ export const menuItems: MenuItem[] = [ |
|
|
|
}, |
|
|
|
{ |
|
|
|
title: '任务管理', |
|
|
|
icon: FolderOpen, |
|
|
|
icon: ClipboardList, |
|
|
|
href: '/dashboard/tasks', |
|
|
|
permission: 'tasks.view', |
|
|
|
children: [ |
|
|
@ -139,7 +139,7 @@ export const menuItems: MenuItem[] = [ |
|
|
|
}, |
|
|
|
{ |
|
|
|
title: '结果分析', |
|
|
|
icon: FolderOpen, |
|
|
|
icon: BarChart3, |
|
|
|
href: '/dashboard/analysis', |
|
|
|
permission: 'functionalanalysis.view', |
|
|
|
children: [ |
|
|
@ -167,7 +167,7 @@ export const menuItems: MenuItem[] = [ |
|
|
|
}, |
|
|
|
{ |
|
|
|
title: '仪表管理', |
|
|
|
icon: FolderOpen, |
|
|
|
icon: Gauge, |
|
|
|
href: '/dashboard/instruments', |
|
|
|
permission: 'devices.view', |
|
|
|
children: [ |
|
|
|