sawAdmin/src/components/menu.ts

336 lines
7.7 KiB
TypeScript
Raw Normal View History

import { Menus } from '@/types/menu';
export const menuData: Menus[] = [
{
id: '0',
title: '系统首页',
index: '/dashboard',
icon: 'Odometer',
},
{
id: '1',
title: '系统管理',
index: '1',
icon: 'HomeFilled',
children: [
{
id: '11',
pid: '1',
index: '/system-user',
title: '用户管理',
},
{
id: '52',
pid: '1',
index: '/manage-model',
2025-04-11 16:27:25 +08:00
title: '模型推理接入点管理',
},
2025-03-24 14:50:11 +08:00
{
id: '54',
pid: '1',
index: '/function',
title: '功能管理',
},
2025-11-04 20:51:20 +08:00
{
id: '73',
pid: '1',
index: '/manage-permiss-policy',
title: '权限策略管理',
2025-11-15 19:54:19 +08:00
},
{
id: '74',
pid: '1',
index: '/manage-model-policy',
title: '模型策略管理',
2025-11-04 20:51:20 +08:00
}
],
},
{
'id': '71',
'title': '用户功能管理',
'index': '71',
'icon': 'UserFilled',
'children': [
{
id: '51',
pid: '1',
index: '/manage-session',
title: '会话管理',
},
{
id: '56',
pid: '1',
index: '/manage-file',
title: '文件管理',
},
{
id: '58',
pid: '1',
index: '/manage-kbase',
title: '知识库管理',
}
],
},
{
id: '75',
title: 'VPN服务器',
index: '75',
icon: 'Lock',
children: [
{
id: '751',
pid: '75',
index: '/vpn-server-config',
title: 'VPN服务器配置',
},
{
id: '752',
pid: '75',
index: '/vpn-address-pool',
title: '地址池配置',
},
{
id: '753',
pid: '75',
index: '/vpn-tunnel',
title: '隧道配置',
},
{
id: '755',
pid: '75',
index: '/vpn-online-user',
title: '在线用户',
}
],
},
{
id: '2',
title: '组件',
index: '2-1',
icon: 'Calendar',
children: [
{
id: '21',
pid: '3',
index: '/form',
title: '表单',
},
{
id: '22',
pid: '3',
index: '/upload',
title: '上传',
},
{
id: '23',
pid: '2',
index: '/carousel',
title: '走马灯',
},
{
id: '24',
pid: '2',
index: '/calendar',
title: '日历',
},
{
id: '25',
pid: '2',
index: '/watermark',
title: '水印',
},
{
id: '26',
pid: '2',
index: '/tour',
title: '分布引导',
},
{
id: '27',
pid: '2',
index: '/steps',
title: '步骤条',
},
{
id: '28',
pid: '2',
index: '/statistic',
title: '统计',
},
{
id: '29',
pid: '3',
index: '29',
title: '三级菜单',
children: [
{
id: '291',
pid: '29',
index: '/editor',
title: '富文本编辑器',
},
{
id: '292',
pid: '29',
index: '/markdown',
title: 'markdown编辑器',
},
],
},
],
},
{
id: '3',
title: '表格',
index: '3',
icon: 'Calendar',
children: [
{
id: '31',
pid: '3',
index: '/table',
title: '基础表格',
},
{
id: '32',
pid: '3',
index: '/table-editor',
title: '可编辑表格',
},
{
id: '33',
pid: '3',
index: '/import',
title: '导入Excel',
},
{
id: '34',
pid: '3',
index: '/export',
title: '导出Excel',
},
],
},
{
id: '4',
icon: 'PieChart',
index: '4',
title: '图表',
children: [
{
id: '41',
pid: '4',
index: '/schart',
title: 'schart图表',
},
{
id: '42',
pid: '4',
index: '/echarts',
title: 'echarts图表',
},
],
},
{
id: '5',
icon: 'Guide',
index: '/icon',
title: '图标',
permiss: '5',
},
{
id: '7',
icon: 'Brush',
index: '/theme',
title: '主题',
},
{
id: '8',
icon: 'User',
index: '/ucenter',
title: '个人中心',
},
2025-11-04 20:51:20 +08:00
// {
// id: '9',
// icon: 'Files',
// index: '/kbase-chat',
// title: '知识库交互',
// },
{
id: '53',
icon: 'ChatDotSquare',
index: '/gen-chat',
2025-04-11 16:27:25 +08:00
title: '通用智能交互',
},
{
id: '55',
icon: 'ChatDotSquare',
index: '/gen-prompt',
title: '提示词生成',
},
2026-01-10 15:20:34 +08:00
{
id: '754',
icon: 'Connection',
index: '/vpn-client',
title: 'VPN客户端UI',
},
2025-11-04 20:51:20 +08:00
// {
// id: '57',
// icon: 'ChatDotSquare',
// index: '/ai-ppt',
// title: '智能PPT生成',
// },
{
id: '59',
icon: 'Select',
index: '/project-select',
title: '项目选择',
},
2025-08-20 22:22:50 +08:00
{
id: '72',
icon: 'Edit',
2025-08-20 22:22:50 +08:00
index: '/db-manage',
title: '数据库管理工具',
},
{
id: '6',
icon: 'DocumentAdd',
index: '6',
title: '附加页面',
children: [
{
id: '62',
pid: '6',
index: '/login',
title: '登录',
},
{
id: '63',
pid: '6',
index: '/register',
title: '注册',
},
{
id: '64',
pid: '6',
index: '/reset-pwd',
title: '重设密码',
},
{
id: '65',
pid: '6',
index: '/403',
title: '403',
},
{
id: '66',
pid: '6',
index: '/404',
title: '404',
},
],
},
];