山西督察-superintend-distribute-web react
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

147 lines
4.3 KiB

  1. // 注释:hideInMenu参数控制菜单隐藏
  2. export default [
  3. {
  4. path: '/',
  5. component: '../layouts/BlankLayout',
  6. routes: [
  7. // {
  8. // path: '/user',
  9. // component: '../layouts/UserLayout',
  10. // routes: [
  11. // {
  12. // name: 'login',
  13. // path: '/user/login',
  14. // component: './User/login',
  15. // },
  16. // ],
  17. // },
  18. {
  19. path: '/',
  20. component: '../layouts/SecurityLayout',
  21. routes: [
  22. {
  23. path: '/resultdata',
  24. component: './ResultData',
  25. },
  26. {
  27. path:"/GZT",
  28. component:"./GZT"
  29. },
  30. {
  31. path: '/',
  32. component: '../layouts/BasicLayout',
  33. // authority: ['admin', 'user'],
  34. routes: [
  35. {
  36. path: '/',
  37. redirect: '/doingcases',
  38. },
  39. {
  40. name: '在办事项',
  41. path: '/doingcases',
  42. icon: 'BarsOutlined',
  43. component: './DoingCases',
  44. },
  45. {
  46. name: '已办事项',
  47. path: '/donecases',
  48. icon: 'AuditOutlined',
  49. component: './DoneCases',
  50. },
  51. {
  52. name: '进度查询',
  53. path: '/progresssearch',
  54. icon: 'ProfileOutlined',
  55. component: './ProgressSearch',
  56. },
  57. {
  58. name: '问题处理单查询',
  59. path: '/problemhandlingsearch',
  60. icon: 'ScheduleOutlined',
  61. hideInMenu: false, // 控制菜单隐藏
  62. component: './ProblemHandlingSearch',
  63. },
  64. // {
  65. // name: '督察专项',
  66. // path: '/superviseitem',
  67. // icon: 'ProjectOutlined',
  68. // component: './SuperviseItem',
  69. // },
  70. {
  71. name: '督察专项',
  72. path: '/superviseitem',
  73. icon: 'ProjectOutlined',
  74. routes: [
  75. {
  76. name: '专项审批',
  77. path: '/superviseitem/approve',
  78. icon: 'AuditOutlined',
  79. authority: ['bu'],
  80. component: './SuperviseItem/ApproveItem',
  81. },
  82. {
  83. name: '专项签收',
  84. path: '/superviseitem/check',
  85. icon: 'AuditOutlined',
  86. component: './SuperviseItem/CheckItem',
  87. },
  88. ],
  89. },
  90. {
  91. name: '模型审批',
  92. path: '/modelapprove',
  93. icon: 'SnippetsOutlined',
  94. routes: [
  95. {
  96. name: '模型分享',
  97. path: '/modelapprove/share',
  98. icon: 'AuditOutlined',
  99. component: './ModelApprove/Share',
  100. },
  101. {
  102. name: '省级上报',
  103. path: '/modelapprove/report',
  104. icon: 'AuditOutlined',
  105. component: './ModelApprove/Report',
  106. authority: ['bu', 'sheng'],
  107. },
  108. {
  109. name: '市级上报',
  110. path: '/modelapprove/reportshi',
  111. icon: 'AuditOutlined',
  112. component: './ModelApprove/Report',
  113. authority: ['sheng', 'shi'],
  114. },
  115. ],
  116. },
  117. {
  118. name: '系统配置',
  119. path: '/systemmanage',
  120. icon: 'SettingOutlined',
  121. authority: ['gly'],
  122. routes: [
  123. {
  124. name: '层级联动',
  125. path: '/systemmanage/levelmanage',
  126. icon: 'AuditOutlined',
  127. component: './SystemManage/LevelManage',
  128. },
  129. ],
  130. },
  131. {
  132. component: './404',
  133. },
  134. ],
  135. },
  136. {
  137. component: './404',
  138. },
  139. ],
  140. },
  141. ],
  142. },
  143. {
  144. component: './404',
  145. },
  146. ];