feat(menu): 优化菜单服务性能并新增医生排班功能
- 添加菜单缓存注解以提升查询性能 - 实现菜单完整路径计算优化,解决 N+1 查询问题 - 新增 selectAllMenus 方法供路径计算使用 - 添加今日医生排班查询功能 - 重构前端图标显示逻辑,使用 SVG 图标替代 Element 图标 - 添加前端菜单数据本地缓存机制 - 更新菜单管理界面的表单组件绑定方式 - 新增预约管理、门诊管理和药房管理路由配置
This commit is contained in:
@@ -286,6 +286,48 @@ export const dynamicRoutes = [
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
path: '/appoinmentmanage',
|
||||
component: Layout,
|
||||
name: 'AppoinmentManage',
|
||||
meta: { title: '预约管理', icon: 'appointment' },
|
||||
children: [
|
||||
{
|
||||
path: 'deptManage',
|
||||
component: () => import('@/views/appoinmentmanage/deptManage/index.vue'),
|
||||
name: 'DeptManage',
|
||||
meta: { title: '科室排班管理', icon: 'calendar' }
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
path: '/clinicmanagement',
|
||||
component: Layout,
|
||||
name: 'ClinicManagement',
|
||||
meta: { title: '门诊管理', icon: 'operation' },
|
||||
children: [
|
||||
{
|
||||
path: 'dayEnd',
|
||||
component: () => import('@/views/clinicmanagement/dayEnd/index.vue'),
|
||||
name: 'DayEnd',
|
||||
meta: { title: '门诊日结', icon: 'document' }
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
path: '/medicationmanagement',
|
||||
component: Layout,
|
||||
name: 'MedicationManagement',
|
||||
meta: { title: '药房管理', icon: 'medication' },
|
||||
children: [
|
||||
{
|
||||
path: 'dayEndSettlement',
|
||||
component: () => import('@/views/medicationmanagement/dayEndSettlement/index.vue'),
|
||||
name: 'DayEndSettlement',
|
||||
meta: { title: '日结结算单管理', icon: 'document' }
|
||||
}
|
||||
]
|
||||
}
|
||||
];
|
||||
|
||||
// 合并常量路由和动态路由,确保所有路由都能被访问
|
||||
|
||||
Reference in New Issue
Block a user