system.js 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. /** When your routing table is too long, you can split it into small modules**/
  2. import Layout from '@/layout'
  3. const systemRouter = {
  4. path: '/system',
  5. component: Layout,
  6. redirect: '/system/quartz',
  7. name: 'system',
  8. meta: {
  9. title: '系统管理',
  10. icon: 'system'
  11. },
  12. children: [
  13. // {
  14. // path: 'jobClass',
  15. // component: () => import('@/views/quartz/JobClass/index'),
  16. // name: 'jobClass',
  17. // meta: {title: '定时任务初始化', noCache: true},
  18. // sign: 'currency'
  19. // },
  20. {
  21. path: 'quartz',
  22. component: () => import('@/views/quartz/index'),
  23. name: 'quartz',
  24. meta: {title: '定时任务', noCache: true},
  25. sign: 'currency'
  26. },
  27. {
  28. path: 'systemfile',
  29. component: () => import('@/views/systemfile/LogFile'),
  30. name: 'systemfile',
  31. meta: {title: '系统文件', noCache: true},
  32. sign: 'currency'
  33. },
  34. {
  35. path: 'systemuser',
  36. component: () => import('@/views/console/sysUser/index'),
  37. name: 'systemuser',
  38. meta: {title: '用户管理', noCache: true},
  39. sign: 'admin'
  40. }
  41. ]
  42. }
  43. export default systemRouter