🔨 前端升级.

This commit is contained in:
lijiahangmax
2025-09-24 15:54:01 +08:00
parent e67ee60361
commit 8aa8cda677
67 changed files with 5102 additions and 206 deletions

View File

@@ -17,6 +17,16 @@ const MONITOR: AppRouteRecordRaw = {
path: '/monitor/monitor-host',
component: () => import('@/views/monitor/monitor-host/index.vue'),
},
{
name: 'alarmPolicy',
path: '/monitor/alarm-policy',
component: () => import('@/views/monitor/alarm-policy/index.vue'),
},
{
name: 'alarmEvent',
path: '/monitor/alarm-event',
component: () => import('@/views/monitor/alarm-event/index.vue'),
},
{
name: 'monitorDetail',
path: '/monitor/detail',
@@ -32,6 +42,21 @@ const MONITOR: AppRouteRecordRaw = {
},
component: () => import('@/views/monitor/monitor-detail/index.vue'),
},
{
name: 'alarmRule',
path: '/monitor/alarm-rule',
meta: {
// 固定到 tab
noAffix: false,
// 是否允许打开多个 tab
multipleTab: true,
// 名称模板
localeTemplate: (route: RouteLocationNormalized) => {
return `${route.meta.locale} - ${route.query.name || ''}`;
},
},
component: () => import('@/views/monitor/alarm-rule/index.vue'),
},
],
};

View File

@@ -21,6 +21,11 @@ const SYSTEM: AppRouteRecordRaw = {
path: '/system/dict-value',
component: () => import('@/views/system/dict-value/index.vue'),
},
{
name: 'notifyTemplate',
path: '/system/notify-template',
component: () => import('@/views/system/notify-template/index.vue'),
},
{
name: 'systemSetting',
path: '/system/setting',