完善团课相关管理
This commit is contained in:
@@ -38,6 +38,10 @@ function transformMenuData(backendMenus: BackendMenuItem[]): MenuItem[] {
|
||||
'audit/operation/index': '/oplog',
|
||||
'audit/login/index': '/loginlog',
|
||||
'audit/exception/index': '/exceptionlog',
|
||||
'gymCourse/course/index': '/courses',
|
||||
'gymCourse/type/index': '/courses/types',
|
||||
'gymCourse/label/index': '/courses/labels',
|
||||
'gymCourse/recommend/index': '/courses/recommend',
|
||||
}
|
||||
|
||||
const filteredMenus = backendMenus.filter(menu => menu.menuType !== 'F')
|
||||
@@ -92,7 +96,11 @@ function getMenuIcon(menuName: string): string {
|
||||
'文件管理': 'Folder',
|
||||
'操作日志': 'Document',
|
||||
'登录日志': 'Document',
|
||||
'异常日志': 'Warning'
|
||||
'异常日志': 'Warning',
|
||||
'团课管理': 'TrophyBase',
|
||||
'团课类型': 'Grid',
|
||||
'团课标签': 'Discount',
|
||||
'团课推荐': 'Star'
|
||||
}
|
||||
return iconMap[menuName] || 'Document'
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user