|
|
@@ -10,6 +10,7 @@ import {
|
|
|
MessageOutlined,
|
|
|
InfoCircleOutlined,
|
|
|
BarChartOutlined,
|
|
|
+ LineChartOutlined,
|
|
|
EnvironmentOutlined,
|
|
|
MoonOutlined,
|
|
|
SunOutlined,
|
|
|
@@ -128,12 +129,6 @@ export const useMenu = () => {
|
|
|
label: '文件库',
|
|
|
path: '/admin/file-library',
|
|
|
permission: 'content:manage'
|
|
|
- },
|
|
|
- {
|
|
|
- key: 'date-notes',
|
|
|
- label: '日期笔记',
|
|
|
- path: '/admin/date-notes',
|
|
|
- permission: 'content:manage'
|
|
|
}
|
|
|
]
|
|
|
},
|
|
|
@@ -151,33 +146,43 @@ export const useMenu = () => {
|
|
|
path: '/admin/chart-dashboard',
|
|
|
permission: 'chart:view'
|
|
|
},
|
|
|
+ {
|
|
|
+ key: 'stock-training',
|
|
|
+ label: '股票训练',
|
|
|
+ icon: <LineChartOutlined />,
|
|
|
+ children: [
|
|
|
+ {
|
|
|
+ key: 'date-notes',
|
|
|
+ label: '日期笔记',
|
|
|
+ path: '/admin/date-notes',
|
|
|
+ permission: 'content:manage'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ key: 'classroom-data',
|
|
|
+ label: '教室数据',
|
|
|
+ path: '/admin/classroom-data',
|
|
|
+ permission: 'data:view'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ key: 'submission-records',
|
|
|
+ label: '提交记录',
|
|
|
+ path: '/admin/submission-records',
|
|
|
+ permission: 'data:view'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ key: 'xunlian-codes',
|
|
|
+ label: '训练代码',
|
|
|
+ path: '/admin/xunlian-codes',
|
|
|
+ permission: 'content:manage'
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
{
|
|
|
key: 'maps',
|
|
|
label: '地图',
|
|
|
icon: <EnvironmentOutlined />,
|
|
|
path: '/admin/map-dashboard',
|
|
|
permission: 'map:view'
|
|
|
- },
|
|
|
- {
|
|
|
- key: 'classroom-data',
|
|
|
- label: '教室数据',
|
|
|
- icon: <BarChartOutlined />,
|
|
|
- path: '/admin/classroom-data',
|
|
|
- permission: 'data:view'
|
|
|
- },
|
|
|
- {
|
|
|
- key: 'submission-records',
|
|
|
- label: '提交记录',
|
|
|
- icon: <FileTextOutlined />,
|
|
|
- path: '/admin/submission-records',
|
|
|
- permission: 'data:view'
|
|
|
- },
|
|
|
- {
|
|
|
- key: 'xunlian-codes',
|
|
|
- label: '训练代码',
|
|
|
- icon: <FileTextOutlined />,
|
|
|
- path: '/admin/xunlian-codes',
|
|
|
- permission: 'content:manage'
|
|
|
}
|
|
|
];
|
|
|
|