routes.js 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190
  1. /*
  2. * @Author: your name
  3. * @Date: 2021-07-22 15:04:09
  4. * @LastEditTime: 2021-08-12 09:59:23
  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: '/baseSetting',
  45. name: '基础设置',
  46. icon: 'tool',
  47. routes:[
  48. {
  49. path: '/baseSetting/incomeCollectionSetting',
  50. name: '收入归集设置',
  51. icon: 'tool',
  52. component: './baseSetting/incomeCollectionSetting/index',
  53. },
  54. {
  55. path: '/baseSetting/reportProjectSetting',
  56. name: '报表项目设置',
  57. icon: 'tool',
  58. component: './baseSetting/reportProjectSetting/index',
  59. },
  60. {
  61. path: '/baseSetting/visitsAndBedDayCostSetting',
  62. name: '诊次/床日成本设置',
  63. icon: 'tool',
  64. component: './baseSetting/visitsAndBedDayCostSetting/index',
  65. },
  66. {
  67. path: '/baseSetting/wholeHospCostAndIncomeSet',
  68. name: '全院其他收支设置',
  69. icon: 'tool',
  70. component: './baseSetting/wholeHospCostAndIncomeSet/index',
  71. },
  72. ]
  73. },
  74. {
  75. path: '/costAccounting',
  76. name: '成本核算',
  77. icon: 'tool',
  78. routes:[
  79. {
  80. path: '/costAccounting/incomeCostDataImport',
  81. name: '收入成本数据导入',
  82. component: './costAccounting/incomeCostDataImport/index',
  83. },
  84. {
  85. path: '/costAccounting/beforeCollectionSearch',
  86. name: '归集前查询',
  87. component: './costAccounting/beforeCollectionSearch/index',
  88. },
  89. {
  90. path: '/costAccounting/incomeCollection',
  91. name: '收入归集',
  92. component: './costAccounting/incomeCollection/index',
  93. },
  94. {
  95. path: '/costAccounting/afterCollectionSearch',
  96. name: '归集后查询',
  97. component: './costAccounting/afterCollectionSearch/index',
  98. }
  99. ]
  100. },
  101. {
  102. path: '/UserMana',
  103. name: '用户管理',
  104. icon: 'tool',
  105. component: './UserMana/index',
  106. },
  107. {
  108. path: '/districtMana',
  109. name: '院区管理',
  110. icon: 'InsertRowLeftOutlined',
  111. component: './districtMana/index',
  112. },
  113. {
  114. path: '/apportionmentLevel',
  115. name: '分摊层级设置',
  116. icon: 'NodeExpandOutlined',
  117. component: './apportionmentLevel/index',
  118. },
  119. {
  120. path: '/DepartmentMana',
  121. name: '科室管理',
  122. icon: 'BorderOuterOutlined',
  123. component: './DepartmentMana/index',
  124. },
  125. {
  126. path: '/responsibilityCenter',
  127. name: '责任中心管理',
  128. icon: 'CopyrightOutlined',
  129. component: './responsibilityCenter/index',
  130. },
  131. {
  132. path: '/responsibilityCenterConnect',
  133. name: '责任中心对应',
  134. icon: 'CopyrightOutlined',
  135. component: './responsibilityCenterConnect/index',
  136. },
  137. {
  138. path: '/accountingSubject',
  139. name: '会计科目管理',
  140. icon: 'ProfileOutlined',
  141. component: './accountingSubject/index',
  142. },
  143. {
  144. path: '/costProjectMana',
  145. name: '成本收入项目管理',
  146. icon: 'AccountBookOutlined',
  147. component: './costProjectMana/index',
  148. },
  149. {
  150. path: '/accountingSubjectConnect',
  151. name: '会计科目对应',
  152. icon: 'ProfileOutlined',
  153. component: './accountingSubjectConnect/index',
  154. },
  155. {
  156. path: '/costAllocationParamsSetting',
  157. name: '成本分摊参数设置',
  158. icon: 'ControlOutlined',
  159. component: './costAllocationParamsSetting/index',
  160. },
  161. {
  162. path: '/costAllocationParamsConnect',
  163. name: '成本分摊参数设置对应',
  164. icon: 'ControlOutlined',
  165. component: './costAllocationParamsConnect/index',
  166. },
  167. {
  168. path: '/admin',
  169. name: 'admin',
  170. icon: 'crown',
  171. access: 'canAdmin',
  172. component: './Admin',
  173. routes: [
  174. {
  175. path: '/admin/sub-page',
  176. name: 'sub-page',
  177. icon: 'smile',
  178. component: './Welcome',
  179. },
  180. ],
  181. },
  182. {
  183. path: '/',
  184. redirect: '/UserMana',
  185. },
  186. {
  187. component: './404',
  188. },
  189. ];