feat: 删除路由

This commit is contained in:
王天骄
2026-06-11 17:56:10 +08:00
parent ce07eff539
commit 02d2b0344b
+3 -34
View File
@@ -44,14 +44,12 @@ export const roleMenus: Record<RoleKey, MenuSection[]> = {
{ page: 'user-list', icon: User, title: '用户列表' }, { page: 'user-list', icon: User, title: '用户列表' },
{ page: 'hospital-list', icon: OfficeBuilding, title: '医院管理' }, { page: 'hospital-list', icon: OfficeBuilding, title: '医院管理' },
{ page: 'department-list', icon: Management, title: '科室管理' }, { page: 'department-list', icon: Management, title: '科室管理' },
{ page: 'role-permission', icon: Key, title: '角色权限' }
] ]
}, },
{ {
title: '内容管理', title: '内容管理',
items: [ items: [
{ page: 'case-list', icon: Collection, title: '病例库' }, { page: 'case-list', icon: Collection, title: '病例库' },
{ page: 'case-audit', icon: DocumentChecked, title: '病例审核' },
{ page: 'tag-category', icon: PriceTag, title: '标签分类' }, { page: 'tag-category', icon: PriceTag, title: '标签分类' },
{ page: 'ai-case', icon: Cpu, title: 'AI病例生成' } { page: 'ai-case', icon: Cpu, title: 'AI病例生成' }
] ]
@@ -60,8 +58,6 @@ export const roleMenus: Record<RoleKey, MenuSection[]> = {
title: '训练管理', title: '训练管理',
items: [ items: [
{ page: 'training-list', icon: Memo, title: '训练记录' }, { page: 'training-list', icon: Memo, title: '训练记录' },
{ page: 'training-detail', icon: Search, title: '训练详情' },
{ page: 'ai-dialog', icon: ChatDotRound, title: 'AI对话记录' }
] ]
}, },
{ {
@@ -69,8 +65,6 @@ export const roleMenus: Record<RoleKey, MenuSection[]> = {
items: [ items: [
{ page: 'ability-profile', icon: Aim, title: '能力画像' }, { page: 'ability-profile', icon: Aim, title: '能力画像' },
{ page: 'ability-radar', icon: Share, title: '雷达图分析' }, { page: 'ability-radar', icon: Share, title: '雷达图分析' },
{ page: 'growth-track', icon: TrendCharts, title: '成长轨迹' },
{ page: 'ai-recommend', icon: Star, title: 'AI推荐方案' }
] ]
}, },
{ {
@@ -82,13 +76,6 @@ export const roleMenus: Record<RoleKey, MenuSection[]> = {
{ page: 'data-retention', icon: Refresh, title: '留存分析' } { page: 'data-retention', icon: Refresh, title: '留存分析' }
] ]
}, },
{
title: '系统',
items: [
{ page: 'system-config', icon: Setting, title: '系统配置' },
{ page: 'log-audit', icon: List, title: '日志审计' }
]
}
], ],
'hospital-admin': [ 'hospital-admin': [
{ title: '概览', items: [{ page: 'hospital-dashboard', icon: OfficeBuilding, title: '医院驾驶舱' }] }, { title: '概览', items: [{ page: 'hospital-dashboard', icon: OfficeBuilding, title: '医院驾驶舱' }] },
@@ -97,7 +84,7 @@ export const roleMenus: Record<RoleKey, MenuSection[]> = {
items: [ items: [
{ page: 'doctor-list', icon: DoctorIcon, title: '医生管理' }, { page: 'doctor-list', icon: DoctorIcon, title: '医生管理' },
{ page: 'student-list', icon: School, title: '医学生管理' }, { page: 'student-list', icon: School, title: '医学生管理' },
{ page: 'teacher-list', icon: Reading, title: '带教老师' } { page: 'teacher-list', icon: Reading, title: '师生关系管理' }
] ]
}, },
{ {
@@ -123,24 +110,13 @@ export const roleMenus: Record<RoleKey, MenuSection[]> = {
title: '病例管理', title: '病例管理',
items: [ items: [
{ page: 'case-library', icon: Collection, title: '病例库管理' }, { page: 'case-library', icon: Collection, title: '病例库管理' },
{ page: 'script-case', icon: Reading, title: '剧本病例' },
{ page: 'interactive-case', icon: Operation, title: '互动病例' },
{ page: 'case-review', icon: DocumentChecked, title: '病例审核' },
{ page: 'knowledge-base', icon: Files, title: '知识库管理' } { page: 'knowledge-base', icon: Files, title: '知识库管理' }
] ]
}, },
{
title: '内容配置',
items: [
{ page: 'tag-manage', icon: PriceTag, title: '标签管理' },
{ page: 'category-manage', icon: Files, title: '分类管理' }
]
},
{ {
title: 'AI内容', title: 'AI内容',
items: [ items: [
{ page: 'ai-generate', icon: Cpu, title: 'AI生成病例' }, { page: 'ai-generate', icon: Cpu, title: 'AI生成病例' },
{ page: 'ai-review', icon: Search, title: 'AI内容审核' }
] ]
}, },
{ title: '统计', items: [{ page: 'content-stats', icon: DataAnalysis, title: '内容统计' }] } { title: '统计', items: [{ page: 'content-stats', icon: DataAnalysis, title: '内容统计' }] }
@@ -151,7 +127,6 @@ export const roleMenus: Record<RoleKey, MenuSection[]> = {
title: '学生管理', title: '学生管理',
items: [ items: [
{ page: 'my-students', icon: User, title: '我的学生' }, { page: 'my-students', icon: User, title: '我的学生' },
{ page: 'student-training', icon: Memo, title: '训练情况' },
{ page: 'student-ability', icon: Aim, title: '能力画像' } { page: 'student-ability', icon: Aim, title: '能力画像' }
] ]
}, },
@@ -160,16 +135,10 @@ export const roleMenus: Record<RoleKey, MenuSection[]> = {
items: [ items: [
{ page: 'training-record', icon: Collection, title: '训练记录' }, { page: 'training-record', icon: Collection, title: '训练记录' },
{ page: 'leaderboard', icon: Histogram, title: '排行榜' }, { page: 'leaderboard', icon: Histogram, title: '排行榜' },
{ page: 'assign-task', icon: Flag, title: '分配任务' } { page: 'assign-task', icon: Flag, title: '分配任务' },
{ page: 'growth-path', icon: TrendCharts, title: '成长轨迹' },
] ]
}, },
{
title: 'AI辅助',
items: [
{ page: 'growth-path', icon: TrendCharts, title: '成长轨迹' },
{ page: 'ai-report', icon: Bell, title: 'AI教学报告' }
]
}
] ]
} }