保存进度!

This commit is contained in:
2023-02-03 19:04:51 +08:00
parent 6cda734793
commit 1787838b3a
6 changed files with 51 additions and 41 deletions

View File

@@ -2,7 +2,7 @@
* @Author: Kane
* @Date: 2022-12-14 15:12:46
* @LastEditors: Kane
* @LastEditTime: 2023-02-03 15:47:58
* @LastEditTime: 2023-02-03 19:02:27
* @FilePath: \IT工具综合平台\src\router\index.js
* @Description: 定义应用路由配置
*
@@ -86,48 +86,30 @@ const routes = [
],
},
{//信息管理
path: "/news",
name: "News",
path: "/privilege",
name: "Privilege",
meta: {
title: "信息管理",
icon: "edit",
title: "权限管理",
icon: "User",
},
children: [
{
path: "/staffInfo",
name: "StaffInfo",
path: "/user-manager",
name: "UserManager",
meta: {
title: "人员信息",
icon: "edit",
title: "用户管理",
icon: "User",
},
component: () => import("../views/info/StaffInfo.vue"),
component: () => import("../views/privilege/StaffInfo.vue"),
},
{
path: "/editStuffInfo",
name: "EditStaffInfo",
hidden: true,
path: "/privilege-manager",
name: "PrivilegeManager",
meta: {
title: "编辑人员信息",
},
component: () => import("../views/info/EditStaffInfo.vue"),
},
{
path: "/newsIndex",
name: "NewsIndex",
meta: {
title: "信息列表",
title: "权限管理",
icon: "edit",
},
component: () => import("../views/news/News.vue"),
},
{
path: "/newsedit",
name: "NewsEdit",
meta: {
title: "信息编辑",
icon: "edit",
},
component: () => import("../views/news/NewsEdit.vue"),
component: () => import("../views/privilege/PrivilegeManager.vue"),
},
],
component: () => import("../layout/Index.vue"),
@@ -137,7 +119,7 @@ const routes = [
name: "NetworkManager",
meta: {
title: "网络管理",
icon: "User",
icon: "switch",
},
component: () => import("../layout/Index.vue"),
children: [