routes.js 7.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289
  1. /*
  2. * @Author: your name
  3. * @Date: 2021-07-22 15:04:09
  4. * @LastEditTime: 2022-10-11 11:12:48
  5. * @LastEditors: code4eat awesomedema@gmail.com
  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. path: '/costAccounting/unitCostCalculate',
  147. name: '单位成本计算',
  148. component: './costAccounting/departmentCostCalculate/index',
  149. },
  150. {
  151. path: '/costAccounting/zhenciCostCalculate',
  152. name: '诊次成本计算',
  153. component: './costAccounting/departmentCostCalculate/index',
  154. },
  155. {
  156. path: '/costAccounting/chuangriCostCalculate',
  157. name: '床日成本计算',
  158. component: './costAccounting/departmentCostCalculate/index',
  159. },
  160. ],
  161. },
  162. {
  163. path: '/reportTableExport',
  164. name: '报表输出',
  165. icon: 'tool',
  166. routes: [
  167. {
  168. path: '/reportTableExport/departmentOperatingReport',
  169. name: '科室经营报表',
  170. icon: 'tool',
  171. component: './reportTableExport/departmentOperatingReport/index',
  172. },
  173. {
  174. path: '/reportTableExport/unitCostReport',
  175. name: '单位成本报表',
  176. icon: 'tool',
  177. component: './reportTableExport/departmentOperatingReport/index',
  178. },
  179. {
  180. path: '/reportTableExport/zhenciCostReport',
  181. name: '诊次成本报表',
  182. icon: 'tool',
  183. component: './reportTableExport/departmentOperatingReport/index',
  184. },
  185. {
  186. path: '/reportTableExport/chuangriCostReport',
  187. name: '床日成本报表',
  188. icon: 'tool',
  189. component: './reportTableExport/departmentOperatingReport/index',
  190. },
  191. {
  192. path: '/reportTableExport/wholeHospOperatingReport',
  193. name: '全院经营报表',
  194. icon: 'tool',
  195. component: './reportTableExport/wholeHospOperatingReport/index',
  196. },
  197. ],
  198. },
  199. {
  200. path: '/UserMana',
  201. name: '用户管理',
  202. icon: 'tool',
  203. component: './UserMana/index',
  204. },
  205. // {
  206. // path: '/districtMana',
  207. // name: '院区管理',
  208. // icon: 'InsertRowLeftOutlined',
  209. // component: './districtMana/index',
  210. // },
  211. {
  212. path: '/apportionmentLevel',
  213. name: '分摊层级设置',
  214. icon: 'NodeExpandOutlined',
  215. component: './apportionmentLevel/index',
  216. },
  217. {
  218. path: '/DepartmentMana',
  219. name: '科室管理',
  220. icon: 'BorderOuterOutlined',
  221. component: './DepartmentMana/index',
  222. },
  223. {
  224. path: '/responsibilityCenter',
  225. name: '责任中心管理',
  226. icon: 'CopyrightOutlined',
  227. component: './responsibilityCenter/index',
  228. },
  229. {
  230. path: '/responsibilityCenterConnect',
  231. name: '责任中心对应',
  232. icon: 'CopyrightOutlined',
  233. component: './responsibilityCenterConnect/index',
  234. },
  235. {
  236. path: '/accountingSubject',
  237. name: '会计科目管理',
  238. icon: 'ProfileOutlined',
  239. component: './accountingSubject/index',
  240. },
  241. {
  242. path: '/costProjectMana',
  243. name: '成本收入项目管理',
  244. icon: 'AccountBookOutlined',
  245. component: './costProjectMana/index',
  246. },
  247. {
  248. path: '/accountingSubjectConnect',
  249. name: '会计科目对应',
  250. icon: 'ProfileOutlined',
  251. component: './accountingSubjectConnect/index',
  252. },
  253. {
  254. path: '/costAllocationParamsSetting',
  255. name: '成本分摊参数设置',
  256. icon: 'ControlOutlined',
  257. component: './costAllocationParamsSetting/index',
  258. },
  259. {
  260. path: '/costAllocationParamsConnect',
  261. name: '成本分摊参数设置对应',
  262. icon: 'ControlOutlined',
  263. component: './costAllocationParamsConnect/index',
  264. },
  265. {
  266. path: '/admin',
  267. name: 'admin',
  268. icon: 'crown',
  269. access: 'canAdmin',
  270. component: './Admin',
  271. routes: [
  272. {
  273. path: '/admin/sub-page',
  274. name: 'sub-page',
  275. icon: 'smile',
  276. component: './Welcome',
  277. },
  278. ],
  279. },
  280. {
  281. path: '/',
  282. redirect: '/costAccounting',
  283. },
  284. {
  285. component: './404',
  286. },
  287. ];