chenrui 4 年之前
父节点
当前提交
36d2a1e73a
共有 2 个文件被更改,包括 30 次插入10 次删除
  1. 22 10
      src/config/router.config.js
  2. 8 0
      src/views/equipmentManage/network.vue

+ 22 - 10
src/config/router.config.js

@@ -139,16 +139,6 @@ export const asyncRouterMap = [{
           }
         ]
       },
-      // {
-      //   path: '/shop/goods',
-      //   name: 'goodsList',
-      //   component: () => import(/* webpackChunkName: "tenants" */ '@/views/shop/goodsList.vue'),
-      //   meta: {
-      //     title: '商品管理',
-      //     icon: 'shopping'
-      //     // permission: 'M_tenants_list'
-      //   }
-      // },
       {
         path: '/shop/goodsShelves',
         name: 'goodsShelves',
@@ -171,6 +161,28 @@ export const asyncRouterMap = [{
       }
     ]
   },
+  {
+    path: '/equipmentManage',
+    redirect: '/equipmentManage/network',
+    component: PageView,
+    meta: {
+      title: '网点设备管理',
+      icon: 'shop'
+      // permission: 'M_tenants_list'
+    },
+    children: [
+      {
+        path: '/equipmentManage/network',
+        name: 'network',
+        component: () => import(/* webpackChunkName: "tenants" */ '@/views/equipmentManage/network.vue'),
+        meta: {
+          title: '网点管理',
+          icon: 'profile'
+          // permission: 'M_tenants_list'
+        }
+      }
+    ]
+  },
   {
     path: '/shopSetting',
     redirect: '/shopSetting/bannerSetting',

+ 8 - 0
src/views/equipmentManage/network.vue

@@ -0,0 +1,8 @@
+<template>
+</template>
+
+<script>
+</script>
+
+<style>
+</style>