shilin vor 3 Jahren
Ursprung
Commit
46db2dc974

+ 1 - 0
src/components/other/healthReport/index.vue

@@ -401,6 +401,7 @@ export default {
       let that = this;
       let reqData = this.params;
       that.API.requestData({
+        timeout:30000,
         method: "POST",
         subUrl: "reportnew/healthReport",
         data: reqData,

+ 1 - 1
src/store/index.js

@@ -6,7 +6,7 @@ const debug = process.env.NODE_ENV !== 'production';
 
 // 默认状态
 const state = {
-  websocketTimeSec: 5000,
+  websocketTimeSec: 1000,
   loading: false, //全局 - 加载中....
   themeName: "light", // 主题
   windturbineMap: {},

+ 1 - 1
src/views/Home/Home.vue

@@ -627,7 +627,7 @@ export default {
             subUrl: "genreset/findGLDetail",
             targetName: "ssfs",
             dialogType: "powerLineChart",
-            max: res.data.jczbmap.zjts
+            max: 30
           }, {
             title: "保证功率",
             value: res.data.jczbmap.bzgl,

+ 3 - 3
src/views/WindSite/pages/Home/Home.vue

@@ -697,9 +697,9 @@ export default {
     that.$nextTick(() => {
       that.getWp();
       that.requestData(false);
-      that.timmer = setInterval(() => {
-        that.requestData(false);
-      }, that.$store.state.websocketTimeSec);
+      // that.timmer = setInterval(() => {
+      //   that.requestData(false);
+      // }, that.$store.state.websocketTimeSec);
       that.timmer2 = setInterval(() => {
         that.nowTime = new Date().formatDate("hh:mm:ss");
       }, 1000);

+ 6 - 6
src/views/WindSite/pages/Tower.vue

@@ -27,7 +27,7 @@
                 </div>
             </div>
         </Panel>
-        <toolbar-panel class="rose-chart" title="功率曲线">
+      <toolbar-panel class="rose-chart" title="功率曲线">
             <template v-slot:tools>
                 <div class="tools">
                     <div class="tool-block">
@@ -55,7 +55,7 @@
                         <div class="legend-text">风速</div>
                     </div>
                 </div>
-            </template>
+            </template> 
             <template v-slot:default>
                 <!-- 日发电量 -->
                 <multiple-line-chart :list="Powertrend.value" :units="Powertrend.units" height="28vh" />
@@ -69,7 +69,7 @@ import Wave from "@com/three/wave.vue";
 import Windmill from "../components/Windmill.vue";
 import ToolbarPanel from "@com/coms/panel/toolbar-panel.vue";
 import Panel from "@com/coms/panel/panel.vue";
-import MultipleLineChart from "@com/chart/line/multiple-line-chart.vue";
+import MultipleLineChart from "@com/chart/line/normal-line-chart";
 import WindTower from "./Tower/WindTower.vue";
 import DashPieChart from "@com/chart/pie/dash-pie-chart.vue";
 import DirectionRadarChart from "@com/chart/radar/radar-chart.vue";
@@ -245,9 +245,9 @@ export default {
     that.wpId = that.$route.params.wpId;
     that.$nextTick(() => {
       that.requestData(false);
-      that.timmer = setInterval(() => {
-        that.requestData(false);
-      }, that.$store.state.websocketTimeSec);
+      // that.timmer = setInterval(() => {
+      //   that.requestData(false);
+      // }, that.$store.state.websocketTimeSec);
     });
   },
 

+ 94 - 42
src/views/layout/Menu.vue

@@ -344,15 +344,16 @@ export default {
           text: "健康管理",
           data: [
             {
+              text: "等级评估",
+              icon: "svg-wind-site",
+              path: "/djpg",
+              
+            },{
               text: "健康管理",
               icon: "svg-wind-site",
               path: "/health",
               children: [
-                {
-                  text: "量化评级",
-                  icon: "svg-wind-site",
-                  path: "/djpg",
-                },
+              
                 {
                   text: "健康推荐",
                   icon: "svg-wind-site",
@@ -384,6 +385,11 @@ export default {
                   path: "/health/health8",
                 },
               ],
+            },{
+              text: "全生命周期",
+              icon: "svg-wind-site",
+              path: "/allLifeManage",
+             
             },
           ],
         },
@@ -392,45 +398,91 @@ export default {
           text: "决策支持",
           data: [
             {
-              text: "风机绩效榜",
+              text: "对标管理",
               icon: "svg-matrix",
               path: "/decision/decision1",
-            },
-            {
-              text: "五项损失率",
-              icon: "svg-matrix",
-              path: "/decision/decision2",
-            },
-            {
-              text: "场内对标",
-              icon: "svg-matrix",
-              path: "/decision/decision2Cndb",
-            },
-            {
-              text: "场际对标",
-              icon: "svg-matrix",
-              path: "/decision/decision2Cjdb",
-            },
-            {
-              text: "项目对标",
-              icon: "svg-matrix",
-              path: "/decision/decision2Xmdb",
-            },
-            {
-              text: "线路对标",
-              icon: "svg-matrix",
-              path: "/decision/decision2Xldb",
-            },
-            {
-              text: "性能对标",
-              icon: "svg-matrix",
-              path: "/decision/decision3",
-            },
-            {
-              text: "值际对标",
-              icon: "svg-matrix",
-              path: "/decision/decision4",
-            },
+              children: [
+              
+                {
+                  text: "风机绩效榜",
+                  icon: "svg-wind-site",
+                  path: "/decision/decision1",
+                },
+                {
+                  text: "五项损失率",
+                  icon: "svg-wind-site",
+                  path: "/decision/decision2",
+                },
+                {
+                  text: "场内对标",
+                  icon: "svg-wind-site",
+                  path: "/decision/decision2Cndb",
+                },
+                {
+                  text: "场际对标",
+                  icon: "svg-wind-site",
+                  path: "/decision/decision2Cjdb",
+                },
+                {
+                  text: "项目对标",
+                  icon: "svg-wind-site",
+                  path: "/decision/decision2Xmdb",
+                },
+                {
+                  text: "线路对标",
+                  icon: "svg-wind-site",
+                  path: "/decision/decision2Xldb",
+                },
+                {
+                  text: "性能对标",
+                  icon: "svg-wind-site",
+                  path: "/decision/decision3",
+                },
+                {
+                  text: "值际对标",
+                  icon: "svg-wind-site",
+                  path: "/decision/decision4",
+                },
+                
+              ],
+            }
+            // ,
+            // {
+            //   text: "五项损失率",
+            //   icon: "svg-matrix",
+            //   path: "/decision/decision2",
+            // },
+            // {
+            //   text: "场内对标",
+            //   icon: "svg-matrix",
+            //   path: "/decision/decision2Cndb",
+            // },
+            // {
+            //   text: "场际对标",
+            //   icon: "svg-matrix",
+            //   path: "/decision/decision2Cjdb",
+            // },
+            // {
+            //   text: "项目对标",
+            //   icon: "svg-matrix",
+            //   path: "/decision/decision2Xmdb",
+            // },
+            // {
+            //   text: "线路对标",
+            //   icon: "svg-matrix",
+            //   path: "/decision/decision2Xldb",
+            // },
+            // {
+            //   text: "性能对标",
+            //   icon: "svg-matrix",
+            //   path: "/decision/decision3",
+            // },
+            // {
+            //   text: "值际对标",
+            //   icon: "svg-matrix",
+            //   path: "/decision/decision4",
+            // }
+            ,
             {
               text: "排行榜",
               icon: "svg-matrix",