main-routing.module.ts 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315
  1. import { NgModule } from "@angular/core";
  2. import { Routes, RouterModule } from "@angular/router";
  3. import { MainComponent } from "./main.component";
  4. const routes: Routes = [
  5. {
  6. path: "",
  7. component: MainComponent,
  8. children: [
  9. // 默认跳转到主页
  10. {
  11. path: "",
  12. redirectTo: "home",
  13. pathMatch: "full",
  14. },
  15. // 主页
  16. {
  17. path: "home",
  18. loadChildren: () => import("../home/home.module").then((m) => m.HomeModule),
  19. },
  20. // 班次管理
  21. {
  22. path: "classesManagement",
  23. loadChildren: () => import("../classes-management/classes-management.module").then((m) => m.ClassesManagementModule),
  24. },
  25. // 节假日管理
  26. {
  27. path: "holidaysManagement",
  28. loadChildren: () => import("../holidays-management/holidays-management.module").then((m) => m.HolidaysManagementModule),
  29. },
  30. // 分组管理
  31. {
  32. path: "groupManagement",
  33. loadChildren: () => import("../group-management/group-management.module").then((m) => m.GroupManagementModule),
  34. },
  35. // 院区管理
  36. {
  37. path: "hospitalManagement",
  38. loadChildren: () => import("../hospital-management/hospital-management.module").then((m) => m.HospitalManagementModule),
  39. },
  40. // 微信配置
  41. {
  42. path: "wechatConfig",
  43. loadChildren: () => import("../wechat-config/wechat-config.module").then((m) => m.WechatConfigModule),
  44. },
  45. // 系统配置
  46. {
  47. path: "sysConfig",
  48. loadChildren: () => import("../sys-config/sys-config.module").then((m) => m.SysConfigModule),
  49. },
  50. // 数据字典
  51. {
  52. path: "dataDictionary",
  53. loadChildren: () => import("../data-dictionary/data-dictionary.module").then((m) => m.DataDictionaryModule),
  54. },
  55. // 科室管理
  56. {
  57. path: "officeManagement",
  58. loadChildren: () => import("../office-management/office-management.module").then((m) => m.OfficeManagementModule),
  59. },
  60. // 任务类型管理
  61. {
  62. path: "taskTypeManagement",
  63. loadChildren: () => import("../task-type-management/task-type-management.module").then((m) => m.TaskTypeManagementModule),
  64. },
  65. // 血制品页面控制
  66. {
  67. path: "bloodProductsConfig",
  68. loadChildren: () => import("../blood-products-config/blood-products-config.module").then((m) => m.BloodProductsConfigModule),
  69. },
  70. // 检查页面控制
  71. {
  72. path: "inspectAndPatientTransportConfig",
  73. loadChildren: () => import("../inspect-and-patient-transport-config/inspect-and-patient-transport-config.module").then((m) => m.InspectAndPatientTransportConfigModule),
  74. },
  75. // 手术页面控制
  76. {
  77. path: "operationConfig",
  78. loadChildren: () => import("../operation-config/operation-config.module").then((m) => m.OperationConfigModule),
  79. },
  80. // 工作分配方案列表
  81. {
  82. path: "workAssignment",
  83. loadChildren: () => import("../work-assignment/work-assignment.module").then((m) => m.WorkAssignmentModule),
  84. },
  85. // 老工作分配方案
  86. {
  87. path: "jobAssignment",
  88. loadChildren: () => import("../job-assignment/job-assignment.module").then((m) => m.JobAssignmentModule),
  89. },
  90. // 工作分配方案快速组合
  91. {
  92. path: "quickCombination",
  93. loadChildren: () => import("../quick-combination/quick-combination.module").then((m) => m.QuickCombinationModule),
  94. },
  95. // 用户管理
  96. {
  97. path: "usersManagement",
  98. loadChildren: () => import("../users-management/users-management.module").then((m) => m.UsersManagementModule),
  99. },
  100. // 临床用户
  101. {
  102. path: "clinicalUsersManagement",
  103. loadChildren: () => import("../clinical-users-management/clinical-users-management.module").then((m) => m.ClinicalUsersManagementModule),
  104. },
  105. // TAB自定义
  106. {
  107. path: "tabCustom",
  108. loadChildren: () => import("../tab-custom/tab-custom.module").then((m) => m.TabCustomModule),
  109. },
  110. // 权限管理
  111. {
  112. path: "jurisdictionManagement",
  113. loadChildren: () => import("../jurisdiction-management/jurisdiction-management.module").then((m) => m.JurisdictionManagementModule),
  114. },
  115. // 意见箱
  116. {
  117. path: "adviceManagement",
  118. loadChildren: () => import("../advice-management/advice-management.module").then((m) => m.AdviceManagementModule),
  119. },
  120. // 差评处理
  121. {
  122. path: "appraiseManagement",
  123. loadChildren: () => import("../appraise-management/appraise-management.module").then((m) => m.AppraiseManagementModule),
  124. },
  125. // 工单列表
  126. {
  127. path: "orderManagement",
  128. loadChildren: () => import("../order-management/order-management.module").then((m) => m.OrderManagementModule),
  129. },
  130. // 核酸接收列表
  131. {
  132. path: "nucleicAcidCollection",
  133. loadChildren: () => import("../nucleic-acid-collection/nucleic-acid-collection.module").then((m) => m.NucleicAcidCollectionModule),
  134. },
  135. // 表单管理列表
  136. {
  137. path: "formManagement",
  138. loadChildren: () => import("../form-management/form-management.module").then((m) => m.FormManagementModule),
  139. },
  140. // 表单管理列表详情
  141. {
  142. path: "formManagementDetail/:id",
  143. loadChildren: () => import("../form-management-detail/form-management-detail.module").then((m) => m.FormManagementDetailModule),
  144. },
  145. // 统计分析-综合统计
  146. {
  147. path: "compreStatistics",
  148. loadChildren: () => import("../compre-statistics/compre-statistics.module").then((m) => m.CompreStatisticsModule),
  149. },
  150. // 统计分析-任务类型统计
  151. {
  152. path: "taskTypeStatistics",
  153. loadChildren: () => import("../task-type-statistics/task-type-statistics.module").then((m) => m.TaskTypeStatisticsModule),
  154. },
  155. // 统计分析-科室统计
  156. {
  157. path: "deptStatistics",
  158. loadChildren: () => import("../dept-statistics/dept-statistics.module").then((m) => m.DeptStatisticsModule),
  159. },
  160. // 统计分析-工单统计
  161. {
  162. path: "orderStatistics",
  163. loadChildren: () => import("../order-statistics/order-statistics.module").then((m) => m.OrderStatisticsModule),
  164. },
  165. // 统计分析-支助人员统计
  166. {
  167. path: "workerStatistics",
  168. loadChildren: () => import("../worker-statistics/worker-statistics.module").then((m) => m.WorkerStatisticsModule),
  169. },
  170. // 轮巡计划列表
  171. {
  172. path: "roundRobin",
  173. loadChildren: () => import("../round-robin/round-robin.module").then((m) => m.RoundRobinModule),
  174. },
  175. // 快捷建单列表
  176. {
  177. path: "shortcutBuildOrders",
  178. loadChildren: () => import("../shortcut-build-orders/shortcut-build-orders.module").then((m) => m.ShortcutBuildOrdersModule),
  179. },
  180. // 通话记录列表
  181. {
  182. path: "callLog",
  183. loadChildren: () => import("../call-log/call-log.module").then((m) => m.CallLogModule),
  184. },
  185. // 定时消息发送列表
  186. {
  187. path: "timingMessageSending",
  188. loadChildren: () => import("../timing-message-sending/timing-message-sending.module").then((m) => m.TimingMessageSendingModule),
  189. },
  190. // 定时下班
  191. {
  192. path: "regularOffDuty",
  193. loadChildren: () => import("../regular-off-duty/regular-off-duty.module").then((m) => m.RegularOffDutyModule),
  194. },
  195. // 标本信息
  196. {
  197. path: "specimenSearch",
  198. loadChildren: () => import("../specimen-search/specimen-search.module").then((m) => m.SpecimenSearchModule),
  199. },
  200. // 检查信息
  201. {
  202. path: "inspectSearch",
  203. loadChildren: () => import("../inspect-search/inspect-search.module").then((m) => m.InspectSearchModule),
  204. },
  205. // 患者信息
  206. {
  207. path: "patientSearch",
  208. loadChildren: () => import("../patient-search/patient-search.module").then((m) => m.PatientSearchModule),
  209. },
  210. // 药品信息
  211. {
  212. path: "drugSearch",
  213. loadChildren: () => import("../drug-search/drug-search.module").then((m) => m.DrugSearchModule),
  214. },
  215. // 静配信息
  216. {
  217. path: "jpSearch",
  218. loadChildren: () => import("../jp-search/jp-search.module").then((m) => m.JpSearchModule),
  219. },
  220. // 血制品信息
  221. {
  222. path: "bloodSearch",
  223. loadChildren: () => import("../blood-search/blood-search.module").then((m) => m.BloodSearchModule),
  224. },
  225. // 数据核对
  226. {
  227. path: "infoSearch",
  228. loadChildren: () => import("../info-search/info-search.module").then((m) => m.InfoSearchModule),
  229. },
  230. // 院区系统配置
  231. {
  232. path: "hospitalConfig",
  233. loadChildren: () => import("../hospital-config/hospital-config.module").then((m) => m.HospitalConfigModule),
  234. },
  235. // 楼栋绩效
  236. {
  237. path: "buildingDistance",
  238. loadChildren: () => import("../building-distance/building-distance.module").then((m) => m.BuildingDistanceModule),
  239. },
  240. // 陪检绩效
  241. {
  242. path: "inspectionDistance",
  243. loadChildren: () => import("../inspection-distance/inspection-distance.module").then((m) => m.InspectionDistanceModule),
  244. },
  245. // 检查类型配置
  246. {
  247. path: "inspectTypeConfig",
  248. loadChildren: () => import("../inspect-type-config/inspect-type-config.module").then((m) => m.InspectTypeConfigModule),
  249. },
  250. // 检查科室异常设置
  251. {
  252. path: "checkDeptException",
  253. loadChildren: () => import("../check-dept-exception/check-dept-exception.module").then((m) => m.CheckDeptExceptionModule),
  254. },
  255. // 工单消息设置
  256. {
  257. path: "workorderMessage",
  258. loadChildren: () => import("../workorder-message/workorder-message.module").then((m) => m.WorkorderMessageModule),
  259. },
  260. // 楼栋楼层
  261. {
  262. path: "buildingFloor",
  263. loadChildren: () => import("../building-floor/building-floor.module").then((m) => m.BuildingFloorModule),
  264. },
  265. // 检查自动建单
  266. {
  267. path: "inspectAuto",
  268. loadChildren: () => import("../inspect-auto/inspect-auto.module").then((m) => m.InspectAutoModule),
  269. },
  270. // 人员检查主动服务统计
  271. {
  272. path: "inspectActive",
  273. loadChildren: () => import("../inspect-active/inspect-active.module").then((m) => m.InspectActiveModule),
  274. },
  275. // 建单来源统计
  276. {
  277. path: "orderSourceStatistics",
  278. loadChildren: () => import("../order-source-statistics/order-source-statistics.module").then((m) => m.OrderSourceStatisticsModule),
  279. },
  280. // 科室建单来源统计
  281. {
  282. path: "deptOrderSourceStatistics",
  283. loadChildren: () => import("../dept-order-source-statistics/dept-order-source-statistics.module").then((m) => m.DeptOrderSourceStatisticsModule),
  284. },
  285. // 任务类型建单来源统计
  286. {
  287. path: "tasktypeOrderSourceStatistics",
  288. loadChildren: () => import("../tasktype-order-source-statistics/tasktype-order-source-statistics.module").then((m) => m.TasktypeOrderSourceStatisticsModule),
  289. },
  290. // 问卷调查管理列表
  291. {
  292. path: "questionnaireManagement",
  293. loadChildren: () => import("../questionnaire-management/questionnaire-management.module").then((m) => m.QuestionnaireManagementModule),
  294. },
  295. // 问卷问题列表
  296. {
  297. path: "questions",
  298. loadChildren: () => import("../questions/questions.module").then((m) => m.QuestionsModule),
  299. },
  300. // 问卷回收数据列表
  301. {
  302. path: "questionnaireAnswer",
  303. loadChildren: () => import("../questionnaire-answer/questionnaire-answer.module").then((m) => m.QuestionnaireAnswerModule),
  304. },
  305. ],
  306. },
  307. ];
  308. @NgModule({
  309. imports: [RouterModule.forChild(routes)],
  310. exports: [RouterModule],
  311. })
  312. export class MainRoutingModule {}