From c7df7a96bbf7ab87af9f522cccc0d978f748efc3 Mon Sep 17 00:00:00 2001
From: zhouwx <1175765986@qq.com>
Date: Sat, 14 Sep 2024 15:11:52 +0800
Subject: [PATCH] bug修改
---
src/router/index.js | 41 +++++++++++++++++++++++++++++++++++++----
1 files changed, 37 insertions(+), 4 deletions(-)
diff --git a/src/router/index.js b/src/router/index.js
index f215420..a3afac9 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -118,6 +118,32 @@
]
},
{
+ path: '/whRawDetail',
+ component: Layout,
+ redirect: '/whRawDetail',
+ children: [
+ {
+ path: '/whRawDetail',
+ component: () => import('@/views/hazardousChemicals/warehouseManage/components/rawDetail.vue'),
+ name: 'whRawDetail',
+ meta: { title: '危化品详情',icon: 'form', affix: true }
+ }
+ ]
+ },
+ {
+ path: '/whProDetail',
+ component: Layout,
+ redirect: '/whProDetail',
+ children: [
+ {
+ path: '/whProDetail',
+ component: () => import('@/views/hazardousChemicals/warehouseManage/components/proDetail.vue'),
+ name: 'whProDetail',
+ meta: { title: '成品详情',icon: 'form', affix: true }
+ }
+ ]
+ },
+ {
path: '/accessRecords',
component: Layout,
redirect: '/accessRecords',
@@ -183,15 +209,15 @@
]
},
{
- path: '/homePage',
+ path: '/homePageIndex',
component: Layout,
- redirect: '/homePage',
+ redirect: '/homePageIndex',
meta: { title: '首页'},
children: [
{
- path: 'homePage',
+ path: 'homePageIndex',
component: () => import('@/views/hazardousChemicals/homePage/index.vue'),
- name: 'homePage',
+ name: 'homePageIndex',
meta: { title: '工作台',icon: 'form'}
},
]
@@ -226,6 +252,13 @@
name: 'department',
meta: { title: '部门管理',icon: 'form'}
},
+ {
+ path: 'config',
+ component: () => import('@/views/hazardousChemicals/systemManage/config/index.vue'),
+ name: 'config',
+ meta: { title: '企业配置',icon: 'form'}
+ },
+
]
},
--
Gitblit v1.9.2