🔨 前端升级.
This commit is contained in:
@@ -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'),
|
||||
},
|
||||
],
|
||||
};
|
||||
|
||||
|
||||
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user