import Layout from '@/layout/index.vue'
import {createNameComponent} from '../createNode'

const route = [
    {
        path: '/login',
        component: createNameComponent(() => import('@/views/system/login.vue')),
        hideMenu: true,
        meta: {title: '登录', hideTabs: true},
    },
    {
        path: '/emrEditor',
        name: 'emrEditor',
        component: createNameComponent(() => import('@/views/hospitalization/zhu-yuan-yi-sheng/electronic-medical-record/emr-editor/Home.vue')),
        hideMenu: true,
        meta: {title: '电子病历', hideTabs: true},
    },
    {
        path: '/triageRoomScreen',
        component: createNameComponent(() => import('@/views/clinic/triage/RoomScreen.vue')),
        hideMenu: true,
        meta: {title: '候诊信息', hideTabs: true},
    },
    {
        path: '/siSettleDetailList/:patientId?/:times?',
        component: createNameComponent(() => import('@/views/medical-insurance/allpatient/SiSettleDetailList.vue')),
        meta: {title: '医保结算单', passRule: true},
    },
    {
        path: '/',
        component: Layout,
        redirect: '/dashboard',
        meta: {title: '工作集成平台'},
        children: [
            {
                path: 'dashboard',
                component: createNameComponent(() => import('@/views/dashboard/index.vue')),
                meta: {title: '首页', hideClose: true},
            },
        ],
    }, // 这里以下都是临时新加的
    {
        path: '/medins',
        component: Layout,
        meta: {title: '医保模块'},
        children: [
            {
                path: 'inpatient',
                component: createNameComponent(() => import('@/views/medical-insurance/inpatient/Home.vue')),
                meta: {title: '住院医保'},
                redirect: '/medins/inpatient/admRegistration',
                children: [
                    {
                        path: 'admRegistration',
                        component: createNameComponent(() => import('@/views/medical-insurance/inpatient/AdmRegistration.vue')),
                        meta: {title: '医保入院登记'},
                    },
                    {
                        path: 'inHospFeeUpload',
                        component: createNameComponent(() => import('@/views/medical-insurance/inpatient/InHospFeeUpload.vue')),
                        meta: {title: '医保费用上传'},
                    },
                    {
                        path: 'discSettlement',
                        component: createNameComponent(() => import('@/views/medical-insurance/inpatient/DiscSettlement.vue')),
                        meta: {title: '医保出院结算'},
                    },
                    {
                        path: 'hospitalApproveApply',
                        component: createNameComponent(() => import('@/views/medical-insurance/inpatient/HospitalApproveApply.vue')),
                        meta: {title: '医院审批申请'},
                    },
                ],
            },
            {
                path: 'inpatient/admissVerification',
                component: createNameComponent(() => import('@/views/medical-insurance/inpatient/AdmissVerification.vue')),
                meta: {title: '入院登记审核'},
            },
            {
                path: 'inpatient/medInsVerification',
                component: createNameComponent(() => import('@/views/medical-insurance/inpatient/SettleVerification.vue')),
                meta: {title: '出院结算审核'},
            },
            {
                path: 'inpatient/hospitalApproveVerify',
                component: createNameComponent(() => import('@/views/medical-insurance/inpatient/HospitalApproveVerify.vue')),
                meta: {title: '医院审批审核'},
            },
            {
                path: 'inpatient/frontSheetUpload',
                component: createNameComponent(() => import('@/views/medical-insurance/inpatient/FrontSheetUpload.vue')),
                meta: {title: '病案首页上传'},
            },
            {
                path: 'outpatient/mzRegister',
                component: createNameComponent(() => import('@/views/medical-insurance/outpatient/MzRegister.vue')),
                meta: {title: '门诊登记'},
            },
            {
                path: 'outpatient/mzSpltryRcrd',
                component: createNameComponent(() => import('@/views/medical-insurance/outpatient/MzSpltryRcrd.vue')),
                meta: {title: '门诊补录'},
            },
            {
                path: 'outpatient/spcChrRcd',
                component: createNameComponent(() => import('@/views/medical-insurance/outpatient/SpcChrRcd.vue')),
                meta: {title: '慢特病备案'},
            },
            {
                path: 'qryManage/catalogue',
                component: createNameComponent(() => import('@/views/medical-insurance/allpatient/Catalogue.vue')),
                meta: {title: '目录管理'},
            },
            {
                path: 'qryManage/psnInfo',
                component: createNameComponent(() => import('@/views/medical-insurance/allpatient/PsnInfo.vue')),
                meta: {title: '医保身份查询'},
            },
            {
                path: 'qryManage/inhospInfo',
                component: createNameComponent(() => import('@/views/medical-insurance/allpatient/InhospInfo.vue')),
                meta: {title: '在院查询'},
            },
            {
                path: 'qryManage/visitInfo',
                component: createNameComponent(() => import('@/views/medical-insurance/allpatient/VisitInfo.vue')),
                meta: {title: '就诊信息查询'},
            },
            {
                path: 'qryManage/siSettleDetailList',
                component: createNameComponent(() => import('@/views/medical-insurance/allpatient/SiSettleDetailList.vue')),
                meta: {title: '医保结算单'},
            },
            {
                path: 'qryManage/setllistReconciliation',
                component: createNameComponent(() => import('@/views/medical-insurance/allpatient/SetllistReconciliation.vue')),
                meta: {title: '结算与对账'},
            },
            {
                path: 'qryManage/setSheetUpload',
                name: 'SetSheetUpload',
                component: createNameComponent(() => import('@/views/medical-insurance/allpatient/SetSheetUpload.vue')),
                meta: {title: '结算单上传'},
            },
            {
                path: 'qryManage/exportAutoUploadInfo',
                name: 'ExportAutoUploadInfo',
                component: createNameComponent(() => import('@/components/si-sheet-upload/ExportAutoUploadInfo.vue')),
                meta: {title: '上传信息'},
            },
            {
                path: 'qryManage/drgGroupResult',
                name: 'DrgGroupResult',
                component: createNameComponent(() => import('@/components/si-sheet-upload/DrgGroupResult.vue')),
                meta: {title: '分组信息'},
            },
            {
                path: 'qryManage/setlStatistics',
                component: createNameComponent(() => import('@/views/medical-insurance/allpatient/SetlStatistics.vue')),
                meta: {title: '结算统计'},
            },
            {
                path: 'qryManage/logAnalyse',
                component: createNameComponent(() => import('@/views/medical-insurance/allpatient/LogAnalyse.vue')),
                meta: {title: '日志分析'},
            },
            {
                path: 'qryManage/insurIncomeAnalysis',
                component: createNameComponent(() => import('@/views/medical-insurance/allpatient/InsurIncomeAnalysis.vue')),
                meta: {title: '全院医保收入分析'},
            },
            {
                path: 'statistical/cssybJsTj',
                component: createNameComponent(() => import('@/views/medical-insurance/statistical/CssybJsTj.vue')),
                meta: {title: '市医保决算统计'},
            },
            {
                path: 'statistical/cssybCsTj',
                component: createNameComponent(() => import('@/views/medical-insurance/statistical/CssybCsTj.vue')),
                meta: {title: '市医保测算统计'},
            },
            {
                path: 'statistical/cssybBzTj',
                component: createNameComponent(() => import('@/views/medical-insurance/statistical/CssybBzTj.vue')),
                meta: {title: '市医保病种统计'},
            },
            {
                path: 'statistical/clnTimesAvg',
                component: createNameComponent(() => import('@/views/medical-insurance/statistical/ClnTimesAvg.vue')),
                meta: {title: '长浏宁次均费用'},
            },
        ],
    },
    {
        path: '/inspections',
        component: Layout,
        meta: {title: '检验检查'},
        children: [
            {
                path: 'inspectionReportIndex',
                name: 'inspectionReportIndex',
                component: createNameComponent(() => import('@/views/examination/InspectionReportIndex.vue')),
                meta: {title: '检验报告'},
            },
            {
                path: 'covidExamResult',
                component: createNameComponent(() => import('@/views/examination/CovidExamResult.vue')),
                meta: {title: '新冠核酸检测报告'},
            },
            {
                path: 'healthCrdUpld',
                component: createNameComponent(() => import('@/views/examination/UploadToHealthCard.vue')),
                meta: {title: '健康证对接'},
            },
            {
                path: 'bookableManagement',
                component: createNameComponent(() => import('@/views/examination/BookableManagement.vue')),
                meta: {title: '检验检查预约维护'},
            },
            {
                path: 'mixLabelPrinter',
                component: createNameComponent(() => import('@/views/examination/MixLabelPrinter.vue')),
                meta: {title: '混采标签打印'},
            },
            {
                path: 'tjReportInfo',
                component: createNameComponent(() => import('@/views/examination/TjReportInfo.vue')),
                meta: {title: '体检报告'},
            },
            {
                path: 'bloodSugarQuery',
                component: createNameComponent(() => import('@/views/examination/BloodSugarQuery.vue')),
                meta: {title: '血糖查询'},
            },
        ],
    },
    {
        path: '/medTecMod',
        component: Layout,
        meta: {title: '医技模块'},
        children: [
            {
                path: 'yiJiFeiYongLuRu',
                component: createNameComponent(() => import('@/views/med-tec-mod/YiJiFeiYongLuRu.vue')),
                meta: {title: '医技费用录入'},
            },
            {
                path: 'queRenYiZhuShouFei',
                component: createNameComponent(() => import('@/views/med-tec-mod/QueRenYiZhuShouFei.vue')),
                meta: {title: '确认医嘱费用'},
            },
            {
                path: 'menZhenXiangMu',
                component: createNameComponent(() => import('@/views/med-tec-mod/MenZhenXiangMu.vue')),
                meta: {title: '门诊项目确认或取消'},
            },
        ],
    },
    {
        path: '/dictionary',
        component: Layout,
        meta: {title: '字典准备'},
        children: [
            {
                path: 'prjctMdcnMtch',
                component: createNameComponent(() => import('@/views/dictionary/NationalSiMatch.vue')),
                meta: {title: '项目药品匹配'},
            },
            {
                path: 'deptMatch',
                component: createNameComponent(() => import('@/views/dictionary/YiBaoKeShiPiPei.vue')),
                meta: {title: '医保科室匹配'},
            },
            {
                path: 'hisWjwMatch',
                component: createNameComponent(() => import('@/views/dictionary/HisWjwMatch.vue')),
                meta: {title: '卫健委字典匹配'},
            },
            {
                path: 'shouShuBuWeiWeiHu',
                component: createNameComponent(() => import('@/views/dictionary/ShouShuBuWeiWeiHu.vue')),
                meta: {title: '手术部位维护'},
            },
            {
                path: 'emrDataMaintenance',
                component: createNameComponent(() => import('@/views/dictionary/EmrDataMaintenance.vue')),
                meta: {title: '电子病历数据源维护'},
            },
        ],
    },
    {
        path: '/reports',
        component: Layout,
        meta: {title: '报表模块'},
        children: [
            {
                path: 'deptPriodRprt',
                component: createNameComponent(() => import('@/views/reports/DeptPeriodReport.vue')),
                meta: {title: '科室时段报表'},
            },
            {
                path: 'infntChrgRprt',
                component: createNameComponent(() => import('@/views/reports/InfantFeeReport.vue')),
                meta: {title: '婴儿收费统计'},
            },
            {
                path: 'mdcnStckCnt',
                component: createNameComponent(() => import('@/views/reports/MedicineStockCount.vue')),
                meta: {title: '药品盘点'},
            },
            {
                path: 'clockinStatistics',
                component: createNameComponent(() => import('@/views/reports/ClockinData.vue')),
                meta: {title: '打卡数据'},
            },
            {
                path: 'covidVaccinateAppointment',
                component: createNameComponent(() => import('@/views/reports/covid-vaccinate/CovidVaccinateAppointment.vue')),
                meta: {title: '新冠接种预约'},
            },
            {
                path: 'inquiryOfConsultationFee',
                component: createNameComponent(() => import('@/views/reports/InquiryOfConsultationFee.vue')),
                meta: {title: '查询会诊费用'},
            },
            {
                path: 'consumablesStatistics',
                component: createNameComponent(() => import('@/views/reports/ConsumablesStatistics.vue')),
                meta: {title: '耗材使用统计'},
            },
            {
                path: 'illegalChargesAnalysis',
                component: createNameComponent(() => import('@/views/reports/IllegalChargesAnalysis.vue')),
                meta: {title: '违规收费分析'},
            },
            {
                path: 'queryPayService',
                component: createNameComponent(() => import('@/views/reports/QueryPayService.vue')),
                meta: {title: '收费项目'},
            },
            {
                path: 'drugInquiry',
                component: createNameComponent(() => import('@/views/reports/DrugInquiry.vue')),
                meta: {title: '查询药品'},
            },
            {
                path: 'yuanNeiTongJi',
                component: createNameComponent(() => import('@/views/reports/YuanNeiTongJi.vue')),
                meta: {title: '院内统计'},
            },
            {
                path: 'keShiShouRuTongJi',
                component: createNameComponent(() => import('@/views/reports/KeShiShouRuTongJi.vue')),
                meta: {title: '科室收入统计'},
            },
            {
                path: 'bedDays',
                component: createNameComponent(() => import('@/views/reports/BedDays.vue')),
                meta: {title: '管床日数统计'},
            },
            {
                path: 'jiMiBaoBiao',
                component: createNameComponent(() => import('@/views/reports/JiMuBaoBiao.vue')),
                meta: {title: '积木报表'},
            },
            {
                path: 'inpatientAddrAnalyze',
                component: createNameComponent(() => import('@/views/reports/InpatientAddrAnalyze.vue')),
                meta: {title: '住院患者分布'},
            },
            {
                path: 'outpatientCoordination',
                component: createNameComponent(() => import('@/views/reports/OutpatientCoordination.vue')),
                meta: {title: '门诊统筹统计'},
            },
            {
                path: 'mzSpecialDisease',
                component: createNameComponent(() => import('@/views/reports/MzSpecialDisease.vue')),
                meta: {title: '门诊特殊病统计'},
            },
        ],
    },
    {
        path: '/dataModify',
        component: Layout,
        meta: {title: '数据修改'},
        children: [
            {
                path: 'yzActOrderModify',
                name: 'yzActOrderModify',
                component: createNameComponent(() => import('@/views/data-modify/YzActOrderModify.vue')),
                meta: {title: '医嘱修改申请'},
            },
            {
                path: 'zyChargeFeeModify',
                component: createNameComponent(() => import('@/views/data-modify/ZyChargeFeeModify.vue')),
                meta: {title: '住院费用修改'},
            },
            {
                path: 'yzActOrderModifyVerify',
                component: createNameComponent(() => import('@/views/data-modify/YzActOrderModifyVerify.vue')),
                meta: {title: '医嘱修改审核'},
            },
            {
                path: 'yzTemperatureModify',
                component: createNameComponent(() => import('@/views/data-modify/YzTemperatureModify.vue')),
                meta: {title: '护理记录单修改'},
            },
            {
                path: 'secondFefund',
                component: createNameComponent(() => import('@/views/data-modify/SecondFefund.vue')),
                meta: {title: '二次退费'},
            },
            {
                path: 'queryOfReceiptDetails',
                component: createNameComponent(() => import('@/views/data-modify/QueryOfReceiptDetails.vue')),
                meta: {title: '入库明细查询'},
            },
            {
                path: 'deliveryDetailsQuery',
                component: createNameComponent(() => import('@/views/data-modify/DeliveryDetailsQuery.vue')),
                meta: {title: '出库明细查询'},
            },
        ],
    },
    {
        path: '/inpatient',
        component: Layout,
        meta: {title: '住院模块'},
        children: [
            {
                path: 'makeDbzFees',
                component: createNameComponent(() => import('@/views/hospitalization/MakeDbzFees.vue')),
                meta: {title: '单病种费用生成'},
            },
            {
                path: 'advrsEvnt/fillAdverseEvent',
                component: createNameComponent(() => import('@/views/hospitalization/adverse-event/FillAderverseEvent.vue')),
                meta: {title: '不良事件上报'},
            },
            {
                path: 'advrsEvnt/dealAdverseEvent',
                component: createNameComponent(() => import('@/views/hospitalization/adverse-event/DealAdverseEvent.vue')),
                meta: {title: '不良事件处理'},
            },
            {
                path: 'advrsEvnt/allAdverseEvent',
                component: createNameComponent(() => import('@/views/hospitalization/adverse-event/AllAdverseEvent.vue')),
                meta: {title: '不良事件汇总'},
            },
            {
                path: 'casefrntsht/fillCaseFrontSheet',
                name: 'fillCaseFrontSheet',
                component: createNameComponent(() => import('@/views/hospitalization/case-front-sheet/FillCaseFrontSheet.vue')),
                meta: {title: '病案首页填写'},
            },
            {
                path: 'casefrntsht/allCaseFrontSheet',
                component: createNameComponent(() => import('@/views/hospitalization/case-front-sheet/AllCaseFrontSheet.vue')),
                meta: {title: '病案首页汇总'},
            },
            {
                path: 'casefrntsht/frontSheetExport',
                component: createNameComponent(() => import('@/views/hospitalization/case-front-sheet/FrontSheetExport.vue')),
                meta: {title: '病案首页导出'},
            },
            {
                path: 'doctorsAdvise/doctorsAdviseGenerate',
                component: createNameComponent(() => import('@/views/hospitalization/doctors-advise/DoctorsAdviseGenerate.vue')),
                meta: {title: '医嘱生成'},
            },
            {
                path: 'doctorsAdvise/printInfusionCard',
                component: createNameComponent(() => import('@/views/hospitalization/doctors-advise/PrintInfusionCard.vue')),
                meta: {title: '打印输液卡'},
            },

            {
                path: 'casefrntsht/jieShouHuiZhen',
                component: createNameComponent(() => import('@/views/hospitalization/case-front-sheet/JieShouHuiZhen.vue')),
                meta: {title: '接收会诊'},
            },

            {
                path: 'emrControlRule',
                component: createNameComponent(() => import('@/views/hospitalization/zhu-yuan-yi-sheng/electronic-medical-record/EmrControlRule.vue')),
                meta: {title: '病历质控规则',},
            },
            {
                path: 'zhuYuanYiSheng',
                redirect: '', //
                component: createNameComponent(() => import('@/views/hospitalization/zhu-yuan-yi-sheng/Home.vue')),
                meta: {title: '住院医生', passRule: true},
                children: [
                    {
                        path: 'dianZiBingLi',
                        name: 'dianZiBingLi',
                        component: createNameComponent(() => import('@/views/hospitalization/zhu-yuan-yi-sheng/electronic-medical-record/emr-editor/Home.vue')),
                        meta: {
                            title: '电子病历',
                        },
                    },
                    {
                        path: 'yiZhuLuRu',
                        name: 'yiZhuLuRu',
                        component: createNameComponent(() => import('@/views/hospitalization/zhu-yuan-yi-sheng/yi-zhu-lu-ru/YiZhuLuRu.vue')),
                        meta: {
                            title: '医嘱录入',
                        },
                    },
                    {
                        path: 'orderTemplateMaintenance',
                        name: 'orderTemplateMaintenance',
                        component: createNameComponent(() => import('@/views/hospitalization/zhu-yuan-yi-sheng/yi-zhu-lu-ru/TemplateMaintenance.vue')),
                        meta: {
                            title: '医嘱模板维护',
                        },
                    },
                    {
                        path: 'huiZhenShenQing',
                        component: createNameComponent(() => import('@/views/hospitalization/zhu-yuan-yi-sheng/HuiZhenShenQing.vue')),
                        meta: {
                            title: '会诊申请',
                        },
                    },
                    {
                        path: 'jianChaShenQing',
                        component: createNameComponent(() => import('@/views/hospitalization/zhu-yuan-yi-sheng/jian-cha-jian-yan-shen-qing/JianChaShenQing.vue')),
                        meta: {
                            title: '检查申请',
                        },
                    },
                    {
                        path: 'jianYanShenQing',
                        component: createNameComponent(() => import('@/views/hospitalization/zhu-yuan-yi-sheng/jian-cha-jian-yan-shen-qing/JianYanShenQing.vue')),
                        meta: {
                            title: '检验申请',
                        },
                    },
                    {
                        path: 'shouShuShenQing',
                        component: createNameComponent(() => import('@/views/hospitalization/zhu-yuan-yi-sheng/shou-shu-shen-qing/ShouShuShenQing.vue')),
                        meta: {
                            title: '查看手术',
                        },
                    },
                    {
                        path: 'caoYaoYiZhu',
                        component: createNameComponent(() => import('@/views/hospitalization/zhu-yuan-yi-sheng/cao-yao-yi-zhu/ChaXunChaoYaoYiZhu.vue')),
                        meta: {
                            title: '查看草药医嘱',
                        },
                    },
                    {
                        path: 'recoveryEmr',
                        component: createNameComponent(() => import('@/views/hospitalization/zhu-yuan-yi-sheng/electronic-medical-record/ResumeMedicalRecords.vue')),
                        meta: {
                            title: '恢复病历',
                        },
                    },
                    {
                        path: 'dischargedEmrModifyApply',
                        component: createNameComponent(() => import('@/views/hospitalization/zhu-yuan-yi-sheng/electronic-medical-record/DischargedEmrModifyApply.vue')),
                        meta: {
                            title: '申请出院病历编辑',
                        },
                    },
                    {
                        path: 'medicalHistoryPrompts',
                        component: createNameComponent(() => import('@/views/hospitalization/zhu-yuan-yi-sheng/electronic-medical-record/MedicalHistoryPrompts.vue')),
                        meta: {
                            title: '病历文本提示维护',
                        },
                    },
                ],
            },
        ],
    },

    {
        path: '/outpatient',
        component: Layout,
        meta: {title: '门诊模块'},
        children: [
            {
                path: 'mzGuideBill',
                component: createNameComponent(() => import('@/views/clinic/MzGuideBill.vue')),
                meta: {title: '门诊指引单'},
            },
            {
                path: 'doctorInfoManagement',
                component: createNameComponent(() => import('@/views/clinic/DoctorInfoManagement.vue')),
                meta: {title: '医生信息管理'},
            },
            {
                path: 'transferInOfExpenses',
                component: createNameComponent(() => import('@/views/clinic/TransferInOfExpenses.vue')),
                meta: {title: '急诊费用转入'},
            },
            {
                path: 'wxPayRefund',
                component: createNameComponent(() => import('@/views/clinic/WxPayRefund.vue')),
                meta: {title: '微信支付退款'},
            },
            {
                path: 'triage/untriaged',
                component: createNameComponent(() => import('@/views/clinic/triage/Untriaged.vue')),
                meta: {title: '未分诊'},
            },
            {
                path: 'triage/triaged',
                component: createNameComponent(() => import('@/views/clinic/triage/Triaged.vue')),
                meta: {title: '已分诊'},
            },
            {
                path: 'triage/treated',
                component: createNameComponent(() => import('@/views/clinic/triage/Treated.vue')),
                meta: {title: '已接诊'},
            },
            {
                path: 'triage/allTriages',
                component: createNameComponent(() => import('@/views/clinic/triage/AllTriages.vue')),
                meta: {title: '所有挂号'},
            },
            {
                path: 'triage/triageDeptSettings',
                component: createNameComponent(() => import('@/views/clinic/triage/DeptSettings.vue')),
                meta: {title: '科室设置'},
            },
            {
                path: 'triage/triageRoomSettings',
                component: createNameComponent(() => import('@/views/clinic/triage/RoomSettings.vue')),
                meta: {title: '诊室设置'},
            },
            {
                path: 'triage/triageIpManagement',
                component: createNameComponent(() => import('@/views/clinic/triage/IpManagement.vue')),
                meta: {title: 'IP管理'},
            },
            {
                path: 'triage/triageDisplaySettings',
                component: createNameComponent(() => import('@/views/clinic/triage/DisplaySettings.vue')),
                meta: {title: '显示管理'},
            },
        ],
    },
    {
        path: '/outpatient/triage/triageFloorScreen',
        component: createNameComponent(() => import('@/views/clinic/triage/FloorScreen.vue')),
        meta: {title: '分诊大屏', hideTabs: true},
    },
    {
        path: '/settings',
        component: Layout,
        meta: {title: '设置'},
        children: [
            {
                path: 'deptPhones',
                component: createNameComponent(() => import('@/views/settings/DeptPhones.vue')),
                meta: {title: '科室电话'},
            },
            {
                path: 'sendNotification',
                component: createNameComponent(() => import('@/views/settings/SendNotification.vue')),
                meta: {title: '发送通知'},
            },
            {
                path: 'userInfo',
                component: createNameComponent(() => import('@/views/settings/UserInfo.vue')),
                meta: {title: '个人中心'},
            },
            {
                path: 'permission/userRoleSettings',
                component: createNameComponent(() => import('@/views/settings/permissions/UserRoleSettings.vue')),
                meta: {title: '人员角色管理'},
            },
            {
                path: 'permission/roleMenuSettings',
                component: createNameComponent(() => import('@/views/settings/permissions/RoleMenuSettings.vue')),
                meta: {title: '角色菜单管理'},
            },
            {
                path: 'test',
                component: createNameComponent(() => import('@/views/settings/Test.vue')),
                meta: {title: '测试页面'},
            },
        ],
    },

    {
        path: '/shouShuGuanLi',
        component: Layout,
        meta: {title: '手术管理'},
        children: [
            {
                path: 'shouShuAnPai',
                component: createNameComponent(() => import('@/views/surgical-management/SurgeryArrangement.vue')),
                meta: {title: '手术安排'},
            },
            {
                path: 'surgeryRecord',
                component: createNameComponent(() => import('@/views/surgical-management/SurgeryRecord.vue')),
                meta: {title: '手术信息记录'},
            },
        ],
    },

    {
        path: '/utilities',
        component: Layout,
        meta: {title: '通用工具'},
        children: [
            {
                path: 'parseJson',
                component: createNameComponent(() => import('@/views/utilities/ParseJson.vue')),
                meta: {title: 'JSON格式化'},
            },
        ],
    },

    {
        path: '/operateMonitoring',
        component: Layout,
        meta: {title: '运营监测'},
        children: [
            {
                path: 'inpatient/inHospital',
                component: createNameComponent(() => import('@/views/operate-monitoring/OperateMonitoring.vue')),
                meta: {title: '在院运营监测'},
                params: {
                    reportType: "zy",
                    menuId: "122",
                    levelType: "2",
                    type: "2",
                }
            },
            {
                path: 'inpatient/outHospital',
                component: createNameComponent(() => import('@/views/operate-monitoring/OperateMonitoringDate.vue')),
                meta: {title: '出院运营监测'},
                params: {
                    startTime: "",
                    endTime: "",
                    reportType: "cy",
                    menuId: "123",
                    levelType: "2",
                    type: "2",
                }
            },
            {
                path: 'statAnalysis/outHospUnsettl',
                component: createNameComponent(() => import('@/views/operate-monitoring/OutHospUnsettl.vue')),
                meta: {title: '出院未结算统计'},
                params: {}
            },
            {
                path: 'outpatient/outpatientDept',
                component: createNameComponent(() => import('@/views/operate-monitoring/OperateMonitoringDate.vue')),
                meta: {title: '门诊运营监测'},
                params: {
                    startTime: "",
                    endTime: "",
                    reportType: "mz",
                    menuId: "124",
                    levelType: "2",
                    type: "2",
                }
            },
        ],
    },
]

export default route
