generated from Leo_Ding/web-template
菜单配置
This commit is contained in:
parent
47ae92eb62
commit
be392b0464
@ -1,4 +1,5 @@
|
|||||||
import refund from "../../../router/routes/refund";
|
import refund from "../../../router/routes/refund";
|
||||||
|
import user from "../../../router/routes/user";
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
welcome: '欢迎',
|
welcome: '欢迎',
|
||||||
@ -51,4 +52,18 @@ export default {
|
|||||||
contractMgt: '合同管理(待开发)',
|
contractMgt: '合同管理(待开发)',
|
||||||
activityMgt: '活动管理(待开发)',
|
activityMgt: '活动管理(待开发)',
|
||||||
userUpgrade: '用户升级管理(待开发)',
|
userUpgrade: '用户升级管理(待开发)',
|
||||||
|
resource: '资源管理',
|
||||||
|
host: '主机列表',
|
||||||
|
computerCard: '计算卡列表',
|
||||||
|
computerArea: '主机区域列表',
|
||||||
|
mirror: '镜像管理',
|
||||||
|
mirrorPublic: '公共镜像列表',
|
||||||
|
mirrorSystem: '系统镜像列表',
|
||||||
|
mirrorUser: '用户镜像列表',
|
||||||
|
example: '实例管理',
|
||||||
|
exampleList: '实例列表',
|
||||||
|
user: '用户管理',
|
||||||
|
userList: '用户列表',
|
||||||
|
userSure: '待认证列表',
|
||||||
|
userBlack: '黑名单列表',
|
||||||
}
|
}
|
||||||
|
|||||||
29
src/router/routes/example.js
Normal file
29
src/router/routes/example.js
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
import { SettingOutlined } from '@ant-design/icons-vue'
|
||||||
|
|
||||||
|
export default [
|
||||||
|
{
|
||||||
|
path: 'example',
|
||||||
|
name: 'example',
|
||||||
|
component: 'RouteViewLayout',
|
||||||
|
meta: {
|
||||||
|
icon: 'icon-zhifudingjin',
|
||||||
|
title: '实例管理',
|
||||||
|
isMenu: true,
|
||||||
|
keepAlive: true,
|
||||||
|
permission: '*',
|
||||||
|
},
|
||||||
|
children: [
|
||||||
|
{
|
||||||
|
path: 'exampleList',
|
||||||
|
name: 'exampleList',
|
||||||
|
component: 'example/exampleList/index.vue',
|
||||||
|
meta: {
|
||||||
|
title: '实例列表',
|
||||||
|
isMenu: true,
|
||||||
|
keepAlive: true,
|
||||||
|
permission: '*',
|
||||||
|
},
|
||||||
|
},
|
||||||
|
],
|
||||||
|
}
|
||||||
|
]
|
||||||
@ -13,6 +13,9 @@ import topUp from './topUp'
|
|||||||
import water from './water'
|
import water from './water'
|
||||||
import refund from './refund'
|
import refund from './refund'
|
||||||
import common from './common'
|
import common from './common'
|
||||||
|
import resource from './resource'
|
||||||
|
import mirror from './mirror'
|
||||||
|
import user from './user'
|
||||||
export default [
|
export default [
|
||||||
...home,
|
...home,
|
||||||
...form,
|
...form,
|
||||||
@ -29,4 +32,7 @@ export default [
|
|||||||
...water,
|
...water,
|
||||||
...refund,
|
...refund,
|
||||||
...common,
|
...common,
|
||||||
|
...resource,
|
||||||
|
...mirror,
|
||||||
|
...user,
|
||||||
]
|
]
|
||||||
|
|||||||
52
src/router/routes/mirror.js
Normal file
52
src/router/routes/mirror.js
Normal file
@ -0,0 +1,52 @@
|
|||||||
|
import { SettingOutlined } from '@ant-design/icons-vue'
|
||||||
|
|
||||||
|
export default [
|
||||||
|
{
|
||||||
|
path: 'mirror',
|
||||||
|
name: 'mirror',
|
||||||
|
component: 'RouteViewLayout',
|
||||||
|
meta: {
|
||||||
|
icon: 'icon-zhifudingjin',
|
||||||
|
title: '镜像管理',
|
||||||
|
isMenu: true,
|
||||||
|
keepAlive: true,
|
||||||
|
permission: '*',
|
||||||
|
},
|
||||||
|
children: [
|
||||||
|
{
|
||||||
|
path: 'mirrorUser',
|
||||||
|
name: 'mirrorUser',
|
||||||
|
component: 'mirror/mirrorUser/index.vue',
|
||||||
|
meta: {
|
||||||
|
title: '用户镜像列表',
|
||||||
|
isMenu: true,
|
||||||
|
keepAlive: true,
|
||||||
|
permission: '*',
|
||||||
|
},
|
||||||
|
},
|
||||||
|
{
|
||||||
|
path: 'mirrorSystem',
|
||||||
|
name: 'mirrorSystem',
|
||||||
|
component: 'mirror/mirrorSystem/index.vue',
|
||||||
|
meta: {
|
||||||
|
title: '系统镜像列表',
|
||||||
|
isMenu: true,
|
||||||
|
keepAlive: true,
|
||||||
|
permission: '*',
|
||||||
|
},
|
||||||
|
},
|
||||||
|
{
|
||||||
|
path: 'mirrorPublic',
|
||||||
|
name: 'mirrorPublic',
|
||||||
|
component: 'mirror/mirrorPublic/index.vue',
|
||||||
|
meta: {
|
||||||
|
title: '公用镜像列表',
|
||||||
|
isMenu: true,
|
||||||
|
keepAlive: true,
|
||||||
|
permission: '*',
|
||||||
|
},
|
||||||
|
},
|
||||||
|
],
|
||||||
|
}
|
||||||
|
|
||||||
|
]
|
||||||
52
src/router/routes/resource.js
Normal file
52
src/router/routes/resource.js
Normal file
@ -0,0 +1,52 @@
|
|||||||
|
import { SettingOutlined } from '@ant-design/icons-vue'
|
||||||
|
|
||||||
|
export default [
|
||||||
|
{
|
||||||
|
path: 'resource',
|
||||||
|
name: 'resource',
|
||||||
|
component: 'RouteViewLayout',
|
||||||
|
meta: {
|
||||||
|
icon: 'icon-zhifudingjin',
|
||||||
|
title: '资源管理',
|
||||||
|
isMenu: true,
|
||||||
|
keepAlive: true,
|
||||||
|
permission: '*',
|
||||||
|
},
|
||||||
|
children: [
|
||||||
|
{
|
||||||
|
path: 'host',
|
||||||
|
name: 'host',
|
||||||
|
component: 'resource/host/index.vue',
|
||||||
|
meta: {
|
||||||
|
title: '主机列表',
|
||||||
|
isMenu: true,
|
||||||
|
keepAlive: true,
|
||||||
|
permission: '*',
|
||||||
|
},
|
||||||
|
},
|
||||||
|
{
|
||||||
|
path: 'computerCard',
|
||||||
|
name: 'computerCard',
|
||||||
|
component: 'resource/computerCard/index.vue',
|
||||||
|
meta: {
|
||||||
|
title: '计算卡列表',
|
||||||
|
isMenu: true,
|
||||||
|
keepAlive: true,
|
||||||
|
permission: '*',
|
||||||
|
},
|
||||||
|
},
|
||||||
|
{
|
||||||
|
path: 'computerArea',
|
||||||
|
name: 'computerArea',
|
||||||
|
component: 'resource/computerArea/index.vue',
|
||||||
|
meta: {
|
||||||
|
title: '主机区域列表',
|
||||||
|
isMenu: true,
|
||||||
|
keepAlive: true,
|
||||||
|
permission: '*',
|
||||||
|
},
|
||||||
|
},
|
||||||
|
],
|
||||||
|
}
|
||||||
|
|
||||||
|
]
|
||||||
52
src/router/routes/user.js
Normal file
52
src/router/routes/user.js
Normal file
@ -0,0 +1,52 @@
|
|||||||
|
import { SettingOutlined } from '@ant-design/icons-vue'
|
||||||
|
|
||||||
|
export default [
|
||||||
|
{
|
||||||
|
path: 'user',
|
||||||
|
name: 'user',
|
||||||
|
component: 'RouteViewLayout',
|
||||||
|
meta: {
|
||||||
|
icon: 'icon-zhifudingjin',
|
||||||
|
title: '用户管理',
|
||||||
|
isMenu: true,
|
||||||
|
keepAlive: true,
|
||||||
|
permission: '*',
|
||||||
|
},
|
||||||
|
children: [
|
||||||
|
{
|
||||||
|
path: 'userSure',
|
||||||
|
name: 'userSure',
|
||||||
|
component: 'user/userSure/index.vue',
|
||||||
|
meta: {
|
||||||
|
title: '待认证列表',
|
||||||
|
isMenu: true,
|
||||||
|
keepAlive: true,
|
||||||
|
permission: '*',
|
||||||
|
},
|
||||||
|
},
|
||||||
|
{
|
||||||
|
path: 'userList',
|
||||||
|
name: 'userList',
|
||||||
|
component: 'user/userList/index.vue',
|
||||||
|
meta: {
|
||||||
|
title: '用户列表',
|
||||||
|
isMenu: true,
|
||||||
|
keepAlive: true,
|
||||||
|
permission: '*',
|
||||||
|
},
|
||||||
|
},
|
||||||
|
{
|
||||||
|
path: 'userBlack',
|
||||||
|
name: 'userBlack',
|
||||||
|
component: 'user/userBlack/index.vue',
|
||||||
|
meta: {
|
||||||
|
title: '黑名单列表',
|
||||||
|
isMenu: true,
|
||||||
|
keepAlive: true,
|
||||||
|
permission: '*',
|
||||||
|
},
|
||||||
|
},
|
||||||
|
],
|
||||||
|
}
|
||||||
|
|
||||||
|
]
|
||||||
0
src/views/mirror/mirrorPublic/index.vue
Normal file
0
src/views/mirror/mirrorPublic/index.vue
Normal file
0
src/views/mirror/mirrorSystem/index.vue
Normal file
0
src/views/mirror/mirrorSystem/index.vue
Normal file
0
src/views/mirror/mirrorUser/index.vue
Normal file
0
src/views/mirror/mirrorUser/index.vue
Normal file
0
src/views/resource/computerArea/index.vue
Normal file
0
src/views/resource/computerArea/index.vue
Normal file
0
src/views/resource/computerCard/index.vue
Normal file
0
src/views/resource/computerCard/index.vue
Normal file
0
src/views/resource/host/index.vue
Normal file
0
src/views/resource/host/index.vue
Normal file
0
src/views/user/userBlack/index.vue
Normal file
0
src/views/user/userBlack/index.vue
Normal file
0
src/views/user/userList/index.vue
Normal file
0
src/views/user/userList/index.vue
Normal file
0
src/views/user/userSure/index.vue
Normal file
0
src/views/user/userSure/index.vue
Normal file
Loading…
x
Reference in New Issue
Block a user