|
|
@@ -30,7 +30,6 @@ const menuGroupsData: MenuGroup[] = [
|
|
|
key: 'system',
|
|
|
name: '系统管理',
|
|
|
menus: [
|
|
|
- // === 用户权限相关(蓝色系)===
|
|
|
{
|
|
|
key: 'user',
|
|
|
name: '用户管理',
|
|
|
@@ -42,7 +41,7 @@ const menuGroupsData: MenuGroup[] = [
|
|
|
{
|
|
|
key: 'role',
|
|
|
name: '角色管理',
|
|
|
- icon: 'secured', // 安全/权限
|
|
|
+ icon: 'secured',
|
|
|
url: '/pages-system/role/index',
|
|
|
iconColor: '#2f54eb',
|
|
|
permission: 'system:role:query',
|
|
|
@@ -55,11 +54,10 @@ const menuGroupsData: MenuGroup[] = [
|
|
|
iconColor: '#597ef7',
|
|
|
permission: 'system:menu:query',
|
|
|
},
|
|
|
- // === 组织架构相关(青色系)===
|
|
|
{
|
|
|
key: 'dept',
|
|
|
name: '部门管理',
|
|
|
- icon: 'layers', // 层级结构
|
|
|
+ icon: 'layers',
|
|
|
url: '/pages-system/dept/index',
|
|
|
iconColor: '#13c2c2',
|
|
|
permission: 'system:dept:query',
|
|
|
@@ -72,11 +70,10 @@ const menuGroupsData: MenuGroup[] = [
|
|
|
iconColor: '#36cfc9',
|
|
|
permission: 'system:post:query',
|
|
|
},
|
|
|
- // === 日志相关(紫色系)===
|
|
|
{
|
|
|
key: 'operateLog',
|
|
|
name: '操作日志',
|
|
|
- icon: 'history', // 历史记录
|
|
|
+ icon: 'history',
|
|
|
url: '/pages-system/operate-log/index',
|
|
|
iconColor: '#722ed1',
|
|
|
permission: 'system:operate-log:query',
|
|
|
@@ -84,16 +81,15 @@ const menuGroupsData: MenuGroup[] = [
|
|
|
{
|
|
|
key: 'loginLog',
|
|
|
name: '登录日志',
|
|
|
- icon: 'login', // 登录
|
|
|
+ icon: 'login',
|
|
|
url: '/pages-system/login-log/index',
|
|
|
iconColor: '#9254de',
|
|
|
permission: 'system:login-log:query',
|
|
|
},
|
|
|
- // === 消息通知相关(橙色系)===
|
|
|
{
|
|
|
key: 'notice',
|
|
|
name: '通知公告',
|
|
|
- icon: 'notification', // 通知
|
|
|
+ icon: 'notification',
|
|
|
url: '/pages-system/notice/index',
|
|
|
iconColor: '#fa8c16',
|
|
|
permission: 'system:notice:query',
|
|
|
@@ -101,7 +97,7 @@ const menuGroupsData: MenuGroup[] = [
|
|
|
{
|
|
|
key: 'sms',
|
|
|
name: '短信管理',
|
|
|
- icon: 'chat1', // 消息
|
|
|
+ icon: 'chat1',
|
|
|
url: '/pages-system/sms/index',
|
|
|
iconColor: '#faad14',
|
|
|
permission: 'system:sms-channel:query',
|
|
|
@@ -117,12 +113,11 @@ const menuGroupsData: MenuGroup[] = [
|
|
|
{
|
|
|
key: 'notify',
|
|
|
name: '站内信管理',
|
|
|
- icon: 'read', // 阅读/消息
|
|
|
+ icon: 'read',
|
|
|
url: '/pages-system/notify/index',
|
|
|
iconColor: '#ff7a45',
|
|
|
permission: 'system:notify-template:query',
|
|
|
},
|
|
|
- // === 系统配置相关(粉色系)===
|
|
|
{
|
|
|
key: 'tenant',
|
|
|
name: '租户管理',
|
|
|
@@ -142,7 +137,7 @@ const menuGroupsData: MenuGroup[] = [
|
|
|
{
|
|
|
key: 'oauth2',
|
|
|
name: 'OAuth2.0',
|
|
|
- icon: 'lock-on', // 授权/锁
|
|
|
+ icon: 'lock-on',
|
|
|
url: '/pages-system/oauth2/index',
|
|
|
iconColor: '#ff85c0',
|
|
|
permission: 'system:oauth2-client:query',
|
|
|
@@ -150,7 +145,7 @@ const menuGroupsData: MenuGroup[] = [
|
|
|
{
|
|
|
key: 'dict',
|
|
|
name: '字典管理',
|
|
|
- icon: 'books', // 字典/书籍
|
|
|
+ icon: 'books',
|
|
|
url: '/pages-system/dict/index',
|
|
|
iconColor: '#c41d7f',
|
|
|
permission: 'system:dict:query',
|
|
|
@@ -168,11 +163,10 @@ const menuGroupsData: MenuGroup[] = [
|
|
|
key: 'infra',
|
|
|
name: '基础设施',
|
|
|
menus: [
|
|
|
- // === 日志监控相关(红蓝色系)===
|
|
|
{
|
|
|
key: 'accessLog',
|
|
|
name: '访问日志',
|
|
|
- icon: 'view-list', // 列表/日志
|
|
|
+ icon: 'view-list',
|
|
|
url: '/pages-infra/api-access-log/index',
|
|
|
iconColor: '#1890ff',
|
|
|
permission: 'infra:api-access-log:query',
|
|
|
@@ -185,7 +179,6 @@ const menuGroupsData: MenuGroup[] = [
|
|
|
iconColor: '#f5222d',
|
|
|
permission: 'infra:api-error-log:query',
|
|
|
},
|
|
|
- // === 配置相关(青紫色系)===
|
|
|
{
|
|
|
key: 'config',
|
|
|
name: '参数配置',
|
|
|
@@ -197,12 +190,11 @@ const menuGroupsData: MenuGroup[] = [
|
|
|
{
|
|
|
key: 'dataSourceConfig',
|
|
|
name: '数据源配置',
|
|
|
- icon: 'server', // 服务器/数据源
|
|
|
+ icon: 'server',
|
|
|
url: '/pages-infra/data-source-config/index',
|
|
|
iconColor: '#9254de',
|
|
|
permission: 'infra:data-source-config:query',
|
|
|
},
|
|
|
- // === 文件存储相关(蓝色系)===
|
|
|
{
|
|
|
key: 'file',
|
|
|
name: '文件管理',
|
|
|
@@ -211,24 +203,21 @@ const menuGroupsData: MenuGroup[] = [
|
|
|
iconColor: '#2f54eb',
|
|
|
permission: 'infra:file:query',
|
|
|
},
|
|
|
- // === 通信相关(青色系)===
|
|
|
{
|
|
|
key: 'websocket',
|
|
|
name: 'WebSocket',
|
|
|
- icon: 'wifi', // 网络连接
|
|
|
+ icon: 'wifi',
|
|
|
url: '/pages-infra/web-socket/index',
|
|
|
iconColor: '#13c2c2',
|
|
|
},
|
|
|
- // === 任务调度相关(橙色系)===
|
|
|
{
|
|
|
key: 'job',
|
|
|
name: '定时任务',
|
|
|
- icon: 'time', // 时间/定时
|
|
|
+ icon: 'time',
|
|
|
url: '/pages-infra/job/index',
|
|
|
iconColor: '#fa8c16',
|
|
|
permission: 'infra:job:query',
|
|
|
},
|
|
|
- // === 开发工具相关(绿色系)===
|
|
|
{
|
|
|
key: 'codegen',
|
|
|
name: '代码生成',
|
|
|
@@ -253,7 +242,7 @@ const menuGroupsData: MenuGroup[] = [
|
|
|
{
|
|
|
key: 'druid',
|
|
|
name: '监控中心',
|
|
|
- icon: 'dashboard', // 仪表盘
|
|
|
+ icon: 'dashboard',
|
|
|
url: ONLY_PC_PAGE,
|
|
|
iconColor: '#389e0d',
|
|
|
},
|
|
|
@@ -263,11 +252,10 @@ const menuGroupsData: MenuGroup[] = [
|
|
|
key: 'bpm',
|
|
|
name: '工作流程',
|
|
|
menus: [
|
|
|
- // === 个人工作台(蓝色系)===
|
|
|
{
|
|
|
key: 'bpmMy',
|
|
|
name: '我的流程',
|
|
|
- icon: 'user-circle', // 个人
|
|
|
+ icon: 'user-circle',
|
|
|
url: '/pages/bpm/index?tab=my',
|
|
|
iconColor: '#1890ff',
|
|
|
permission: 'bpm:process-instance:query',
|
|
|
@@ -275,7 +263,7 @@ const menuGroupsData: MenuGroup[] = [
|
|
|
{
|
|
|
key: 'bpmTodo',
|
|
|
name: '待办任务',
|
|
|
- icon: 'time', // 待处理/时间
|
|
|
+ icon: 'time',
|
|
|
url: '/pages/bpm/index?tab=todo',
|
|
|
iconColor: '#fa8c16',
|
|
|
permission: 'bpm:task:query',
|
|
|
@@ -296,11 +284,18 @@ const menuGroupsData: MenuGroup[] = [
|
|
|
iconColor: '#13c2c2',
|
|
|
permission: 'bpm:process-instance-cc:query',
|
|
|
},
|
|
|
- // === 流程设计相关(紫色系)===
|
|
|
+ {
|
|
|
+ key: 'oaLeave',
|
|
|
+ name: '请假申请',
|
|
|
+ icon: 'calendar',
|
|
|
+ url: '/pages-bpm/oa/leave/index',
|
|
|
+ iconColor: '#52c41a',
|
|
|
+ permission: 'bpm:oa-leave:query',
|
|
|
+ },
|
|
|
{
|
|
|
key: 'bpmModel',
|
|
|
name: '流程模型',
|
|
|
- icon: 'app', // 应用/模型
|
|
|
+ icon: 'app',
|
|
|
url: ONLY_PC_PAGE,
|
|
|
iconColor: '#722ed1',
|
|
|
permission: 'bpm:process-definition:query',
|
|
|
@@ -308,16 +303,15 @@ const menuGroupsData: MenuGroup[] = [
|
|
|
{
|
|
|
key: 'bpmForm',
|
|
|
name: '流程表单',
|
|
|
- icon: 'edit-1', // 编辑/表单
|
|
|
+ icon: 'edit-1',
|
|
|
url: ONLY_PC_PAGE,
|
|
|
iconColor: '#9254de',
|
|
|
permission: 'bpm:form:query',
|
|
|
},
|
|
|
- // === 流程配置相关(橙黄色系)===
|
|
|
{
|
|
|
key: 'bpmCategory',
|
|
|
name: '流程分类',
|
|
|
- icon: 'folder-open', // 分类/文件夹
|
|
|
+ icon: 'folder-open',
|
|
|
url: '/pages-bpm/category/index',
|
|
|
iconColor: '#faad14',
|
|
|
permission: 'bpm:category:query',
|
|
|
@@ -330,11 +324,10 @@ const menuGroupsData: MenuGroup[] = [
|
|
|
iconColor: '#ffc53d',
|
|
|
permission: 'bpm:user-group:query',
|
|
|
},
|
|
|
- // === 流程扩展相关(粉色系)===
|
|
|
{
|
|
|
key: 'bpmProcessListener',
|
|
|
name: '流程监听器',
|
|
|
- icon: 'sound', // 监听/声音
|
|
|
+ icon: 'sound',
|
|
|
url: '/pages-bpm/process-listener/index',
|
|
|
iconColor: '#eb2f96',
|
|
|
permission: 'bpm:process-listener:query',
|
|
|
@@ -347,11 +340,10 @@ const menuGroupsData: MenuGroup[] = [
|
|
|
iconColor: '#f759ab',
|
|
|
permission: 'bpm:process-expression:query',
|
|
|
},
|
|
|
- // === 流程管理相关(青色系)===
|
|
|
{
|
|
|
key: 'bpmProcessInstanceManager',
|
|
|
name: '流程实例',
|
|
|
- icon: 'queue', // 队列/实例
|
|
|
+ icon: 'queue',
|
|
|
url: '/pages-bpm/processInstance/manager/index',
|
|
|
iconColor: '#36cfc9',
|
|
|
permission: 'bpm:process-instance:manager-query',
|
|
|
@@ -359,7 +351,7 @@ const menuGroupsData: MenuGroup[] = [
|
|
|
{
|
|
|
key: 'bpmTaskManager',
|
|
|
name: '流程任务',
|
|
|
- icon: 'bulletpoint', // 任务列表
|
|
|
+ icon: 'bulletpoint',
|
|
|
url: '/pages-bpm/task/manager/index',
|
|
|
iconColor: '#5cdbd3',
|
|
|
permission: 'bpm:task:manager-query',
|