初始提交
This commit is contained in:
1015
src/router/index.js
Normal file
1015
src/router/index.js
Normal file
File diff suppressed because it is too large
Load Diff
12
src/router/modules/basicsmanage.js
Normal file
12
src/router/modules/basicsmanage.js
Normal file
@ -0,0 +1,12 @@
|
||||
import layout from '@/layout'
|
||||
export default {
|
||||
path: "/basicsmanage",
|
||||
component: layout,
|
||||
redirect: "/intelligence/index",
|
||||
name: 'basicsmanage',
|
||||
meta: {
|
||||
title: "基础管理",
|
||||
icon: "personnel"
|
||||
},
|
||||
children: []
|
||||
}
|
19
src/router/modules/developer.js
Normal file
19
src/router/modules/developer.js
Normal file
@ -0,0 +1,19 @@
|
||||
import layout from '@/layout'
|
||||
export default {
|
||||
path: "/developer",
|
||||
// 如果只展示单级别菜单 需要像这样配置
|
||||
component: layout,
|
||||
redirect: "/developer/index",
|
||||
name: 'developerIndex',
|
||||
children: [
|
||||
{
|
||||
path: "/developer/index",
|
||||
name: "developer",
|
||||
component: () => import("@/views/developer/index"),
|
||||
meta: {
|
||||
title: "开发者中心",
|
||||
icon: "article-ranking"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
136
src/router/modules/systemConfig.js
Normal file
136
src/router/modules/systemConfig.js
Normal file
@ -0,0 +1,136 @@
|
||||
import layout from '@/layout'
|
||||
|
||||
export default {
|
||||
path: "/systemConfig",
|
||||
component: layout,
|
||||
redirect: "/dict/index",
|
||||
name: 'systemConfig',
|
||||
meta: {
|
||||
title: "系统管理",
|
||||
icon: "personnel"
|
||||
},
|
||||
children: [
|
||||
{
|
||||
path: "/dict/index",
|
||||
name: "dictIndex",
|
||||
component: () => import("@/views/systemConfig/dict/index"),
|
||||
meta: {
|
||||
title: "字典列表",
|
||||
icon: "article-ranking"
|
||||
}
|
||||
},
|
||||
{
|
||||
path: "/dict/detail",
|
||||
name: "dictDetail",
|
||||
component: () => import("@/views/systemConfig/dict/detail"),
|
||||
meta: {
|
||||
title: "字典数据"
|
||||
}
|
||||
},
|
||||
{
|
||||
path: "/user/userList",
|
||||
name: "userList",
|
||||
component: () => import("@/views/systemConfig/user-list/index"),
|
||||
meta: {
|
||||
title: "用户管理",
|
||||
icon: "role"
|
||||
}
|
||||
},
|
||||
{
|
||||
path: "/user/job",
|
||||
name: "userJob",
|
||||
component: () => import("@/views/systemConfig/job-list/index"),
|
||||
meta: {
|
||||
title: "岗位列表",
|
||||
icon: "personnel-manage"
|
||||
}
|
||||
},
|
||||
{
|
||||
path: "/user/role",
|
||||
name: "userRole",
|
||||
component: () => import("@/views/systemConfig/role-list/index"),
|
||||
meta: {
|
||||
title: "角色列表",
|
||||
icon: "role"
|
||||
}
|
||||
},
|
||||
{
|
||||
path: "/user/menuList",
|
||||
name: "menuList",
|
||||
component: () => import("@/views/systemConfig/menu-list/index"),
|
||||
meta: {
|
||||
title: "菜单管理",
|
||||
icon: "personnel-manage"
|
||||
}
|
||||
},
|
||||
{
|
||||
path: "/user/systemConfig",
|
||||
name: "systemConfig",
|
||||
component: () => import("@/views/systemConfig/system-config-list/index"),
|
||||
meta: {
|
||||
title: "系统配置",
|
||||
icon: "personnel-manage"
|
||||
}
|
||||
},
|
||||
{
|
||||
path: "/user/department-ist",
|
||||
name: "departmentList",
|
||||
component: () => import("@/views/systemConfig/department-list/index"),
|
||||
meta: {
|
||||
title: "部门管理",
|
||||
icon: "personnel-manage"
|
||||
}
|
||||
},
|
||||
|
||||
{
|
||||
path: "/user/systemVersion",
|
||||
name: "systemVersion",
|
||||
component: () => import("@/views/systemConfig/system-version-list/index"),
|
||||
meta: {
|
||||
title: "系统版本管理",
|
||||
icon: "personnel-manage"
|
||||
}
|
||||
},
|
||||
|
||||
{
|
||||
path: "/user/log",
|
||||
name: "/user/log",
|
||||
redirect: "/user/operateLog",
|
||||
meta: {
|
||||
title: "日志",
|
||||
icon: "article"
|
||||
},
|
||||
children: [
|
||||
{
|
||||
path: "/user/operateLog",
|
||||
name: "/user/operateLog",
|
||||
component: () => import("@/views/systemConfig/log-manage/operateLog/index"),
|
||||
meta: {
|
||||
title: "操作日志",
|
||||
icon: "article-ranking"
|
||||
}
|
||||
},
|
||||
{
|
||||
path: "/user/loginLog",
|
||||
name: "/user/loginLog",
|
||||
component: () => import("@/views/systemConfig/log-manage/loginLog/index"),
|
||||
meta: {
|
||||
title: "登录日志",
|
||||
icon: "article-ranking"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
//如果三级 需要把路由注册出来
|
||||
path: "/user/operateLog",
|
||||
name: "/user/operateLog",
|
||||
component: () => import("@/views/systemConfig/log-manage/operateLog/index")
|
||||
},
|
||||
{
|
||||
path: "/user/loginLog",
|
||||
name: "/user/loginLog",
|
||||
component: () => import("@/views/systemConfig/log-manage/loginLog/index")
|
||||
}
|
||||
]
|
||||
}
|
Reference in New Issue
Block a user