workforce.js 2.1KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. import Layout from '@/views/layout/Layout'
  2. export default {
  3. path: '/workforce',
  4. component: Layout,
  5. redirect: 'noredirect',
  6. name: 'workforce',
  7. alwaysShow: true,
  8. meta: {
  9. title: 'workforce',
  10. icon: 'paiban'
  11. },
  12. children: [{
  13. path: '/workforce/appointment',
  14. component: () => import('@/xt_pages/workforce/appointment'),
  15. name: 'appointment',
  16. meta: {
  17. title: 'appointment',
  18. noCache: true
  19. }
  20. },
  21. {
  22. path: '/workforce/sign',
  23. component: () => import('@/xt_pages/workforce/sign'),
  24. hidden: true,
  25. is_menu: false,
  26. name: 'workforcesign',
  27. meta: {
  28. title: 'sign',
  29. noCache: true
  30. }
  31. },
  32. {
  33. path: '/workforce/remind',
  34. component: () => import('@/xt_pages/workforce/remind'),
  35. name: 'remind',
  36. meta: {
  37. title: 'remind',
  38. noCache: true
  39. }
  40. },
  41. {
  42. path: '/workforce/template',
  43. component: () => import('@/xt_pages/workforce/template'),
  44. name: 'workforce_template',
  45. hidden: true,
  46. is_menu: false,
  47. meta: {
  48. title: 'workforce_template',
  49. noCache: true
  50. }
  51. },
  52. {
  53. path: '/workforce/schedule/print',
  54. component: () => import('@/xt_pages/workforce/schedule_print'),
  55. name: 'schedule_print',
  56. hidden: true,
  57. is_menu: false,
  58. meta: {
  59. title: 'schedule_print',
  60. noCache: true
  61. }
  62. },
  63. {
  64. path: '/schedule/remind/print',
  65. component: () => import('@/xt_pages/workforce/remind_print'),
  66. name: 'remind_print',
  67. hidden: true,
  68. is_menu: false,
  69. meta: {
  70. title: 'remind_print',
  71. noCache: true
  72. }
  73. },
  74. {
  75. path: '/schedule/remind/print/next',
  76. component: () => import('@/xt_pages/workforce/next_remind_print'),
  77. name: 'next_remind_print',
  78. hidden: true,
  79. is_menu: false,
  80. meta: {
  81. title: 'next_remind_print',
  82. noCache: true
  83. }
  84. },
  85. {
  86. path: '/schedule/remind/print/setting',
  87. component: () => import('@/xt_pages/workforce/remind_print_setting'),
  88. name: 'remind_print_setting',
  89. hidden: true,
  90. is_menu: false,
  91. meta: {
  92. title: 'remind_print_setting',
  93. noCache: true
  94. }
  95. },
  96. ]
  97. }