From d815fbd281d6bb9c1fff1712614bf9738fd32d73 Mon Sep 17 00:00:00 2001
From: zhouwx <1175765986@qq.com>
Date: Thu, 15 Aug 2024 17:29:12 +0800
Subject: [PATCH] 工作台
---
src/layout/components/Sidebar/menu.js | 54 ++++++++++++++++++++++++++++++++++++++++--------------
1 files changed, 40 insertions(+), 14 deletions(-)
diff --git a/src/layout/components/Sidebar/menu.js b/src/layout/components/Sidebar/menu.js
index fc6a211..b017f9e 100644
--- a/src/layout/components/Sidebar/menu.js
+++ b/src/layout/components/Sidebar/menu.js
@@ -2,6 +2,19 @@
const menu = {
adminMenu: [
{
+ path: '/homePage',
+ redirect: '/homePage',
+ meta: { title: '首页',icon: 'server'},
+ children: [
+
+ {
+ path: 'homePage',
+ name: 'company',
+ meta: { title: '工作台',icon: 'server'}
+ } ,
+ ]
+ },
+ {
path: '/warehouseManage',
name: 'warehouseManage',
meta: { title: '入库管理',icon: 'form',affix: true }
@@ -12,11 +25,11 @@
name: 'electronicWarehouse',
meta: { title: '电子仓库',icon: 'build',affix: true }
},
- {
- path: '/detailList',
- name: 'detailList',
- meta: { title: '危化品详单',icon: 'education',affix: true }
- },
+ // {
+ // path: '/detailList',
+ // name: 'detailList',
+ // meta: { title: '危化品详单',icon: 'education',affix: true }
+ // },
{
path: '/accessRecords',
name: 'accessRecords',
@@ -35,12 +48,12 @@
{
path: '/basicInfo',
name: 'basicInfo',
- meta: { title: '危化品基础信息',icon: 'server',affix: true }
+ meta: { title: '危化品基础信息',icon: 'monitor',affix: true }
},
{
path: '/finishedBasicInfo',
name: 'finishedBasicInfo',
- meta: { title: '成品基础信息',icon: 'server',affix: true }
+ meta: { title: '成品基础信息',icon: 'monitor',affix: true }
},
{
path: '/systemManage',
@@ -72,6 +85,19 @@
],
companyMenu: [
{
+ path: '/homePage',
+ redirect: '/homePage',
+ meta: { title: '首页',icon: 'server'},
+ children: [
+
+ {
+ path: 'homePage',
+ name: 'company',
+ meta: { title: '工作台',icon: 'server'}
+ } ,
+ ]
+ },
+ {
path: '/warehouseManage',
name: 'warehouseManage',
meta: { title: '入库管理',icon: 'form',affix: true }
@@ -81,11 +107,11 @@
name: 'electronicWarehouse',
meta: { title: '电子仓库',icon: 'build',affix: true }
},
- {
- path: '/detailList',
- name: 'detailList',
- meta: { title: '危化品详单',icon: 'education',affix: true }
- },
+ // {
+ // path: '/detailList',
+ // name: 'detailList',
+ // meta: { title: '危化品详单',icon: 'education',affix: true }
+ // },
{
path: '/accessRecords',
name: 'accessRecords',
@@ -104,12 +130,12 @@
{
path: '/basicInfo',
name: 'basicInfo',
- meta: { title: '危化品基础信息',icon: 'server',affix: true }
+ meta: { title: '危化品基础信息',icon: 'monitor',affix: true }
},
{
path: '/finishedBasicInfo',
name: 'finishedBasicInfo',
- meta: { title: '成品基础信息',icon: 'server',affix: true }
+ meta: { title: '成品基础信息',icon: 'monitor',affix: true }
},
{
path: '/systemManage',
--
Gitblit v1.9.2