ly 3 years ago
parent
commit
b7a4f16b08

+ 2 - 2
ui/src/views/login.vue

@@ -158,8 +158,8 @@ export default {
   justify-content: center;
   justify-content: center;
   align-items: center;
   align-items: center;
   height: 100%;
   height: 100%;
-  background-image: url("../assets/image/CPMS20210107.jpg");
-  //background-image: url("../assets/image/CPMS20211128.jpg");
+  //background-image: url("../assets/image/CPMS20210107.jpg");
+  background-image: url("../assets/image/CPMS20211128.jpg");
   background-size: cover;
   background-size: cover;
 }
 }
 .title {
 .title {

+ 1 - 1
ui/src/views/monitor/elec/elecindex.vue

@@ -184,7 +184,7 @@ export default {
       let routeData = this.$router.resolve({
       let routeData = this.$router.resolve({
         path: "/elecDashboard",
         path: "/elecDashboard",
       });
       });
-      window.open(routeData.href, '_blank');
+      window.open('/cpms/index.html#/elecDashboard', '_blank');
     }
     }
   }
   }
 };
 };

+ 1 - 1
ui/src/views/monitor/elec/index.vue

@@ -229,7 +229,7 @@
         let routeData = this.$router.resolve({
         let routeData = this.$router.resolve({
           path: "/BCCdashboard",
           path: "/BCCdashboard",
         });
         });
-        window.open(routeData.href, '_blank');
+        window.open('/cpms/index.html#/BCCdashboard', '_blank');
         // window.open('index.html#/bccHome?redirect=%2Findex');//path是文件的全路径地址cpms/index.html#/login?redirect=%2Findex
         // window.open('index.html#/bccHome?redirect=%2Findex');//path是文件的全路径地址cpms/index.html#/login?redirect=%2Findex
       }
       }
     }
     }