routes.js 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137
  1. /*
  2. * @Author: your name
  3. * @Date: 2021-07-22 15:04:09
  4. * @LastEditTime: 2021-08-03 15:14:45
  5. * @LastEditors: Please set LastEditors
  6. * @Description: In User Settings Edit
  7. * @FilePath: /TracerMethodology_PC/config/routes.js
  8. */
  9. export default [
  10. {
  11. path: '/user',
  12. layout: false,
  13. routes: [
  14. {
  15. path: '/user',
  16. routes: [
  17. {
  18. name: 'login',
  19. path: '/user/login',
  20. component: './user/Login',
  21. },
  22. ],
  23. },
  24. ],
  25. },
  26. {
  27. path: '/platformMana',
  28. name: '平台系统管理',
  29. icon: 'smile',
  30. routes:[
  31. {
  32. name: '角色管理',
  33. path: '/platformMana/roleManage',
  34. component: './platformMana/roleManage/index',
  35. },
  36. {
  37. name: '菜单管理',
  38. path: '/platformMana/menuManage',
  39. component: './platformMana/menuManage/index',
  40. }
  41. ]
  42. },
  43. {
  44. path: '/UserMana',
  45. name: '用户管理',
  46. icon: 'tool',
  47. component: './UserMana/index',
  48. },
  49. // {
  50. // path: '/districtMana',
  51. // name: '院区管理',
  52. // icon: 'InsertRowLeftOutlined',
  53. // component: './districtMana/index',
  54. // },
  55. {
  56. path: '/apportionmentLevel',
  57. name: '分摊层级设置',
  58. icon: 'NodeExpandOutlined',
  59. component: './apportionmentLevel/index',
  60. },
  61. {
  62. path: '/DepartmentMana',
  63. name: '科室管理',
  64. icon: 'BorderOuterOutlined',
  65. component: './DepartmentMana/index',
  66. },
  67. {
  68. path: '/responsibilityCenter',
  69. name: '责任中心管理',
  70. icon: 'CopyrightOutlined',
  71. component: './responsibilityCenter/index',
  72. },
  73. {
  74. path: '/responsibilityCenterConnect',
  75. name: '责任中心对应',
  76. icon: 'CopyrightOutlined',
  77. component: './responsibilityCenterConnect/index',
  78. },
  79. {
  80. path: '/accountingSubject',
  81. name: '会计科目管理',
  82. icon: 'ProfileOutlined',
  83. component: './accountingSubject/index',
  84. },
  85. {
  86. path: '/costProjectMana',
  87. name: '成本收入项目管理',
  88. icon: 'AccountBookOutlined',
  89. component: './costProjectMana/index',
  90. },
  91. {
  92. path: '/accountingSubjectConnect',
  93. name: '会计科目对应',
  94. icon: 'ProfileOutlined',
  95. component: './accountingSubjectConnect/index',
  96. },
  97. {
  98. path: '/costAllocationParamsSetting',
  99. name: '成本分摊参数设置',
  100. icon: 'ControlOutlined',
  101. component: './costAllocationParamsSetting/index',
  102. },
  103. {
  104. path: '/costAllocationParamsConnect',
  105. name: '成本分摊参数对应',
  106. icon: 'ClusterOutlined',
  107. component: './costAllocationParamsConnect/index',
  108. },
  109. {
  110. path: '/admin',
  111. name: 'admin',
  112. icon: 'crown',
  113. access: 'canAdmin',
  114. component: './Admin',
  115. routes: [
  116. {
  117. path: '/admin/sub-page',
  118. name: 'sub-page',
  119. icon: 'smile',
  120. component: './Welcome',
  121. },
  122. ],
  123. },
  124. // {
  125. // name: 'list.table-list',
  126. // icon: 'table',
  127. // path: '/list',
  128. // component: './TableList',
  129. // },
  130. {
  131. path: '/',
  132. redirect: '/UserMana',
  133. },
  134. {
  135. component: './404',
  136. },
  137. ];