Browse Source

演示平台部署版本 7-4

liujiejie 2 weeks ago
parent
commit
ceb5e4026a

+ 2 - 2
src/components/map/index.vue

@@ -257,11 +257,11 @@ export default {
       layers: [
         new TileLayer({
           source: new XYZ({
-            // url: "http://106.120.102.238:18000/tiles/{z}/{x}/{y}.png", //外网
+            url: "http://106.120.102.238:18000/tiles/{z}/{x}/{y}.png", //外网
             // url: "http://127.0.0.1:8010/tiles/{z}/{x}/{y}.png", //本地
             // url: "http://192.168.50.235/tiles/{z}/{x}/{y}.png", //内网
             // url: "http://10.96.137.5:9080/tiles/{z}/{x}/{y}.png", //大~#@唐
-            url: "http://192.168.0.1/tiles/{z}/{x}/{y}.png", //华电
+            // url: "http://192.168.0.1/tiles/{z}/{x}/{y}.png", //华电
             // url: "http://192.168.50.235/tiles/{z}/{x}/{y}.png", //中广核
           }),
         }),

+ 2 - 2
src/router/index.js

@@ -28,8 +28,8 @@ const createRouter = () =>
             iconName: "gps",
             component: () =>
               import(
-                // /*webpackChunkName:'home-cockpitManage'*/ "../views/admin/cockpitManage/Index.vue"
-                /*webpackChunkName:'home-cockpitManage'*/ "../views/admin/cockpitManage/HD.vue" //华电选择这个
+                /*webpackChunkName:'home-cockpitManage'*/ "../views/admin/cockpitManage/Index.vue"
+                // /*webpackChunkName:'home-cockpitManage'*/ "../views/admin/cockpitManage/HD.vue" //华电选择这个
               ),
           },
           {

+ 4 - 4
src/store/themes.js

@@ -3,8 +3,8 @@ import { theme } from "tailwindcss/stubs/defaultConfig.stub";
 /*
  * @Author: your name
  * @Date: 2024-05-27 15:09:27
- * @LastEditTime: 2025-06-30 09:57:04
- * @LastEditors: milo-MacBook-Pro.local
+ * @LastEditTime: 2025-07-04 09:09:20
+ * @LastEditors: bogon
  * @Description: In User Settings Edit
  * @FilePath: /performance-test/src/store/themes.js
  */
@@ -12,8 +12,8 @@ import { colorSchemes } from "@/views/overview/js/colors";
 export default {
   namespaced: true,
   state: {
-    // theme: localStorage.getItem("theme") || "green",
-    theme: localStorage.getItem("theme") || "blue", //华电默认主题色
+    theme: localStorage.getItem("theme") || "green",
+    // theme: localStorage.getItem("theme") || "blue", //华电默认主题色
     themeColor: [...colorSchemes[0].colors],
   },
   mutations: {

+ 1 - 1
src/views/home/Index.vue

@@ -52,7 +52,7 @@ export default {
   data() {
     return {
       loading: false,
-      isShowHd: true, //true 则展示华电的菜单样式,false 则展示默认的左侧边栏菜单
+      isShowHd: false, //true 则展示华电的菜单样式,false 则展示默认的左侧边栏菜单
     };
   },
   methods: {

+ 2 - 2
src/views/home/components/MenuHD.vue

@@ -377,7 +377,7 @@ export default {
 </style>
 
 <!-- /* 华电时的菜单打开这个 */ -->
-<style lang="scss">
+<!-- <style lang="scss">
 .el-menu--popup {
   width: 100% !important;
   min-width: 120px !important;
@@ -388,4 +388,4 @@ export default {
     padding: 0 5px !important;
   }
 }
-</style>
+</style> -->

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

@@ -2,9 +2,9 @@
   <div class="background-image" v-loading="loadingView">
     <div class="border">
       <div class="leftLogin">
-        <!-- <h1>机组功率曲线异常检测数据分析系统</h1> -->
+        <h1>机组功率曲线异常检测数据分析系统</h1>
         <!-- 华电 -->
-        <h1>风电机组健康诊断平台</h1>
+        <!-- <h1>风电机组健康诊断平台</h1> -->
         <el-divider></el-divider>
         <div class="loginText">
           <el-form

+ 1 - 1
src/views/performance/components/chartsCom/Radar.vue

@@ -19,7 +19,7 @@ export default {
       default: [],
     },
     machineTypeCode: {
-      type: Object,
+      type: String,
       default: "",
     },
   },