From 39868da3de6192d19dfd316c8be1c080b2d3ebe7 Mon Sep 17 00:00:00 2001
From: zhouwx <1175765986@qq.com>
Date: Fri, 18 Apr 2025 14:35:46 +0800
Subject: [PATCH] 修改
---
src/router/index.js | 53 +++++++++++++++++++++++++++++++++++++++++++++++++----
1 files changed, 49 insertions(+), 4 deletions(-)
diff --git a/src/router/index.js b/src/router/index.js
index ba0aad7..9a9c99a 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -183,6 +183,32 @@
]
},
{
+ path: '/avoidWarning',
+ component: Layout,
+ redirect: '/avoidWarning',
+ children: [
+ {
+ path: '/avoidWarning',
+ component: () => import('@/views/hazardousChemicals/avoidWarning/index.vue'),
+ name: 'avoidWarning',
+ meta: { title: '危化品相忌报警',icon: 'form', affix: true }
+ }
+ ]
+ },
+ {
+ path: '/useCount',
+ component: Layout,
+ redirect: '/useCount',
+ children: [
+ {
+ path: '/useCount',
+ component: () => import('@/views/hazardousChemicals/useCount/index.vue'),
+ name: 'useCount',
+ meta: { title: '用量统计',icon: 'form', affix: true }
+ }
+ ]
+ },
+ {
path: '/basicInfo',
component: Layout,
redirect: '/basicInfo',
@@ -209,15 +235,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'}
},
]
@@ -252,6 +278,25 @@
name: 'department',
meta: { title: '部门管理',icon: 'form'}
},
+ {
+ path: 'config',
+ component: () => import('@/views/hazardousChemicals/systemManage/config/index.vue'),
+ name: 'config',
+ meta: { title: '企业配置',icon: 'form'}
+ },
+ {
+ path: 'characteristic',
+ component: () => import('@/views/hazardousChemicals/systemManage/characteristic/index.vue'),
+ name: 'characteristic',
+ meta: { title: '危化品特性管理',icon: 'form'}
+ },
+ {
+ path: 'classifyInfoTable',
+ component: () => import('@/views/hazardousChemicals/systemManage/classifyInfoTable/index.vue'),
+ name: 'classifyInfoTable',
+ meta: { title: '危化品分类信息表',icon: 'form'}
+ },
+
]
},
--
Gitblit v1.9.2