routes.js 1 KB
Newer Older
wangdanlei's avatar
wangdanlei committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
/* routes-list */

// const APP_NAME = process.env.VUE_APP_NAME;

const App = () => import('./App.vue')

export default [
  {
    path: '/audit',
    component: App,
    name: 'audit',
    redirect: '/audit/daily',
    meta: { title: '日志管理', auth: true, icon: 'shitimoxing' },
    children: [
      {
        path: 'daily',
        name: 'auditDaily',
        component: () => import('@/views/daily/index'),
        meta: { title: '审计日志管理' }
      },
      {
        path: 'config',
        name: 'auditConfig',
        component: () => import('@/views/config/index'),
        meta: { title: '事件配置' }
      },
      {
        path: 'clear',
        name: 'auditClear',
wangdanlei's avatar
wangdanlei committed
30
        component: () => import('@/views/setThreshold/index'),
wangdanlei's avatar
wangdanlei committed
31
        meta: { title: '日志清除任务' }
wangdanlei's avatar
wangdanlei committed
32 33 34 35 36 37
      },
      {
        path: 'logExportRecord',
        name: 'logExportRecord',
        component: () => import('@/views/logExportRecord/index'),
        meta: { title: '审计日志导出记录' }
wangdanlei's avatar
wangdanlei committed
38 39 40 41
      }
    ]
  }
]