a1140836302 2 lat temu
rodzic
commit
1aba1effca

+ 1 - 1
src/layout/components/Navbar.vue

@@ -84,7 +84,7 @@ export default {
     },
     //菜单路由
     menuList(){
-      //console.log(this.permission_routes);
+      console.log(this.permission_routes);
       // this.PermissionList = this.permission_routes.slice(5, 11);
       this.PermissionList = this.permission_routes.slice(5, 9);
     },

+ 7 - 6
src/router/index.js

@@ -6,7 +6,6 @@ Vue.use(Router)
 import Layout from '@/layout'
 
 export const constantRoutes = [
-  { path: '/', redirect: '/power-change-monitoring'},
   {
     path: '/redirect',
     component: Layout,
@@ -33,10 +32,11 @@ export const constantRoutes = [
     component: () => import('@/views/error-page/404'),
     hidden: true
   },
-  {
-    path: '/401',
-    component: () => import('@/views/error-page/401'),
-    hidden: true
+  { 
+    path: '/', 
+    redirect: '/power-change-monitoring',
+    component: Layout,
+    hidden: true,
   },
   {
     path: '/power-change-monitoring',
@@ -73,7 +73,8 @@ export const constantRoutes = [
         meta: { title: '统计分析', icon: 'tjfx', noCache: true }
       }
     ]
-  }
+  },
+
 ]
 
 /**

+ 5 - 0
src/styles/element-ui.scss

@@ -150,6 +150,11 @@
     background-color:#1d283e;
     border-bottom: #2f3c86 solid 1px;
   }
+  .el-table__fixed-right-patch{
+    background-color: #1d283e;
+    border-bottom: #2f3c86 solid 1px;
+    top: 0;
+  }
 }
 .el-table::before {
   display: none;

+ 1 - 1
src/views/permission/page.vue

@@ -66,7 +66,7 @@
           <el-table-column
             prop="chgId"
             label="充电流水号"
-            width="120"
+            width="270"
           />
           <el-table-column
             prop="chgSn"