优化登录和菜单

This commit is contained in:
龙运模
2024-06-26 18:53:48 +08:00
parent 084d29a1f2
commit c77310c675
20 changed files with 5164 additions and 5064 deletions
+2 -2
View File
@@ -40,13 +40,13 @@ const DEFAULT_CONFIG = {
//布局 默认:default | 通栏:header | 经典:menu | 功能坞:dock
//dock将关闭标签和面包屑栏
LAYOUT: "default",
LAYOUT: "menu",
//菜单是否折叠
MENU_IS_COLLAPSE: false,
//菜单是否启用手风琴效果
MENU_UNIQUE_OPENED: false,
MENU_UNIQUE_OPENED: true,
//是否开启多标签
LAYOUT_TAGS: true,
+38 -38
View File
@@ -29,24 +29,24 @@ const routes = [
title: "个人信息",
}
},{
name: "usercenter",
path: "/usercenter",
name: "document",
path: "/document",
component: "userCenter",
meta: {
icon: "sc-icon-UserInfo",
title: "文档管理",
}
},{
name: "usercenter",
path: "/usercenter",
name: "earlyWarning",
path: "/early-warning",
component: "userCenter",
meta: {
icon: "sc-icon-UserInfo",
title: "预警管理",
}
},{
name: "usercenter",
path: "/usercenter",
name: "mail",
path: "/mail",
component: "userCenter",
meta: {
icon: "sc-icon-UserInfo",
@@ -58,28 +58,28 @@ const routes = [
name: "order",
path: "/order",
meta: {
icon: "sc-icon-Home",
icon: "sc-icon-WorkOrder",
title: "维保工单",
},
children: [{
name: "dashboard",
path: "/dashboard",
name: "order",
path: "/order",
component: "home",
meta: {
icon: "sc-icon-Console",
title: "维保工单",
}
},{
name: "usercenter",
path: "/usercenter",
name: "plan",
path: "/plan",
component: "userCenter",
meta: {
icon: "sc-icon-UserInfo",
title: "维保计划",
}
},{
name: "usercenter",
path: "/usercenter",
name: "dataConfirm",
path: "/data-confirm",
component: "userCenter",
meta: {
icon: "sc-icon-UserInfo",
@@ -91,28 +91,28 @@ const routes = [
name: "stock",
path: "/stock",
meta: {
icon: "sc-icon-Home",
icon: "sc-icon-Stock",
title: "库存管理",
},
children: [{
name: "dashboard",
path: "/dashboard",
name: "stock",
path: "/stock",
component: "home",
meta: {
icon: "sc-icon-Console",
title: "库存列表",
}
},{
name: "usercenter",
path: "/usercenter",
name: "statistics",
path: "/statistics",
component: "userCenter",
meta: {
icon: "sc-icon-UserInfo",
title: "库存统计",
}
},{
name: "usercenter",
path: "/usercenter",
name: "accessForm",
path: "/access-form",
component: "userCenter",
meta: {
icon: "sc-icon-UserInfo",
@@ -124,28 +124,28 @@ const routes = [
name: "sell",
path: "/sell",
meta: {
icon: "sc-icon-Home",
icon: "sc-icon-Shipment",
title: "出货管理",
},
children: [{
name: "dashboard",
path: "/dashboard",
name: "shipment",
path: "/shipment",
component: "home",
meta: {
icon: "sc-icon-Console",
title: "出货清单",
}
},{
name: "usercenter",
path: "/usercenter",
name: "shipmentStatistics",
path: "/shipment-statistics",
component: "userCenter",
meta: {
icon: "sc-icon-UserInfo",
title: "出货统计",
}
},{
name: "usercenter",
path: "/usercenter",
name: "shipmentConfirm",
path: "/shipment-confirm",
component: "userCenter",
meta: {
icon: "sc-icon-UserInfo",
@@ -157,20 +157,20 @@ const routes = [
name: "finance",
path: "/finance",
meta: {
icon: "sc-icon-Home",
icon: "sc-icon-Finance",
title: "财务管理",
},
children: [{
name: "dashboard",
path: "/dashboard",
name: "finance",
path: "/finance",
component: "home",
meta: {
icon: "sc-icon-Console",
title: "费用成本",
}
},{
name: "usercenter",
path: "/usercenter",
name: "financeSummary",
path: "/finance-summary",
component: "userCenter",
meta: {
icon: "sc-icon-UserInfo",
@@ -182,20 +182,20 @@ const routes = [
name: "report",
path: "/report",
meta: {
icon: "sc-icon-Home",
icon: "sc-icon-ReportForms",
title: "报表统计",
},
children: [{
name: "dashboard",
path: "/dashboard",
name: "report",
path: "/report",
component: "home",
meta: {
icon: "sc-icon-Console",
title: "维保报表",
}
},{
name: "usercenter",
path: "/usercenter",
name: "outReport",
path: "/out-report",
component: "userCenter",
meta: {
icon: "sc-icon-UserInfo",
@@ -219,7 +219,7 @@ const routes = [
title: "系统设置",
}
},{
name: "user",
name: "userManage",
path: "/setting/user",
component: "setting/user",
meta: {