feat: 系统管理菜单
This commit is contained in:
parent
73eef5c92d
commit
350c4680fe
@ -34,6 +34,13 @@ export default {
|
||||
["personal-center"]: "personal center",
|
||||
["userinfo"]: "userinfo",
|
||||
["user-settings"]: "user settings",
|
||||
["system-management"]: "system management",
|
||||
["account-management"]: "account management",
|
||||
["role-management"]: "role management",
|
||||
["menu-management"]: "menu management",
|
||||
["division-management"]: "division management",
|
||||
["dictionary-management"]: "dictionary management",
|
||||
["system-log"]: "system log",
|
||||
["external-links"]: "external links",
|
||||
["inline-page"]: "inline page",
|
||||
["uigradients"]: "uigradients",
|
||||
|
||||
@ -34,6 +34,13 @@ export default {
|
||||
["personal-center"]: "个人中心",
|
||||
["userinfo"]: "用户信息",
|
||||
["user-settings"]: "用户设置",
|
||||
["system-management"]: "系统管理",
|
||||
["account-management"]: "账号管理",
|
||||
["role-management"]: "角色管理",
|
||||
["menu-management"]: "菜单管理",
|
||||
["division-management"]: "部门管理",
|
||||
["dictionary-management"]: "字典管理",
|
||||
["system-log"]: "系统日志",
|
||||
["about-project"]: "关于项目",
|
||||
["external-links"]: "外部链接",
|
||||
["inline-page"]: "内嵌页面",
|
||||
|
||||
@ -451,6 +451,119 @@ export const dynamicRoutes: RouteRecordRaw[] = [
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
path: "/system-management",
|
||||
name: "system-management",
|
||||
redirect: "/system-management/account management",
|
||||
meta: {
|
||||
title: "system-management",
|
||||
hide: false,
|
||||
keepAlive: true,
|
||||
affix: false,
|
||||
link: "",
|
||||
iframe: false,
|
||||
roles: ["admin"],
|
||||
svgIcon: "set"
|
||||
},
|
||||
children: [
|
||||
{
|
||||
path: "/system-management/account-management",
|
||||
name: "account-management",
|
||||
component: () => import("@/views/system-management/account-management/account-management.vue"),
|
||||
meta: {
|
||||
title: "account-management",
|
||||
hide: false,
|
||||
keepAlive: true,
|
||||
affix: false,
|
||||
link: "",
|
||||
iframe: false,
|
||||
roles: ["admin"],
|
||||
icon: "icon-menu"
|
||||
},
|
||||
children: []
|
||||
},
|
||||
{
|
||||
path: "/system-management/role-management",
|
||||
name: "role-management",
|
||||
component: () => import("@/views/system-management/role-management/role-management.vue"),
|
||||
meta: {
|
||||
title: "role-management",
|
||||
hide: false,
|
||||
keepAlive: true,
|
||||
affix: false,
|
||||
link: "",
|
||||
iframe: false,
|
||||
roles: ["admin"],
|
||||
icon: "icon-menu"
|
||||
},
|
||||
children: []
|
||||
},
|
||||
{
|
||||
path: "/system-management/menu-management",
|
||||
name: "menu-management",
|
||||
component: () => import("@/views/system-management/menu-management/menu-management.vue"),
|
||||
meta: {
|
||||
title: "menu-management",
|
||||
hide: false,
|
||||
keepAlive: true,
|
||||
affix: false,
|
||||
link: "",
|
||||
iframe: false,
|
||||
roles: ["admin"],
|
||||
icon: "icon-menu"
|
||||
},
|
||||
children: []
|
||||
},
|
||||
{
|
||||
path: "/system-management/division-management",
|
||||
name: "division-management",
|
||||
component: () => import("@/views/system-management/division-management/division-management.vue"),
|
||||
meta: {
|
||||
title: "division-management",
|
||||
hide: false,
|
||||
keepAlive: true,
|
||||
affix: false,
|
||||
link: "",
|
||||
iframe: false,
|
||||
roles: ["admin"],
|
||||
icon: "icon-menu"
|
||||
},
|
||||
children: []
|
||||
},
|
||||
{
|
||||
path: "/system-management/dictionary-management",
|
||||
name: "dictionary-management",
|
||||
component: () => import("@/views/system-management/dictionary-management/dictionary-management.vue"),
|
||||
meta: {
|
||||
title: "dictionary-management",
|
||||
hide: false,
|
||||
keepAlive: true,
|
||||
affix: false,
|
||||
link: "",
|
||||
iframe: false,
|
||||
roles: ["admin"],
|
||||
icon: "icon-menu"
|
||||
},
|
||||
children: []
|
||||
},
|
||||
{
|
||||
path: "/system-management/system-log",
|
||||
name: "system-log",
|
||||
component: () => import("@/views/system-management/system-log/system-log.vue"),
|
||||
meta: {
|
||||
title: "system-log",
|
||||
hide: false,
|
||||
keepAlive: true,
|
||||
affix: false,
|
||||
link: "",
|
||||
iframe: false,
|
||||
roles: ["admin"],
|
||||
icon: "icon-menu"
|
||||
},
|
||||
children: []
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
path: "/external-links",
|
||||
name: "external-links",
|
||||
|
||||
@ -0,0 +1,7 @@
|
||||
<template>
|
||||
<div class="dc-page">账号管理-敬请期待</div>
|
||||
</template>
|
||||
|
||||
<script setup lang="ts"></script>
|
||||
|
||||
<style lang="scss" scoped></style>
|
||||
@ -0,0 +1,7 @@
|
||||
<template>
|
||||
<div class="dc-page">字典管理-敬请期待</div>
|
||||
</template>
|
||||
|
||||
<script setup lang="ts"></script>
|
||||
|
||||
<style lang="scss" scoped></style>
|
||||
@ -0,0 +1,7 @@
|
||||
<template>
|
||||
<div class="dc-page">部门管理-敬请期待</div>
|
||||
</template>
|
||||
|
||||
<script setup lang="ts"></script>
|
||||
|
||||
<style lang="scss" scoped></style>
|
||||
@ -0,0 +1,7 @@
|
||||
<template>
|
||||
<div class="dc-page">菜单管理-敬请期待</div>
|
||||
</template>
|
||||
|
||||
<script setup lang="ts"></script>
|
||||
|
||||
<style lang="scss" scoped></style>
|
||||
@ -0,0 +1,7 @@
|
||||
<template>
|
||||
<div class="dc-page">角色管理-敬请期待</div>
|
||||
</template>
|
||||
|
||||
<script setup lang="ts"></script>
|
||||
|
||||
<style lang="scss" scoped></style>
|
||||
7
src/views/system-management/system-log/system-log.vue
Normal file
7
src/views/system-management/system-log/system-log.vue
Normal file
@ -0,0 +1,7 @@
|
||||
<template>
|
||||
<div class="dc-page">系统日志-敬请期待</div>
|
||||
</template>
|
||||
|
||||
<script setup lang="ts"></script>
|
||||
|
||||
<style lang="scss" scoped></style>
|
||||
Loading…
x
Reference in New Issue
Block a user