routes.js 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205
  1. /*
  2. * @Author: your name
  3. * @Date: 2021-07-22 15:04:09
  4. * @LastEditTime: 2021-08-23 10:56:02
  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. path: '/costAccounting/costShareParamsHandle',
  101. name: '月成本分摊参数值处理',
  102. component: './costAccounting/costShareParamsHandle/index',
  103. },
  104. {
  105. path: '/costAccounting/wholeHospIncomeAndCost',
  106. name: '全院其他收支',
  107. component: './costAccounting/wholeHospIncomeAndCost/index',
  108. },
  109. {
  110. path: '/costAccounting/beforeCostShareSearch',
  111. name: '成本分摊前查询',
  112. component: './costAccounting/beforeCostShareSearch/index',
  113. }
  114. ]
  115. },
  116. {
  117. path: '/UserMana',
  118. name: '用户管理',
  119. icon: 'tool',
  120. component: './UserMana/index',
  121. },
  122. {
  123. path: '/districtMana',
  124. name: '院区管理',
  125. icon: 'InsertRowLeftOutlined',
  126. component: './districtMana/index',
  127. },
  128. {
  129. path: '/apportionmentLevel',
  130. name: '分摊层级设置',
  131. icon: 'NodeExpandOutlined',
  132. component: './apportionmentLevel/index',
  133. },
  134. {
  135. path: '/DepartmentMana',
  136. name: '科室管理',
  137. icon: 'BorderOuterOutlined',
  138. component: './DepartmentMana/index',
  139. },
  140. {
  141. path: '/responsibilityCenter',
  142. name: '责任中心管理',
  143. icon: 'CopyrightOutlined',
  144. component: './responsibilityCenter/index',
  145. },
  146. {
  147. path: '/responsibilityCenterConnect',
  148. name: '责任中心对应',
  149. icon: 'CopyrightOutlined',
  150. component: './responsibilityCenterConnect/index',
  151. },
  152. {
  153. path: '/accountingSubject',
  154. name: '会计科目管理',
  155. icon: 'ProfileOutlined',
  156. component: './accountingSubject/index',
  157. },
  158. {
  159. path: '/costProjectMana',
  160. name: '成本收入项目管理',
  161. icon: 'AccountBookOutlined',
  162. component: './costProjectMana/index',
  163. },
  164. {
  165. path: '/accountingSubjectConnect',
  166. name: '会计科目对应',
  167. icon: 'ProfileOutlined',
  168. component: './accountingSubjectConnect/index',
  169. },
  170. {
  171. path: '/costAllocationParamsSetting',
  172. name: '成本分摊参数设置',
  173. icon: 'ControlOutlined',
  174. component: './costAllocationParamsSetting/index',
  175. },
  176. {
  177. path: '/costAllocationParamsConnect',
  178. name: '成本分摊参数设置对应',
  179. icon: 'ControlOutlined',
  180. component: './costAllocationParamsConnect/index',
  181. },
  182. {
  183. path: '/admin',
  184. name: 'admin',
  185. icon: 'crown',
  186. access: 'canAdmin',
  187. component: './Admin',
  188. routes: [
  189. {
  190. path: '/admin/sub-page',
  191. name: 'sub-page',
  192. icon: 'smile',
  193. component: './Welcome',
  194. },
  195. ],
  196. },
  197. {
  198. path: '/',
  199. redirect: '/costAccounting',
  200. },
  201. {
  202. component: './404',
  203. },
  204. ];