山西督察-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.

155 lines
4.5 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:"/ZBSX",
  28. component:"./ZBSX"
  29. },
  30. {
  31. path:"/YBSX",
  32. component:"./YBSX"
  33. },
  34. {
  35. path:"/JDCX",
  36. component:"./JDCX"
  37. },
  38. {
  39. path: '/',
  40. component: '../layouts/BasicLayout',
  41. // authority: ['admin', 'user'],
  42. routes: [
  43. {
  44. path: '/',
  45. redirect: '/doingcases',
  46. },
  47. {
  48. name: '在办事项',
  49. path: '/doingcases',
  50. icon: 'BarsOutlined',
  51. component: './DoingCases',
  52. },
  53. {
  54. name: '已办事项',
  55. path: '/donecases',
  56. icon: 'AuditOutlined',
  57. component: './DoneCases',
  58. },
  59. {
  60. name: '进度查询',
  61. path: '/progresssearch',
  62. icon: 'ProfileOutlined',
  63. component: './ProgressSearch',
  64. },
  65. {
  66. name: '问题处理单查询',
  67. path: '/problemhandlingsearch',
  68. icon: 'ScheduleOutlined',
  69. hideInMenu: false, // 控制菜单隐藏
  70. component: './ProblemHandlingSearch',
  71. },
  72. // {
  73. // name: '督察专项',
  74. // path: '/superviseitem',
  75. // icon: 'ProjectOutlined',
  76. // component: './SuperviseItem',
  77. // },
  78. {
  79. name: '督察专项',
  80. path: '/superviseitem',
  81. icon: 'ProjectOutlined',
  82. routes: [
  83. {
  84. name: '专项审批',
  85. path: '/superviseitem/approve',
  86. icon: 'AuditOutlined',
  87. authority: ['bu'],
  88. component: './SuperviseItem/ApproveItem',
  89. },
  90. {
  91. name: '专项签收',
  92. path: '/superviseitem/check',
  93. icon: 'AuditOutlined',
  94. component: './SuperviseItem/CheckItem',
  95. },
  96. ],
  97. },
  98. {
  99. name: '模型审批',
  100. path: '/modelapprove',
  101. icon: 'SnippetsOutlined',
  102. routes: [
  103. {
  104. name: '模型分享',
  105. path: '/modelapprove/share',
  106. icon: 'AuditOutlined',
  107. component: './ModelApprove/Share',
  108. },
  109. {
  110. name: '省级上报',
  111. path: '/modelapprove/report',
  112. icon: 'AuditOutlined',
  113. component: './ModelApprove/Report',
  114. authority: ['bu', 'sheng'],
  115. },
  116. {
  117. name: '市级上报',
  118. path: '/modelapprove/reportshi',
  119. icon: 'AuditOutlined',
  120. component: './ModelApprove/Report',
  121. authority: ['sheng', 'shi'],
  122. },
  123. ],
  124. },
  125. {
  126. name: '系统配置',
  127. path: '/systemmanage',
  128. icon: 'SettingOutlined',
  129. authority: ['gly'],
  130. routes: [
  131. {
  132. name: '层级联动',
  133. path: '/systemmanage/levelmanage',
  134. icon: 'AuditOutlined',
  135. component: './SystemManage/LevelManage',
  136. },
  137. ],
  138. },
  139. {
  140. component: './404',
  141. },
  142. ],
  143. },
  144. {
  145. component: './404',
  146. },
  147. ],
  148. },
  149. ],
  150. },
  151. {
  152. component: './404',
  153. },
  154. ];