routes.js 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255
  1. /*
  2. * @Author: your name
  3. * @Date: 2021-07-22 15:04:09
  4. * @LastEditTime: 2021-09-01 15:10:17
  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. path: '/platformMana/districtMana',
  43. name: '院区管理',
  44. icon: 'InsertRowLeftOutlined',
  45. component: './platformMana/districtMana/index',
  46. },
  47. ],
  48. },
  49. {
  50. path: '/baseSetting',
  51. name: '基础设置',
  52. icon: 'tool',
  53. routes: [
  54. {
  55. path: '/baseSetting/incomeCollectionSetting',
  56. name: '收入归集设置',
  57. icon: 'tool',
  58. component: './baseSetting/incomeCollectionSetting/index',
  59. },
  60. {
  61. path: '/baseSetting/reportProjectSetting',
  62. name: '报表项目设置',
  63. icon: 'tool',
  64. component: './baseSetting/reportProjectSetting/index',
  65. },
  66. {
  67. path: '/baseSetting/visitsAndBedDayCostSetting',
  68. name: '诊次/床日成本设置',
  69. icon: 'tool',
  70. component: './baseSetting/visitsAndBedDayCostSetting/index',
  71. },
  72. {
  73. path: '/baseSetting/wholeHospCostAndIncomeSet',
  74. name: '全院其他收支设置',
  75. icon: 'tool',
  76. component: './baseSetting/wholeHospCostAndIncomeSet/index',
  77. },
  78. ],
  79. },
  80. {
  81. path: '/costAccounting',
  82. name: '成本核算',
  83. icon: 'tool',
  84. routes: [
  85. {
  86. path: '/costAccounting/incomeCostDataImport',
  87. name: '收入成本数据导入',
  88. component: './costAccounting/incomeCostDataImport/index',
  89. },
  90. {
  91. path: '/costAccounting/beforeCollectionSearch',
  92. name: '归集前查询',
  93. component: './costAccounting/beforeCollectionSearch/index',
  94. },
  95. {
  96. path: '/costAccounting/incomeCollection',
  97. name: '收入归集',
  98. component: './costAccounting/incomeCollection/index',
  99. },
  100. {
  101. path: '/costAccounting/afterCollectionSearch',
  102. name: '归集后查询',
  103. component: './costAccounting/afterCollectionSearch/index',
  104. },
  105. {
  106. path: '/costAccounting/costShareParamsHandle',
  107. name: '月成本分摊参数值处理',
  108. component: './costAccounting/costShareParamsHandle/index',
  109. },
  110. {
  111. path: '/costAccounting/wholeHospIncomeAndCost',
  112. name: '全院其他收支',
  113. component: './costAccounting/wholeHospIncomeAndCost/index',
  114. },
  115. {
  116. path: '/costAccounting/beforeCostShareSearch',
  117. name: '成本分摊前查询',
  118. component: './costAccounting/beforeCostShareSearch/index',
  119. },
  120. {
  121. path: '/costAccounting/costShare',
  122. name: '成本分摊',
  123. component: './costAccounting/costShare/index',
  124. },
  125. {
  126. path: '/costAccounting/afterCostShareSearch',
  127. name: '成本分摊后查询',
  128. component: './costAccounting/afterCostShareSearch/index',
  129. },
  130. {
  131. path: '/costAccounting/costShareReportTable',
  132. name: '成本分摊报表',
  133. component: './costAccounting/costShareReportTable/index',
  134. },
  135. {
  136. path: '/costAccounting/wholeHospCostCalculate',
  137. name: '全院损益计算',
  138. component: './costAccounting/wholeHospCostCalculate/index',
  139. },
  140. {
  141. path: '/costAccounting/departmentCostCalculate',
  142. name: '科室损益计算',
  143. component: './costAccounting/departmentCostCalculate/index',
  144. },
  145. ],
  146. },
  147. {
  148. path: '/reportTableExport',
  149. name: '报表输出',
  150. icon: 'tool',
  151. routes: [
  152. {
  153. path: '/reportTableExport/departmentOperatingReport',
  154. name: '科室经营报表',
  155. icon: 'tool',
  156. component: './reportTableExport/departmentOperatingReport/index',
  157. },
  158. {
  159. path: '/reportTableExport/wholeHospOperatingReport',
  160. name: '全院经营报表',
  161. icon: 'tool',
  162. component: './reportTableExport/wholeHospOperatingReport/index',
  163. },
  164. ],
  165. },
  166. {
  167. path: '/UserMana',
  168. name: '用户管理',
  169. icon: 'tool',
  170. component: './UserMana/index',
  171. },
  172. // {
  173. // path: '/districtMana',
  174. // name: '院区管理',
  175. // icon: 'InsertRowLeftOutlined',
  176. // component: './districtMana/index',
  177. // },
  178. {
  179. path: '/apportionmentLevel',
  180. name: '分摊层级设置',
  181. icon: 'NodeExpandOutlined',
  182. component: './apportionmentLevel/index',
  183. },
  184. {
  185. path: '/DepartmentMana',
  186. name: '科室管理',
  187. icon: 'BorderOuterOutlined',
  188. component: './DepartmentMana/index',
  189. },
  190. {
  191. path: '/responsibilityCenter',
  192. name: '责任中心管理',
  193. icon: 'CopyrightOutlined',
  194. component: './responsibilityCenter/index',
  195. },
  196. {
  197. path: '/responsibilityCenterConnect',
  198. name: '责任中心对应',
  199. icon: 'CopyrightOutlined',
  200. component: './responsibilityCenterConnect/index',
  201. },
  202. {
  203. path: '/accountingSubject',
  204. name: '会计科目管理',
  205. icon: 'ProfileOutlined',
  206. component: './accountingSubject/index',
  207. },
  208. {
  209. path: '/costProjectMana',
  210. name: '成本收入项目管理',
  211. icon: 'AccountBookOutlined',
  212. component: './costProjectMana/index',
  213. },
  214. {
  215. path: '/accountingSubjectConnect',
  216. name: '会计科目对应',
  217. icon: 'ProfileOutlined',
  218. component: './accountingSubjectConnect/index',
  219. },
  220. {
  221. path: '/costAllocationParamsSetting',
  222. name: '成本分摊参数设置',
  223. icon: 'ControlOutlined',
  224. component: './costAllocationParamsSetting/index',
  225. },
  226. {
  227. path: '/costAllocationParamsConnect',
  228. name: '成本分摊参数设置对应',
  229. icon: 'ControlOutlined',
  230. component: './costAllocationParamsConnect/index',
  231. },
  232. {
  233. path: '/admin',
  234. name: 'admin',
  235. icon: 'crown',
  236. access: 'canAdmin',
  237. component: './Admin',
  238. routes: [
  239. {
  240. path: '/admin/sub-page',
  241. name: 'sub-page',
  242. icon: 'smile',
  243. component: './Welcome',
  244. },
  245. ],
  246. },
  247. {
  248. path: '/',
  249. redirect: '/costAccounting',
  250. },
  251. {
  252. component: './404',
  253. },
  254. ];