修改首页面板
This commit is contained in:
+55
-57
@@ -6,68 +6,66 @@
|
||||
|
||||
const routes = [
|
||||
{
|
||||
name: "view-permission",
|
||||
path:"/setting/user/view-permission",
|
||||
component:"setting/user/view-permission",
|
||||
name: "view-search",
|
||||
path:"/view-search",
|
||||
component:"home/search/index",
|
||||
meta: {
|
||||
code:"permission_system_user_view_permission",
|
||||
code:"",
|
||||
icon: "sc-icon-Home",
|
||||
title: "查看权限",
|
||||
hidden: true
|
||||
title: "搜索",
|
||||
},
|
||||
},
|
||||
|
||||
|
||||
// {
|
||||
// name: "home",
|
||||
// path: "/home",
|
||||
// meta: {
|
||||
// icon: "sc-icon-Home",
|
||||
// title: "首页",
|
||||
// hidden: true
|
||||
// },
|
||||
// children: [{
|
||||
// name: "dashboard",
|
||||
// path: "/dashboard",
|
||||
// component: "home/console",
|
||||
// meta: {
|
||||
// icon: "sc-icon-Console",
|
||||
// title: "控制台",
|
||||
// }
|
||||
// },{
|
||||
// name: "userCenter",
|
||||
// path: "/user-center",
|
||||
// component: "userCenter",
|
||||
// meta: {
|
||||
// icon: "sc-icon-UserInfo",
|
||||
// title: "个人信息",
|
||||
// }
|
||||
// },{
|
||||
// name: "document",
|
||||
// path: "/document",
|
||||
// component: "docsManager/index",
|
||||
// meta: {
|
||||
// icon: "sc-icon-UserInfo",
|
||||
// title: "文档管理",
|
||||
// }
|
||||
// },{
|
||||
// name: "earlyWarning",
|
||||
// path: "/early-warning",
|
||||
// component: "earlyManager/index",
|
||||
// meta: {
|
||||
// icon: "sc-icon-UserInfo",
|
||||
// title: "预警管理",
|
||||
// }
|
||||
// },{
|
||||
// name: "mail",
|
||||
// path: "/mail",
|
||||
// component: "userCenter",
|
||||
// meta: {
|
||||
// icon: "sc-icon-UserInfo",
|
||||
// title: "我的邮件",
|
||||
// }
|
||||
// }]
|
||||
// },
|
||||
{
|
||||
name: "home",
|
||||
path: "/home",
|
||||
meta: {
|
||||
icon: "sc-icon-Home",
|
||||
title: "首页",
|
||||
hidden: true
|
||||
},
|
||||
children: [{
|
||||
name: "dashboard",
|
||||
path: "/dashboard",
|
||||
component: "home/console",
|
||||
meta: {
|
||||
icon: "sc-icon-Console",
|
||||
title: "控制台",
|
||||
}
|
||||
},{
|
||||
name: "userCenter",
|
||||
path: "/user-center",
|
||||
component: "userCenter",
|
||||
meta: {
|
||||
icon: "sc-icon-UserInfo",
|
||||
title: "个人信息",
|
||||
}
|
||||
},{
|
||||
name: "document",
|
||||
path: "/document",
|
||||
component: "docsManager/index",
|
||||
meta: {
|
||||
icon: "sc-icon-UserInfo",
|
||||
title: "文档管理",
|
||||
}
|
||||
},{
|
||||
name: "earlyWarning",
|
||||
path: "/early-warning",
|
||||
component: "earlyManager/index",
|
||||
meta: {
|
||||
icon: "sc-icon-UserInfo",
|
||||
title: "预警管理",
|
||||
}
|
||||
},{
|
||||
name: "mail",
|
||||
path: "/mail",
|
||||
component: "userCenter",
|
||||
meta: {
|
||||
icon: "sc-icon-UserInfo",
|
||||
title: "我的邮件",
|
||||
}
|
||||
}]
|
||||
},
|
||||
{
|
||||
name: "order",
|
||||
path: "/order",
|
||||
|
||||
Reference in New Issue
Block a user