import BasicLayout from '../layouts/basicLayout.vue'
import PageLayout from '../layouts/pageLayout.vue'
export const ROUTE = [
  {
    path: '/',
    name: 'main',
    redirect: '/report',
    children: [
      {
        path: '/report',
        name: 'report',
        title: '报表中心',
        component: () => import('@views/report.vue')
      },
      {
        path: '/role',
        name: 'role',
        title: '角色管理',
        component: () => import('@views/role.vue')
      },
      {
        path: '/system-graph',
        name: 'system-graph',
        title: '系统架构图',
        component: () => import('@views/system-graph.vue')
      }
    ]
  },
  {
    path: '/login',
    name: 'login',
    title: '登陆',
    hidden: true,
    component: () => import('@views/login.vue')
  },
  {
    path: '/register/invitation',
    name: 'register',
    title: '注册',
    hidden: true,
    component: () => import('@views/register.vue')
  },
  {
    path: '/forget-password',
    name: 'forget-password',
    title: '忘记密码',
    hidden: true,
    component: () => import('@views/forget-password.vue')
  },
  {
    path: '/:catchAll(.*)',
    redirect: '/404',
    hidden: true
  },
  {
    path:'/demo',
    name:'demo',
     hidden: true,
    component: () => import('@views/demo.vue')
  },
  {
    path: '/document-preview',
    name: 'document-preview',
    title: '文档预览',
    hidden: true,
    component: () => import('@views/document-preview.vue')
  }
]
