123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285 |
- 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: "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: "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: "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: "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: "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: "buildingFloor",
- loadChildren: () =>
- import("../building-floor/building-floor.module").then(
- (m) => m.BuildingFloorModule
- ),
- },
- ],
- },
- ];
- @NgModule({
- imports: [RouterModule.forChild(routes)],
- exports: [RouterModule],
- })
- export class MainRoutingModule {}
|