Browse Source

去掉logo

lilei 3 years ago
parent
commit
0c974f97a4
3 changed files with 78 additions and 79 deletions
  1. 1 1
      src/components/tools/Logo.vue
  2. 75 75
      src/config/router.config.js
  3. 2 3
      src/layouts/UserLayout.vue

+ 1 - 1
src/components/tools/Logo.vue

@@ -3,7 +3,7 @@
     <router-link :to="{name:'index'}">
       <!-- <LogoSvg alt="logo" /> -->
       <!-- <img :src="LogoSvg" /> -->
-      <img :src="logo" alt="logo" />
+      <!-- <img :src="logo" alt="logo" /> -->
       <h1 v-if="showTitle">{{ title }}</h1>
     </router-link>
   </div>

+ 75 - 75
src/config/router.config.js

@@ -319,31 +319,31 @@ export const asyncRouterMap = [
               }
             ]
           },
-          {
-            path: '/salesManagement/salesman',
-            redirect: '/salesManagement/salesman/list',
-            name: 'salesman',
-            component: BlankLayout,
-            meta: {
-              title: '业务员管理',
-              icon: 'file-search',
-              permission: 'M_salesman_list'
-            },
-            hideChildrenInMenu: true,
-            children: [
-              {
-                path: 'list',
-                name: 'salesmanList',
-                component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/salesman/list.vue'),
-                meta: {
-                  title: '业务员列表',
-                  icon: 'file-search',
-                  hidden: true,
-                  permission: 'M_salesman_list'
-                }
-              }
-            ]
-          }
+          // {
+          //   path: '/salesManagement/salesman',
+          //   redirect: '/salesManagement/salesman/list',
+          //   name: 'salesman',
+          //   component: BlankLayout,
+          //   meta: {
+          //     title: '业务员管理',
+          //     icon: 'file-search',
+          //     permission: 'M_salesman_list'
+          //   },
+          //   hideChildrenInMenu: true,
+          //   children: [
+          //     {
+          //       path: 'list',
+          //       name: 'salesmanList',
+          //       component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/salesman/list.vue'),
+          //       meta: {
+          //         title: '业务员列表',
+          //         icon: 'file-search',
+          //         hidden: true,
+          //         permission: 'M_salesman_list'
+          //       }
+          //     }
+          //   ]
+          // }
         ]
       },
       // 采购管理
@@ -1149,31 +1149,31 @@ export const asyncRouterMap = [
               }
             ]
           },
-          {
-            path: '/inventoryManagement/inventoryImport',
-            redirect: '/inventoryManagement/inventoryImport/list',
-            name: 'inventoryImport',
-            component: BlankLayout,
-            meta: {
-              title: '库存导入',
-              icon: 'frown'
-              // permission: 'M_bulkReturnGoodsList'
-            },
-            hideChildrenInMenu: true,
-            children: [
-              {
-                path: 'list',
-                name: 'inventoryImportList',
-                component: () => import(/* webpackChunkName: "shop" */ '@/views/inventoryManagement/inventoryImport/list.vue'),
-                meta: {
-                  title: '库存导入列表',
-                  icon: 'frown',
-                  hidden: true
-                  // permission: 'M_bulkReturnGoodsList'
-                }
-              }
-            ]
-          },
+          // {
+          //   path: '/inventoryManagement/inventoryImport',
+          //   redirect: '/inventoryManagement/inventoryImport/list',
+          //   name: 'inventoryImport',
+          //   component: BlankLayout,
+          //   meta: {
+          //     title: '库存导入',
+          //     icon: 'frown'
+          //     // permission: 'M_bulkReturnGoodsList'
+          //   },
+          //   hideChildrenInMenu: true,
+          //   children: [
+          //     {
+          //       path: 'list',
+          //       name: 'inventoryImportList',
+          //       component: () => import(/* webpackChunkName: "shop" */ '@/views/inventoryManagement/inventoryImport/list.vue'),
+          //       meta: {
+          //         title: '库存导入列表',
+          //         icon: 'frown',
+          //         hidden: true
+          //         // permission: 'M_bulkReturnGoodsList'
+          //       }
+          //     }
+          //   ]
+          // },
           {
             path: '/inventoryManagement/warehouse',
             redirect: '/inventoryManagement/warehouse/list',
@@ -1328,31 +1328,31 @@ export const asyncRouterMap = [
               }
             ]
           },
-          {
-            path: '/bulkManagement/bulkImport',
-            redirect: '/bulkManagement/bulkImport/list',
-            name: 'bulkImport',
-            component: BlankLayout,
-            meta: {
-              title: '散件导入',
-              icon: 'frown'
-              // permission: 'M_bulkReturnGoodsList'
-            },
-            hideChildrenInMenu: true,
-            children: [
-              {
-                path: 'list',
-                name: 'bulkImportList',
-                component: () => import(/* webpackChunkName: "shop" */ '@/views/bulkManagement/bulkImport/list.vue'),
-                meta: {
-                  title: '散件导入列表',
-                  icon: 'frown',
-                  hidden: true
-                  // permission: 'M_bulkReturnGoodsList'
-                }
-              }
-            ]
-          }
+          // {
+          //   path: '/bulkManagement/bulkImport',
+          //   redirect: '/bulkManagement/bulkImport/list',
+          //   name: 'bulkImport',
+          //   component: BlankLayout,
+          //   meta: {
+          //     title: '散件导入',
+          //     icon: 'frown'
+          //     // permission: 'M_bulkReturnGoodsList'
+          //   },
+          //   hideChildrenInMenu: true,
+          //   children: [
+          //     {
+          //       path: 'list',
+          //       name: 'bulkImportList',
+          //       component: () => import(/* webpackChunkName: "shop" */ '@/views/bulkManagement/bulkImport/list.vue'),
+          //       meta: {
+          //         title: '散件导入列表',
+          //         icon: 'frown',
+          //         hidden: true
+          //         // permission: 'M_bulkReturnGoodsList'
+          //       }
+          //     }
+          //   ]
+          // }
         ]
       },
       // 报表

+ 2 - 3
src/layouts/UserLayout.vue

@@ -4,10 +4,9 @@
     <div class="container">
       <div class="top">
         <div class="header">
-          <a href="/">
+          <!-- <a href="/">
             <img :src="logo" class="logo" alt="logo" />
-            <!-- <span class="title">{{logo}}</span> -->
-          </a>
+          </a> -->
         </div>
         <div class="desc">{{ title }}</div>
       </div>