feat(router): 添加医生工作站等功能模块路由配置

- 新增医生工作站路由,包含待写病历功能
- 添加全部功能模块路由,支持功能列表和配置页面
- 集成待办事项模块路由,完善工作流功能
- 配置相关API接口和服务类,实现用户配置管理
- 实现待写病历列表展示和相关业务逻辑
- 完善首页统计数据显示功能
This commit is contained in:
2026-02-01 15:05:57 +08:00
parent 6f7d723c6b
commit 98fe9f3301
16 changed files with 2811 additions and 0 deletions

View File

@@ -237,6 +237,55 @@ export const dynamicRoutes = [
},
],
},
{
path: '/doctorstation',
component: Layout,
redirect: '/doctorstation/index',
name: 'DoctorStation',
meta: { title: '医生工作站', icon: 'operation' },
children: [
{
path: 'pending-emr',
component: () => import('@/views/doctorstation/pendingEmr.vue'),
name: 'PendingEmr',
meta: { title: '待写病历', icon: 'document', permissions: ['doctorstation:pending-emr:view'] }
}
]
},
{
path: '/features',
component: Layout,
name: 'Features',
meta: { title: '全部功能', icon: 'menu' },
children: [
{
path: '',
component: () => import('@/views/features/index.vue'),
name: 'FeaturesIndex',
meta: { title: '功能列表', icon: 'menu' }
},
{
path: 'config',
component: () => import('@/views/features/config.vue'),
name: 'FeaturesConfig',
meta: { title: '功能配置', icon: 'setting' }
}
]
},
{
path: '/todo',
component: Layout,
name: 'Todo',
meta: { title: '待办事项', icon: 'todo' },
children: [
{
path: '',
component: () => import('@/views/todo/index.vue'),
name: 'TodoIndex',
meta: { title: '待办列表', icon: 'todo' }
}
]
},
];
// 合并常量路由和动态路由,确保所有路由都能被访问