From cd84a28754fc1b3fadb7027245333d6d3ff330a3 Mon Sep 17 00:00:00 2001
From: zhouwx <1175765986@qq.com>
Date: 星期一, 19 八月 2024 17:22:53 +0800
Subject: [PATCH] bug修改

---
 src/router/index.js |   63 +++++++++++++++++++++++++++++--
 1 files changed, 58 insertions(+), 5 deletions(-)

diff --git a/src/router/index.js b/src/router/index.js
index 42cf5f2..ba0aad7 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 }
       }
     ]
   },
@@ -170,6 +209,20 @@
     ]
   },
   {
+    path: '/homePage',
+    component: Layout,
+    redirect: '/homePage',
+    meta: { title: '首页'},
+    children: [
+      {
+        path: 'homePage',
+        component: () => import('@/views/hazardousChemicals/homePage/index.vue'),
+        name: 'homePage',
+        meta: { title: '工作台',icon: 'form'}
+      },
+    ]
+  },
+  {
     path: '/systemManage',
     component: Layout,
     redirect: '/systemManage/warehouse',

--
Gitblit v1.9.2