Sfoglia il codice sorgente

添加标段管理

zhaoke 3 anni fa
parent
commit
14e24b887b

+ 23 - 1
src/router/routes/routes-file-one.js

@@ -98,8 +98,30 @@ const roleRoutes = {
   }]
 }
 
+//标段管理
+const lotRoutes = {
+  path: '/lot',
+  component: Layout,
+  meta: { title: '标段管理' },
+  children: [{
+    path: '/lot',
+    name: 'Lot',
+    component: () => import('@/views/lotAuthorization'),
+    meta: { title: '标段管理', icon: 'dashboard', imgstyle: 'ic_home_nav_defaul.png', imgstyleup: 'ic_home_nav_check.png', affix: true },
+    children: [
+      {
+        path: '/lot',
+        name: 'lotHome',
+        component: () => import('@/views/lotAuthorization/components/home.vue'),
+        meta: { title: '标段授权', icon: 'authority', imgstyle: 'ic_home_nav_defaul.png', imgstyleup: 'ic_home_nav_check.png' }
+      }
+    ]
+  }]
+}
+
 export default [
   dashboardRoutes,
   authorityRoutes,
-  roleRoutes
+  roleRoutes,
+  lotRoutes
 ]

+ 3 - 0
src/views/lotAuthorization/components/home.vue

@@ -0,0 +1,3 @@
+<template>
+  <div class="home">标段授权</div>
+</template>

+ 5 - 0
src/views/lotAuthorization/index.vue

@@ -0,0 +1,5 @@
+<template>
+  <div class="lotAuthorization">
+    <router-view />
+  </div>
+</template>