import { NgModule } from "@angular/core"; import { Routes, RouterModule } from "@angular/router"; import { MainComponent } from "./main.component"; const routes: Routes = [ { path: "", component: MainComponent, children: [ // 默认跳转到主页 { path: "", redirectTo: "home", pathMatch: "full", }, // 主页 { path: "home", loadChildren: () => import("../home/home.module").then((m) => m.HomeModule), }, // 班次管理 { path: "classesManagement", loadChildren: () => import("../classes-management/classes-management.module").then((m) => m.ClassesManagementModule), }, // 节假日管理 { path: "holidaysManagement", loadChildren: () => import("../holidays-management/holidays-management.module").then((m) => m.HolidaysManagementModule), }, // 分组管理 { path: "groupManagement", loadChildren: () => import("../group-management/group-management.module").then((m) => m.GroupManagementModule), }, // 院区管理 { path: "hospitalManagement", loadChildren: () => import("../hospital-management/hospital-management.module").then((m) => m.HospitalManagementModule), }, // 微信配置 { path: "wechatConfig", loadChildren: () => import("../wechat-config/wechat-config.module").then((m) => m.WechatConfigModule), }, // 系统配置 { path: "sysConfig", loadChildren: () => import("../sys-config/sys-config.module").then((m) => m.SysConfigModule), }, // 数据字典 { path: "dataDictionary", loadChildren: () => import("../data-dictionary/data-dictionary.module").then((m) => m.DataDictionaryModule), }, // 科室管理 { path: "officeManagement", loadChildren: () => import("../office-management/office-management.module").then((m) => m.OfficeManagementModule), }, // 任务类型管理 { path: "taskTypeManagement", loadChildren: () => import("../task-type-management/task-type-management.module").then((m) => m.TaskTypeManagementModule), }, // 血制品页面控制 { path: "bloodProductsConfig", loadChildren: () => import("../blood-products-config/blood-products-config.module").then((m) => m.BloodProductsConfigModule), }, // 检查页面控制 { path: "inspectAndPatientTransportConfig", loadChildren: () => import("../inspect-and-patient-transport-config/inspect-and-patient-transport-config.module").then((m) => m.InspectAndPatientTransportConfigModule), }, // 手术页面控制 { path: "operationConfig", loadChildren: () => import("../operation-config/operation-config.module").then((m) => m.OperationConfigModule), }, // 工作分配方案列表 { path: "workAssignment", loadChildren: () => import("../work-assignment/work-assignment.module").then((m) => m.WorkAssignmentModule), }, // 老工作分配方案 { path: "jobAssignment", loadChildren: () => import("../job-assignment/job-assignment.module").then((m) => m.JobAssignmentModule), }, // 工作分配方案快速组合 { path: "quickCombination", loadChildren: () => import("../quick-combination/quick-combination.module").then((m) => m.QuickCombinationModule), }, // 用户管理 { path: "usersManagement", loadChildren: () => import("../users-management/users-management.module").then((m) => m.UsersManagementModule), }, // 临床用户 { path: "clinicalUsersManagement", loadChildren: () => import("../clinical-users-management/clinical-users-management.module").then((m) => m.ClinicalUsersManagementModule), }, // TAB自定义 { path: "tabCustom", loadChildren: () => import("../tab-custom/tab-custom.module").then((m) => m.TabCustomModule), }, // 权限管理 { path: "jurisdictionManagement", loadChildren: () => import("../jurisdiction-management/jurisdiction-management.module").then((m) => m.JurisdictionManagementModule), }, // 意见箱 { path: "adviceManagement", loadChildren: () => import("../advice-management/advice-management.module").then((m) => m.AdviceManagementModule), }, // 差评处理 { path: "appraiseManagement", loadChildren: () => import("../appraise-management/appraise-management.module").then((m) => m.AppraiseManagementModule), }, // 工单列表 { path: "orderManagement", loadChildren: () => import("../order-management/order-management.module").then((m) => m.OrderManagementModule), }, // 核酸接收列表 { path: "nucleicAcidCollection", loadChildren: () => import("../nucleic-acid-collection/nucleic-acid-collection.module").then((m) => m.NucleicAcidCollectionModule), }, // 表单管理列表 { path: "formManagement", loadChildren: () => import("../form-management/form-management.module").then((m) => m.FormManagementModule), }, // 表单管理列表详情 { path: "formManagementDetail/:id", loadChildren: () => import("../form-management-detail/form-management-detail.module").then((m) => m.FormManagementDetailModule), }, // 统计分析-综合统计 { path: "compreStatistics", loadChildren: () => import("../compre-statistics/compre-statistics.module").then((m) => m.CompreStatisticsModule), }, // 统计分析-任务类型统计 { path: "taskTypeStatistics", loadChildren: () => import("../task-type-statistics/task-type-statistics.module").then((m) => m.TaskTypeStatisticsModule), }, // 统计分析-科室统计 { path: "deptStatistics", loadChildren: () => import("../dept-statistics/dept-statistics.module").then((m) => m.DeptStatisticsModule), }, // 统计分析-工单统计 { path: "orderStatistics", loadChildren: () => import("../order-statistics/order-statistics.module").then((m) => m.OrderStatisticsModule), }, // 统计分析-支助人员统计 { path: "workerStatistics", loadChildren: () => import("../worker-statistics/worker-statistics.module").then((m) => m.WorkerStatisticsModule), }, // 轮巡计划列表 { path: "roundRobin", loadChildren: () => import("../round-robin/round-robin.module").then((m) => m.RoundRobinModule), }, // 快捷建单列表 { path: "shortcutBuildOrders", loadChildren: () => import("../shortcut-build-orders/shortcut-build-orders.module").then((m) => m.ShortcutBuildOrdersModule), }, // 通话记录列表 { path: "callLog", loadChildren: () => import("../call-log/call-log.module").then((m) => m.CallLogModule), }, // 定时消息发送列表 { path: "timingMessageSending", loadChildren: () => import("../timing-message-sending/timing-message-sending.module").then((m) => m.TimingMessageSendingModule), }, // 定时下班 { path: "regularOffDuty", loadChildren: () => import("../regular-off-duty/regular-off-duty.module").then((m) => m.RegularOffDutyModule), }, // 标本信息 { path: "specimenSearch", loadChildren: () => import("../specimen-search/specimen-search.module").then((m) => m.SpecimenSearchModule), }, // 检查信息 { path: "inspectSearch", loadChildren: () => import("../inspect-search/inspect-search.module").then((m) => m.InspectSearchModule), }, // 患者信息 { path: "patientSearch", loadChildren: () => import("../patient-search/patient-search.module").then((m) => m.PatientSearchModule), }, // 药品信息 { path: "drugSearch", loadChildren: () => import("../drug-search/drug-search.module").then((m) => m.DrugSearchModule), }, // 静配信息 { path: "jpSearch", loadChildren: () => import("../jp-search/jp-search.module").then((m) => m.JpSearchModule), }, // 血制品信息 { path: "bloodSearch", loadChildren: () => import("../blood-search/blood-search.module").then((m) => m.BloodSearchModule), }, // 数据核对 { path: "infoSearch", loadChildren: () => import("../info-search/info-search.module").then((m) => m.InfoSearchModule), }, // 院区系统配置 { path: "hospitalConfig", loadChildren: () => import("../hospital-config/hospital-config.module").then((m) => m.HospitalConfigModule), }, // 楼栋绩效 { path: "buildingDistance", loadChildren: () => import("../building-distance/building-distance.module").then((m) => m.BuildingDistanceModule), }, // 陪检绩效 { path: "inspectionDistance", loadChildren: () => import("../inspection-distance/inspection-distance.module").then((m) => m.InspectionDistanceModule), }, // 检查类型配置 { path: "inspectTypeConfig", loadChildren: () => import("../inspect-type-config/inspect-type-config.module").then((m) => m.InspectTypeConfigModule), }, // 检查科室异常设置 { path: "checkDeptException", loadChildren: () => import("../check-dept-exception/check-dept-exception.module").then((m) => m.CheckDeptExceptionModule), }, // 工单消息设置 { path: "workorderMessage", loadChildren: () => import("../workorder-message/workorder-message.module").then((m) => m.WorkorderMessageModule), }, // 楼栋楼层 { path: "buildingFloor", loadChildren: () => import("../building-floor/building-floor.module").then((m) => m.BuildingFloorModule), }, // 检查自动建单 { path: "inspectAuto", loadChildren: () => import("../inspect-auto/inspect-auto.module").then((m) => m.InspectAutoModule), }, // 人员检查主动服务统计 { path: "inspectActive", loadChildren: () => import("../inspect-active/inspect-active.module").then((m) => m.InspectActiveModule), }, // 建单来源统计 { path: "orderSourceStatistics", loadChildren: () => import("../order-source-statistics/order-source-statistics.module").then((m) => m.OrderSourceStatisticsModule), }, // 科室建单来源统计 { path: "deptOrderSourceStatistics", loadChildren: () => import("../dept-order-source-statistics/dept-order-source-statistics.module").then((m) => m.DeptOrderSourceStatisticsModule), }, // 任务类型建单来源统计 { path: "tasktypeOrderSourceStatistics", loadChildren: () => import("../tasktype-order-source-statistics/tasktype-order-source-statistics.module").then((m) => m.TasktypeOrderSourceStatisticsModule), }, // 问卷调查管理列表 { path: "questionnaireManagement", loadChildren: () => import("../questionnaire-management/questionnaire-management.module").then((m) => m.QuestionnaireManagementModule), }, // 问卷问题列表 { path: "questions", loadChildren: () => import("../questions/questions.module").then((m) => m.QuestionsModule), }, // 问卷回收数据列表 { path: "questionnaireAnswer", loadChildren: () => import("../questionnaire-answer/questionnaire-answer.module").then((m) => m.QuestionnaireAnswerModule), }, ], }, ]; @NgModule({ imports: [RouterModule.forChild(routes)], exports: [RouterModule], }) export class MainRoutingModule {}