|
|
@@ -87,6 +87,37 @@ export const useMenu = () => {
|
|
|
icon: <DashboardOutlined />,
|
|
|
path: '/admin/dashboard'
|
|
|
},
|
|
|
+ {
|
|
|
+ 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: 'users',
|
|
|
label: '用户管理',
|
|
|
@@ -146,37 +177,6 @@ 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: '地图',
|