import { AlertOutlined } from '@ant-design/icons-vue'
export default [
  {
    path: '/alarm',
    name: 'alarm',
    redirect: '/alarm/template',
    meta: {
      title: '告警管理',
      sort: 3,
      icon: AlertOutlined,
      isFullScreen: false,
      keepAlive: false,
    },
    children: [
      {
        path: '/alarm/template',
        name: 'alarmTemplate',
        component: () => import('@/views/alarm/template/index.vue'),
        meta: { title: '告警模板', sort: 1, isFullScreen: false, keepAlive: true },
      },
      {
        path: '/alarm/plan',
        name: 'alarmPlan',
        component: () => import('@/views/alarm/plan/index.vue'),
        meta: { title: '告警计划', sort: 2, isFullScreen: false, keepAlive: true, hidden: true },
      },
      {
        path: '/alarm/history',
        name: 'alarmHistory',
        component: () => import('@/views/alarm/history/index.vue'),
        meta: { title: '告警历史', sort: 3, isFullScreen: false, keepAlive: true, hidden: false },
      },
    ],
  },
]
