This commit is contained in:
zxr
2026-09-15 23:37:59 +08:00
parent 781d1af337
commit 6395911954
168 changed files with 11207 additions and 6738 deletions

View File

@@ -31,13 +31,29 @@ export const localMenuFlatItems: MenuItem[] = [
sort_key: 2,
created_at: '2025-12-26T13:23:51.62748+08:00',
},
{
id: 12070,
identity: '019ca000-0001-7000-8000-000000000070',
title: '数据大屏管理',
title_en: 'Data Screen Management',
code: 'opsBigScreenManage',
description: '固定数据大屏、公开访问和轮播管理',
app_id: 2,
parent_id: 13,
menu_path: '/ops/big-screen',
component: 'ops/pages/big-screen',
menu_icon: 'appstore',
type: 1,
sort_key: 1,
created_at: '2026-06-25T10:00:00+08:00',
},
{
id: 14,
identity: '019b591d-00dc-7486-aa93-51e798d3253a',
title: '大屏管理',
title_en: 'My Components',
title: '自定义大屏设计',
title_en: 'Custom Screen Design',
code: 'ops:可视化大屏管理:我的组件',
description: '可视化大屏管理 - 我的组件',
description: '设计自定义数据大屏',
app_id: 2,
parent_id: 13,
menu_path: '/visual/component',
@@ -51,8 +67,8 @@ export const localMenuFlatItems: MenuItem[] = [
{
id: 85,
identity: '019bf309-a961-7bba-a03d-83eb78a82437',
title: '已发布大屏列表',
title_en: 'View Publish',
title: '自定义大屏发布',
title_en: 'Custom Screen Publishing',
code: '已发布大屏列表',
app_id: 2,
parent_id: 13,
@@ -260,10 +276,10 @@ export const localMenuFlatItems: MenuItem[] = [
{
id: 30,
identity: '019b591d-01d4-78b0-89ea-a6ba12914379',
title: '虚拟化监控',
title_en: 'Virtualization Monitoring',
title: '虚拟机监控',
title_en: 'Virtual Machine Monitoring',
code: 'ops:综合监控:虚拟化监控',
description: '综合监控 - 虚拟化监控',
description: '综合监控 - 虚拟机监控',
app_id: 2,
parent_id: 23,
menu_path: '/monitor/virtualization',
@@ -294,7 +310,7 @@ export const localMenuFlatItems: MenuItem[] = [
title: '服务器硬件监控',
title_en: 'Server Hardware (OOB)',
code: 'ops:综合监控:服务器硬件监控',
description: '综合监控 - 服务器带外硬件(BMC/IPMI/Redfish 等,DC-Hardware)',
description: '综合监控 - 服务器带外硬件(BMC/IPMI/Redfish)',
app_id: 2,
parent_id: 23,
menu_path: '/monitor/host-hardware',
@@ -646,32 +662,17 @@ export const localMenuFlatItems: MenuItem[] = [
sort_key: 30,
created_at: '2025-12-26T13:23:52.110362+08:00',
},
{
id: 40,
identity: '019b591d-026f-785d-b473-ac804133e251',
title: '告警模版',
title_en: 'Alert Template',
code: 'ops:告警管理:告警模版',
description: '告警管理 - 告警模版',
app_id: 2,
parent_id: 39,
menu_path: '/alert/template',
menu_icon: 'appstore',
type: 1,
sort_key: 31,
created_at: '2025-12-26T13:23:52.047548+08:00',
},
{
id: 4001,
identity: '019b591d-026f-785d-b473-ac804133e252',
title: '告警模版编辑',
title_en: 'Alert Template Edit',
code: 'ops:告警管理:告警模版编辑',
description: '告警管理 - 告警模版编辑',
title: '告警策略编辑',
title_en: 'Alert Policy Edit',
code: 'ops:告警管理:告警策略编辑',
description: '告警管理 - 告警策略编辑',
app_id: 2,
parent_id: 39,
menu_path: '/alert/template/edit',
component: 'ops/pages/alert/template/edit/index',
menu_path: '/alert/setting/edit',
component: 'ops/pages/alert/setting/edit/index',
menu_icon: 'appstore',
type: 1,
sort_key: 31,
@@ -1084,6 +1085,85 @@ export const localMenuFlatItems: MenuItem[] = [
sort_key: 56,
created_at: '2025-12-26T13:23:52.518159+08:00',
},
{
id: 5000,
identity: '01a11f42-5000-7000-8000-000000000001',
title: '用户与权限',
title_en: 'Users and Permissions',
code: 'userPermissionManage',
description: '用户、组织机构、岗位、角色、通知组和告警责任人',
app_id: 2,
menu_path: '/user-permission/',
menu_icon: 'UserGroup',
type: 1,
sort_key: 57,
},
{
id: 80,
identity: '019b5e12-8192-7d79-9dfc-b193e1ef53a0',
title: '用户管理',
title_en: 'User Management',
code: 'accountManage',
description: '用户归属一个部门和岗位标签,通过角色获得权限',
app_id: 2,
parent_id: 5000,
menu_path: '/user-permission/users',
component: 'ops/pages/user-permission/index',
type: 1,
sort_key: 58,
},
{
id: 5001,
identity: '01a11f42-5001-7000-8000-000000000001',
title: '组织机构',
title_en: 'Organization',
code: 'organizationManage',
app_id: 2,
parent_id: 5000,
menu_path: '/user-permission/organization',
component: 'ops/pages/user-permission/index',
type: 1,
sort_key: 59,
},
{
id: 5002,
identity: '01a11f42-5002-7000-8000-000000000001',
title: '角色权限',
title_en: 'Roles and Permissions',
code: 'roleManage',
app_id: 2,
parent_id: 5000,
menu_path: '/user-permission/roles',
component: 'ops/pages/user-permission/index',
type: 1,
sort_key: 60,
},
{
id: 5003,
identity: '01a11f42-5003-7000-8000-000000000001',
title: '通知组',
title_en: 'Notification Groups',
code: 'notificationGroupManage',
app_id: 2,
parent_id: 5000,
menu_path: '/user-permission/notification-groups',
component: 'ops/pages/user-permission/index',
type: 1,
sort_key: 61,
},
{
id: 5004,
identity: '01a11f42-5004-7000-8000-000000000001',
title: '告警责任人',
title_en: 'Alert Responsibility',
code: 'alertResponsibilityManage',
app_id: 2,
parent_id: 5000,
menu_path: '/user-permission/responsibility',
component: 'ops/pages/user-permission/index',
type: 1,
sort_key: 62,
},
{
id: 78,
identity: '019b5dc5-d82f-7290-b805-f549db554120',
@@ -1127,20 +1207,6 @@ export const localMenuFlatItems: MenuItem[] = [
sort_key: 59,
created_at: '2025-12-27T12:31:02.556301+08:00',
},
{
id: 80,
identity: '019b5e12-8192-7d79-9dfc-b193e1ef53a0',
title: '用户管理',
title_en: 'Account Management',
code: 'SystemSettingsAccountManagement',
description: '用户管理',
app_id: 2,
parent_id: 78,
menu_path: '/system-settings/account-management',
type: 1,
sort_key: 60,
created_at: '2025-12-27T12:30:29.779261+08:00',
},
{
id: 79,
identity: '019b5e12-0315-7d3a-b85c-1a0a557d6853',

View File

@@ -50,10 +50,10 @@ export const localMenuItems: MenuItem[] = [
{
id: 12070,
identity: '019ca000-0001-7000-8000-000000000070',
title: 'OPS 大屏管理',
title_en: 'OPS Big Screens',
code: 'ops:可视化大屏管理:ops大屏管理',
description: '大屏分组、权限、轮播、发布和快照管理',
title: '数据大屏管理',
title_en: 'Data Screen Management',
code: 'opsBigScreenManage',
description: '固定数据大屏、公开访问和轮播管理',
app_id: 2,
parent_id: 13,
menu_path: '/ops/big-screen',
@@ -67,10 +67,10 @@ export const localMenuItems: MenuItem[] = [
{
id: 14,
identity: '019b591d-00dc-7486-aa93-51e798d3253a',
title: '大屏管理',
title_en: 'My Components',
title: '自定义大屏设计',
title_en: 'Custom Screen Design',
code: 'ops:可视化大屏管理:我的组件',
description: '可视化大屏管理 - 我的组件',
description: '设计自定义数据大屏',
app_id: 2,
parent_id: 13,
menu_path: '/visual/component',
@@ -85,8 +85,8 @@ export const localMenuItems: MenuItem[] = [
{
id: 85,
identity: '019bf309-a961-7bba-a03d-83eb78a82437',
title: '已发布大屏列表',
title_en: 'View Publish',
title: '自定义大屏发布',
title_en: 'Custom Screen Publishing',
code: '已发布大屏列表',
app_id: 2,
parent_id: 13,
@@ -345,10 +345,10 @@ export const localMenuItems: MenuItem[] = [
{
id: 30,
identity: '019b591d-01d4-78b0-89ea-a6ba12914379',
title: '虚拟化监控',
title_en: 'Virtualization Monitoring',
title: '虚拟机监控',
title_en: 'Virtual Machine Monitoring',
code: 'ops:综合监控:虚拟化监控',
description: '综合监控 - 虚拟化监控',
description: '综合监控 - 虚拟机监控',
app_id: 2,
parent_id: 23,
menu_path: '/monitor/virtualization',
@@ -381,7 +381,7 @@ export const localMenuItems: MenuItem[] = [
title: '服务器硬件监控',
title_en: 'Server Hardware (OOB)',
code: 'ops:综合监控:服务器硬件监控',
description: '综合监控 - 服务器带外硬件(BMC/IPMI/Redfish 等,DC-Hardware)',
description: '综合监控 - 服务器带外硬件(BMC/IPMI/Redfish)',
app_id: 2,
parent_id: 23,
menu_path: '/monitor/host-hardware',
@@ -778,33 +778,17 @@ export const localMenuItems: MenuItem[] = [
created_at: '2025-12-26T13:23:52.110362+08:00',
children: [],
},
{
id: 40,
identity: '019b591d-026f-785d-b473-ac804133e251',
title: '告警模版',
title_en: 'Alert Template',
code: 'ops:告警管理:告警模版',
description: '告警管理 - 告警模版',
app_id: 2,
parent_id: 39,
menu_path: '/alert/template',
menu_icon: 'appstore',
type: 1,
sort_key: 7,
created_at: '2025-12-26T13:23:52.047548+08:00',
children: [],
},
{
id: 4001,
identity: '019b591d-026f-785d-b473-ac804133e252',
title: '告警模版编辑',
title_en: 'Alert Template Edit',
code: 'ops:告警管理:告警模版编辑',
description: '告警管理 - 告警模版编辑',
title: '告警策略编辑',
title_en: 'Alert Policy Edit',
code: 'ops:告警管理:告警策略编辑',
description: '告警管理 - 告警策略编辑',
app_id: 2,
parent_id: 39,
menu_path: '/alert/template/edit',
component: 'ops/pages/alert/template/edit/index',
menu_path: '/alert/setting/edit',
component: 'ops/pages/alert/setting/edit/index',
menu_icon: 'appstore',
type: 1,
sort_key: 7,
@@ -1252,6 +1236,93 @@ export const localMenuItems: MenuItem[] = [
},
],
},
{
id: 5000,
identity: '01a11f42-5000-7000-8000-000000000001',
title: '用户与权限',
title_en: 'Users and Permissions',
code: 'userPermissionManage',
description: '用户、组织机构、岗位、角色、通知组和告警责任人',
app_id: 2,
menu_path: '/user-permission/',
menu_icon: 'UserGroup',
type: 1,
sort_key: 12,
created_at: '2026-09-10T00:00:00+08:00',
children: [
{
id: 80,
identity: '019b5e12-8192-7d79-9dfc-b193e1ef53a0',
title: '用户管理',
title_en: 'User Management',
code: 'accountManage',
description: '用户归属一个部门和岗位标签,通过角色获得权限',
app_id: 2,
parent_id: 5000,
menu_path: '/user-permission/users',
component: 'ops/pages/user-permission/index',
type: 1,
sort_key: 1,
children: [],
},
{
id: 5001,
identity: '01a11f42-5001-7000-8000-000000000001',
title: '组织机构',
title_en: 'Organization',
code: 'organizationManage',
app_id: 2,
parent_id: 5000,
menu_path: '/user-permission/organization',
component: 'ops/pages/user-permission/index',
type: 1,
sort_key: 2,
children: [],
},
{
id: 5002,
identity: '01a11f42-5002-7000-8000-000000000001',
title: '角色权限',
title_en: 'Roles and Permissions',
code: 'roleManage',
app_id: 2,
parent_id: 5000,
menu_path: '/user-permission/roles',
component: 'ops/pages/user-permission/index',
type: 1,
sort_key: 3,
children: [],
},
{
id: 5003,
identity: '01a11f42-5003-7000-8000-000000000001',
title: '通知组',
title_en: 'Notification Groups',
code: 'notificationGroupManage',
app_id: 2,
parent_id: 5000,
menu_path: '/user-permission/notification-groups',
component: 'ops/pages/user-permission/index',
type: 1,
sort_key: 4,
children: [],
},
{
id: 5004,
identity: '01a11f42-5004-7000-8000-000000000001',
title: '告警责任人',
title_en: 'Alert Responsibility',
code: 'alertResponsibilityManage',
app_id: 2,
parent_id: 5000,
menu_path: '/user-permission/responsibility',
component: 'ops/pages/user-permission/index',
type: 1,
sort_key: 5,
children: [],
},
],
},
{
id: 78,
identity: '019b5dc5-d82f-7290-b805-f549db554120',
@@ -1297,21 +1368,6 @@ export const localMenuItems: MenuItem[] = [
created_at: '2025-12-27T12:31:02.556301+08:00',
children: [],
},
{
id: 80,
identity: '019b5e12-8192-7d79-9dfc-b193e1ef53a0',
title: '用户管理',
title_en: 'Account Management',
code: 'SystemSettingsAccountManagement',
description: '用户管理',
app_id: 2,
parent_id: 78,
menu_path: '/system-settings/account-management',
type: 1,
sort_key: 13,
created_at: '2025-12-27T12:30:29.779261+08:00',
children: [],
},
{
id: 79,
identity: '019b5e12-0315-7d3a-b85c-1a0a557d6853',