resourceGuard.js 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. export default {
  2. name: 'ResourceGuard',
  3. path: '/resource-guard',
  4. redirect: '/resource-guard/person-guard',
  5. meta: {
  6. title: '资源保障',
  7. sort: 3,
  8. isModule: true,
  9. alias: 'resourceManage',
  10. icon: 'resource',
  11. },
  12. children: [
  13. {
  14. name: 'PersonGuard',
  15. path: '/resource-guard/person-guard',
  16. redirect: '/resource-guard/person-guard/person-files',
  17. meta: {
  18. title: '人资保障',
  19. sort: 1,
  20. alias: 'humanManage',
  21. },
  22. children: [
  23. {
  24. name: 'PersonFiles',
  25. path: '/resource-guard/person-guard/person-files',
  26. component: () =>
  27. import(
  28. '@/views/resource-guard/person-guard/person-files/index.vue'
  29. ),
  30. meta: {
  31. title: '人员档案管理',
  32. sort: 1,
  33. alias: 'userArchives',
  34. icon: 'service-crm',
  35. },
  36. },
  37. {
  38. name: 'PersonAllocate',
  39. path: '/resource-guard/person-guard/person-allocate',
  40. component: () =>
  41. import(
  42. '@/views/resource-guard/person-guard/person-allocate/index.vue'
  43. ),
  44. meta: {
  45. title: '人员调配',
  46. sort: 2,
  47. alias: 'userAllocate',
  48. icon: 'service-crm',
  49. },
  50. },
  51. ],
  52. },
  53. {
  54. name: 'DeviceGuard',
  55. path: '/resource-guard/device-guard',
  56. redirect: '/resource-guard/device-guard/registration-query',
  57. meta: {
  58. title: '设备保障',
  59. sort: 2,
  60. alias: 'deviceManage',
  61. },
  62. children: [
  63. {
  64. name: 'RegistrationQuery',
  65. path: '/resource-guard/device-guard/registration-query',
  66. component: () =>
  67. import(
  68. '@/views/resource-guard/device-guard/registration-query/index.vue'
  69. ),
  70. meta: {
  71. title: '出入库登记查询',
  72. sort: 1,
  73. alias: 'deviceInOut',
  74. icon: 'service-crm',
  75. },
  76. },
  77. {
  78. name: 'DeviceMonitor',
  79. path: '/resource-guard/device-guard/device-monitor',
  80. component: () =>
  81. import(
  82. '@/views/resource-guard/device-guard/device-monitor/index.vue'
  83. ),
  84. meta: {
  85. title: '设备资源监控',
  86. sort: 2,
  87. alias: 'deviceControl',
  88. icon: 'service-crm',
  89. },
  90. },
  91. ],
  92. },
  93. ],
  94. };