export default [
  {
    path: '/user',
    layout: false,
    routes: [
      {
        path: '/user',
        routes: [
          {
            name: 'login',
            path: '/user/login',
            component: '@/pages/user/Login',
          },
        ],
      },
      {
        component: '@/pages/404',
      },
    ],
  },
  {
    path: '/',
    name: '工作台',//暂定
    redirect: '/invoiceFill',
    hideInMenu: true,
  },  
  {
    path: '/invoiceFill',
    name: '班级列表',
    icon: 'ProfileOutlined',
    component: '@/pages/invoiceFill',    
  },
  {
    path: '/invoiceFill/edit.jsx',
    name: '班级编辑',
    icon: 'ProfileOutlined',
    component: '@/pages/invoiceFill/edit.jsx',
    hideInMenu:true
  },
  {
    path: '/invoiceDetail',
    name: '报销明细列表',
    icon: 'ProfileOutlined',
    component: '@/pages/invoiceDetail',    
  },
  {
    path: '/',
    redirect: '/welcome',
  },
  {
    component: './404',
  },
];
