You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
71 lines
2.3 KiB
71 lines
2.3 KiB
export default (Layout) => ({
|
|
path: '/admin/vgpu',
|
|
component: Layout,
|
|
redirect: '/admin/vgpu/node/admin',
|
|
name: 'vgpu',
|
|
meta: {
|
|
title: 'GPU 管理',
|
|
icon: 'vgpu-gpu-l',
|
|
},
|
|
children: [
|
|
{
|
|
name: 'resource-admin',
|
|
meta: { title: '资源管理' },
|
|
path: '/admin/vgpu/monitor',
|
|
component: () => import('~/vgpu/views/monitor/index.vue'),
|
|
children: [
|
|
{
|
|
path: '/admin/vgpu/monitor/overview',
|
|
component: () => import('~/vgpu/views/monitor/overview/index.vue'),
|
|
name: 'overview',
|
|
meta: { title: '资源总览', icon: 'dashboard', noCache: true },
|
|
},
|
|
{
|
|
path: '/admin/vgpu/poll/admin',
|
|
component: () => import('~/vgpu/views/poll/admin/index.vue'),
|
|
name: 'poll-admin',
|
|
meta: { title: '资源池管理', icon: 'vgpu-pool-tab', noCache: true },
|
|
},
|
|
{
|
|
path: '/admin/vgpu/poll/admin/:uid',
|
|
component: () => import('~/vgpu/views/poll/admin/Detail.vue'),
|
|
name: 'poll-admin-detail',
|
|
},
|
|
{
|
|
path: '/admin/vgpu/node/admin',
|
|
component: () => import('~/vgpu/views/node/admin/index.vue'),
|
|
name: 'node-admin',
|
|
meta: { title: '节点管理', icon: 'vgpu-node', noCache: true },
|
|
},
|
|
{
|
|
path: '/admin/vgpu/node/admin/:uid',
|
|
component: () => import('~/vgpu/views/node/admin/Detail.vue'),
|
|
name: 'node-admin-detail',
|
|
},
|
|
{
|
|
path: '/admin/vgpu/card/admin',
|
|
component: () => import('~/vgpu/views/card/admin/index.vue'),
|
|
name: 'card-admin',
|
|
meta: { title: '显卡管理', icon: 'vgpu-card', noCache: true },
|
|
},
|
|
{
|
|
path: '/admin/vgpu/card/admin/:uuid',
|
|
component: () => import('~/vgpu/views/card/admin/Detail.vue'),
|
|
name: 'card-admin-detail',
|
|
},
|
|
{
|
|
path: '/admin/vgpu/task/admin',
|
|
component: () => import('~/vgpu/views/task/admin/index.vue'),
|
|
name: 'task-admin',
|
|
meta: { title: '任务管理', icon: 'vgpu-task', noCache: true },
|
|
},
|
|
{
|
|
path: '/admin/vgpu/task/admin/detail',
|
|
component: () => import('~/vgpu/views/task/admin/Detail.vue'),
|
|
name: 'task-admin-detail',
|
|
},
|
|
],
|
|
},
|
|
],
|
|
});
|