zhouwx
2024-08-15 d815fbd281d6bb9c1fff1712614bf9738fd32d73
src/router/index.js
@@ -92,15 +92,28 @@
    ]
  },
  {
    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 }
      }
    ]
  },
@@ -170,6 +183,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',