From 0dd37d509b9f62a0bc313fbeccd3ca5c7cd36e55 Mon Sep 17 00:00:00 2001 From: zhouwx <1175765986@qq.com> Date: 星期三, 19 二月 2025 08:31:46 +0800 Subject: [PATCH] 特性、分类信息等修改 --- src/router/index.js | 95 +++++++++++++++++++++++++++++++++++++++++++++-- 1 files changed, 90 insertions(+), 5 deletions(-) diff --git a/src/router/index.js b/src/router/index.js index 42cf5f2..d963cbf 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -92,15 +92,54 @@ ] }, { - path: '/detailList', + path: '/rawDetail', component: Layout, - redirect: '/detailList', + redirect: '/rawDetail', children: [ { - path: '/detailList', - component: () => import('@/views/hazardousChemicals/detailList/index.vue'), - name: 'detailList', + path: '/rawDetail', + component: () => import('@/views/hazardousChemicals/electronicWarehouse/components/rawDetail.vue'), + name: 'rawDetail', meta: { title: '危化品详单',icon: 'form', affix: true } + } + ] + }, + { + path: '/proDetail', + component: Layout, + redirect: '/proDetail', + children: [ + { + path: '/proDetail', + component: () => import('@/views/hazardousChemicals/electronicWarehouse/components/proDetail.vue'), + name: 'proDetail', + meta: { title: '成品详单',icon: 'form', affix: true } + } + ] + }, + { + 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 } } ] }, @@ -144,6 +183,19 @@ ] }, { + 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: '/basicInfo', component: Layout, redirect: '/basicInfo', @@ -167,6 +219,20 @@ name: 'finishedBasicInfo', meta: { title: '成品基础信息',icon: 'form', affix: true } } + ] + }, + { + path: '/homePageIndex', + component: Layout, + redirect: '/homePageIndex', + meta: { title: '首页'}, + children: [ + { + path: 'homePageIndex', + component: () => import('@/views/hazardousChemicals/homePage/index.vue'), + name: 'homePageIndex', + meta: { title: '工作台',icon: 'form'} + }, ] }, { @@ -199,6 +265,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