jc-wangyt 3 долоо хоног өмнө
parent
commit
1a293f1b0a

+ 4 - 2
src/layout/components/Sidebar/Logo.vue

@@ -1,5 +1,6 @@
 <template>
-  <div class="sidebar-logo-container" :class="{'collapse':collapse}" :style="{ backgroundColor: sideTheme === 'theme-dark' && navType !== 3 ? variables.menuBackground : variables.menuLightBackground }">
+<div>
+    <!-- <div class="sidebar-logo-container" :class="{'collapse':collapse}" :style="{ backgroundColor: sideTheme === 'theme-dark' && navType !== 3 ? variables.menuBackground : variables.menuLightBackground }">
     <transition name="sidebarLogoFade">
       <router-link v-if="collapse" key="collapse" class="sidebar-logo-link" to="/">
         <img v-if="logo" :src="logo" class="sidebar-logo" />
@@ -10,7 +11,8 @@
         <h1 class="sidebar-title" :style="{ color: sideTheme === 'theme-dark' && navType !== 3 ? variables.logoTitleColor : variables.logoLightTitleColor }">{{ title }} </h1>
       </router-link>
     </transition>
-  </div>
+  </div> -->
+</div>
 </template>
 
 <script>

+ 18 - 11
src/router/index.js

@@ -62,45 +62,52 @@ export const constantRoutes = [
     hidden: true
   },
   {
-    path: '',
+    path: '/bizoppmanage',
     component: Layout,
-    redirect: 'bizoppmanage',
-    meta: { title: '算网全流程平台', icon: 'dashboard', affix: true },
+    redirect: 'index',
+    meta: { title: '商机运营', icon: 'dashboard', affix: true },
     children: [
       {
-        path: 'bizoppmanage',
+        path: 'index',
         component: () => import('@/views/bizoppmanage/index'),
         name: 'BizOppManage',
         meta: { title: '商机运营', icon: 'dashboard', affix: true },
       },
       {
-        path: 'bizoppdetails',
+        path: 'details',
         component: () => import('@/views/bizoppmanage/details'),
         name: 'BizOppDetails',
         hidden: true,
         meta: { title: '商机详情', noCache: true, icon: 'dashboard', breadcrumb: false },
-      },
+      }
+    ]
+  },
+  {
+    path: '/openMarketBid',
+    component: Layout,
+    redirect: 'index',
+    meta: { title: '公开市场', icon: 'dashboard', affix: true },
+    children: [
       {
-        path: 'openMarketBid',
+        path: 'index',
         component: () => import('@/views/openMarketBid/index'),
         name: 'OpenMarketBid',
         meta: { title: '公开市场', icon: 'dashboard', affix: true },
       },
       {
-        path: 'openMarketBidDetails',
+        path: 'details',
         component: () => import('@/views/openMarketBid/details'),
         name: 'OpenMarketBidDetails',
         hidden: true,
         meta: { title: '公开市场详情', noCache: true, icon: 'dashboard', breadcrumb: false },
-      },
-
+      }
     ]
   },
 
   {
     path: '',
     component: Layout,
-    redirect: '/alarm/index',
+    redirect: '/bizoppmanage/index',
   },
   {
     path: '/alarm',