/* * @Author: your name * @Date: 2021-07-22 15:04:09 * @LastEditTime: 2021-08-28 14:25:11 * @LastEditors: Please set LastEditors * @Description: In User Settings Edit * @FilePath: /TracerMethodology_PC/config/routes.js */ export default [ { path: '/user', layout: false, routes: [ { path: '/user', routes: [ { name: 'login', path: '/user/login', component: './user/Login', }, ], }, ], }, { path: '/platformMana', name: '平台系统管理', icon: 'smile', routes: [ { name: '角色管理', path: '/platformMana/roleManage', component: './platformMana/roleManage/index', }, { name: '菜单管理', path: '/platformMana/menuManage', component: './platformMana/menuManage/index', }, { path: '/platformMana/districtMana', name: '院区管理', icon: 'InsertRowLeftOutlined', component: './platformMana/districtMana/index', }, ], }, { path: '/baseSetting', name: '基础设置', icon: 'tool', routes: [ { path: '/baseSetting/incomeCollectionSetting', name: '收入归集设置', icon: 'tool', component: './baseSetting/incomeCollectionSetting/index', }, { path: '/baseSetting/reportProjectSetting', name: '报表项目设置', icon: 'tool', component: './baseSetting/reportProjectSetting/index', }, { path: '/baseSetting/visitsAndBedDayCostSetting', name: '诊次/床日成本设置', icon: 'tool', component: './baseSetting/visitsAndBedDayCostSetting/index', }, { path: '/baseSetting/wholeHospCostAndIncomeSet', name: '全院其他收支设置', icon: 'tool', component: './baseSetting/wholeHospCostAndIncomeSet/index', }, ], }, { path: '/costAccounting', name: '成本核算', icon: 'tool', routes: [ { path: '/costAccounting/incomeCostDataImport', name: '收入成本数据导入', component: './costAccounting/incomeCostDataImport/index', }, { path: '/costAccounting/beforeCollectionSearch', name: '归集前查询', component: './costAccounting/beforeCollectionSearch/index', }, { path: '/costAccounting/incomeCollection', name: '收入归集', component: './costAccounting/incomeCollection/index', }, { path: '/costAccounting/afterCollectionSearch', name: '归集后查询', component: './costAccounting/afterCollectionSearch/index', }, { path: '/costAccounting/costShareParamsHandle', name: '月成本分摊参数值处理', component: './costAccounting/costShareParamsHandle/index', }, { path: '/costAccounting/wholeHospIncomeAndCost', name: '全院其他收支', component: './costAccounting/wholeHospIncomeAndCost/index', }, { path: '/costAccounting/beforeCostShareSearch', name: '成本分摊前查询', component: './costAccounting/beforeCostShareSearch/index', }, { path: '/costAccounting/costShare', name: '成本分摊', component: './costAccounting/costShare/index', }, { path: '/costAccounting/afterCostShareSearch', name: '成本分摊后查询', component: './costAccounting/afterCostShareSearch/index', }, { path: '/costAccounting/costShareReportTable', name: '成本分摊报表', component: './costAccounting/costShareReportTable/index', }, { path: '/costAccounting/wholeHospCostCalculate', name: '全院损益计算', component: './costAccounting/wholeHospCostCalculate/index', }, { path: '/costAccounting/departmentCostCalculate', name: '科室损益计算', component: './costAccounting/departmentCostCalculate/index', }, ], }, { path: '/UserMana', name: '用户管理', icon: 'tool', component: './UserMana/index', }, // { // path: '/districtMana', // name: '院区管理', // icon: 'InsertRowLeftOutlined', // component: './districtMana/index', // }, { path: '/apportionmentLevel', name: '分摊层级设置', icon: 'NodeExpandOutlined', component: './apportionmentLevel/index', }, { path: '/DepartmentMana', name: '科室管理', icon: 'BorderOuterOutlined', component: './DepartmentMana/index', }, { path: '/responsibilityCenter', name: '责任中心管理', icon: 'CopyrightOutlined', component: './responsibilityCenter/index', }, { path: '/responsibilityCenterConnect', name: '责任中心对应', icon: 'CopyrightOutlined', component: './responsibilityCenterConnect/index', }, { path: '/accountingSubject', name: '会计科目管理', icon: 'ProfileOutlined', component: './accountingSubject/index', }, { path: '/costProjectMana', name: '成本收入项目管理', icon: 'AccountBookOutlined', component: './costProjectMana/index', }, { path: '/accountingSubjectConnect', name: '会计科目对应', icon: 'ProfileOutlined', component: './accountingSubjectConnect/index', }, { path: '/costAllocationParamsSetting', name: '成本分摊参数设置', icon: 'ControlOutlined', component: './costAllocationParamsSetting/index', }, { path: '/costAllocationParamsConnect', name: '成本分摊参数设置对应', icon: 'ControlOutlined', component: './costAllocationParamsConnect/index', }, { path: '/admin', name: 'admin', icon: 'crown', access: 'canAdmin', component: './Admin', routes: [ { path: '/admin/sub-page', name: 'sub-page', icon: 'smile', component: './Welcome', }, ], }, { path: '/', redirect: '/costAccounting', }, { component: './404', }, ];