2025-03-19 15:09:01 +08:00
|
|
|
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: '用户管理',
|
|
|
|
|
},
|
|
|
|
|
{
|
2025-03-21 17:16:12 +08:00
|
|
|
id: '52',
|
2025-03-19 15:09:01 +08:00
|
|
|
pid: '1',
|
2025-03-21 17:16:12 +08:00
|
|
|
index: '/manage-model',
|
2025-04-11 16:27:25 +08:00
|
|
|
title: '模型推理接入点管理',
|
2025-03-19 15:09:01 +08:00
|
|
|
},
|
2025-03-24 14:50:11 +08:00
|
|
|
{
|
|
|
|
|
id: '54',
|
|
|
|
|
pid: '1',
|
|
|
|
|
index: '/function',
|
|
|
|
|
title: '功能管理',
|
2025-03-28 21:34:11 +08:00
|
|
|
},
|
2025-03-29 17:03:59 +08:00
|
|
|
|
2025-11-04 20:51:20 +08:00
|
|
|
{
|
|
|
|
|
id: '73',
|
|
|
|
|
pid: '1',
|
|
|
|
|
index: '/manage-permiss-policy',
|
|
|
|
|
title: '权限策略管理',
|
|
|
|
|
}
|
2025-03-29 17:03:59 +08:00
|
|
|
|
|
|
|
|
],
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
'id': '71',
|
|
|
|
|
'title': '用户功能管理',
|
|
|
|
|
'index': '71',
|
2025-09-06 21:42:15 +08:00
|
|
|
'icon': 'UserFilled',
|
2025-03-29 17:03:59 +08:00
|
|
|
'children': [
|
|
|
|
|
{
|
|
|
|
|
id: '51',
|
|
|
|
|
pid: '1',
|
|
|
|
|
index: '/manage-session',
|
|
|
|
|
title: '会话管理',
|
|
|
|
|
},
|
2025-03-28 21:34:11 +08:00
|
|
|
{
|
|
|
|
|
id: '56',
|
|
|
|
|
pid: '1',
|
|
|
|
|
index: '/manage-file',
|
|
|
|
|
title: '文件管理',
|
|
|
|
|
},
|
2025-04-08 17:12:56 +08:00
|
|
|
{
|
|
|
|
|
id: '58',
|
|
|
|
|
pid: '1',
|
|
|
|
|
index: '/manage-kbase',
|
|
|
|
|
title: '知识库管理',
|
|
|
|
|
}
|
2025-03-19 15:09:01 +08:00
|
|
|
],
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
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: '主题',
|
|
|
|
|
},
|
2025-03-21 17:16:12 +08:00
|
|
|
{
|
|
|
|
|
id: '8',
|
|
|
|
|
icon: 'User',
|
|
|
|
|
index: '/ucenter',
|
|
|
|
|
title: '个人中心',
|
|
|
|
|
},
|
2025-11-04 20:51:20 +08:00
|
|
|
// {
|
|
|
|
|
// id: '9',
|
|
|
|
|
// icon: 'Files',
|
|
|
|
|
// index: '/kbase-chat',
|
|
|
|
|
// title: '知识库交互',
|
|
|
|
|
// },
|
2025-03-21 17:16:12 +08:00
|
|
|
{
|
|
|
|
|
id: '53',
|
|
|
|
|
icon: 'ChatDotSquare',
|
|
|
|
|
index: '/gen-chat',
|
2025-04-11 16:27:25 +08:00
|
|
|
title: '通用智能交互',
|
2025-03-21 17:16:12 +08:00
|
|
|
},
|
2025-03-27 16:09:22 +08:00
|
|
|
{
|
|
|
|
|
id: '55',
|
|
|
|
|
icon: 'ChatDotSquare',
|
|
|
|
|
index: '/gen-prompt',
|
|
|
|
|
title: '提示词生成',
|
|
|
|
|
},
|
2025-11-04 20:51:20 +08:00
|
|
|
// {
|
|
|
|
|
// id: '57',
|
|
|
|
|
// icon: 'ChatDotSquare',
|
|
|
|
|
// index: '/ai-ppt',
|
|
|
|
|
// title: '智能PPT生成',
|
|
|
|
|
// },
|
2025-06-03 18:08:07 +08:00
|
|
|
{
|
|
|
|
|
id: '59',
|
2025-09-06 21:42:15 +08:00
|
|
|
icon: 'Select',
|
2025-06-03 18:08:07 +08:00
|
|
|
index: '/project-select',
|
|
|
|
|
title: '项目选择',
|
|
|
|
|
},
|
2025-08-20 22:22:50 +08:00
|
|
|
{
|
|
|
|
|
id: '72',
|
2025-09-06 21:42:15 +08:00
|
|
|
icon: 'Edit',
|
2025-08-20 22:22:50 +08:00
|
|
|
index: '/db-manage',
|
|
|
|
|
title: '数据库管理工具',
|
|
|
|
|
},
|
2025-03-19 15:09:01 +08:00
|
|
|
{
|
|
|
|
|
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',
|
|
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
},
|
|
|
|
|
];
|