|
@@ -90,11 +90,19 @@
|
|
|
class="right-panel mg-t-16"
|
|
|
:style="isFullScreen ? 'height: 19vh' : 'height: 22vh'"
|
|
|
title="故障情况"
|
|
|
-
|
|
|
style="cursor: pointer"
|
|
|
>
|
|
|
<template v-slot:tools>
|
|
|
- <div style="position: absolute;left: -115px;top: -5px;width: 100px;height: 30px;" @click.stop="clickTime('WT2000D121H85')"></div>
|
|
|
+ <div
|
|
|
+ style="
|
|
|
+ position: absolute;
|
|
|
+ left: -115px;
|
|
|
+ top: -5px;
|
|
|
+ width: 100px;
|
|
|
+ height: 30px;
|
|
|
+ "
|
|
|
+ @click.stop="clickTime('WT2000D121H85')"
|
|
|
+ ></div>
|
|
|
<div class="exchange">
|
|
|
<span
|
|
|
:class="probSwitch === 'z' ? 'white' : 'gray'"
|
|
@@ -213,7 +221,17 @@
|
|
|
title="故障情况"
|
|
|
>
|
|
|
<template v-slot:tools>
|
|
|
- <div style="position: absolute;left: -115px;top: -5px;width: 100px;height: 30px;cursor:pointer" @click.stop="clickTime('UP2000-130')"></div>
|
|
|
+ <div
|
|
|
+ style="
|
|
|
+ position: absolute;
|
|
|
+ left: -115px;
|
|
|
+ top: -5px;
|
|
|
+ width: 100px;
|
|
|
+ height: 30px;
|
|
|
+ cursor: pointer;
|
|
|
+ "
|
|
|
+ @click.stop="clickTime('UP2000-130')"
|
|
|
+ ></div>
|
|
|
<div class="exchange">
|
|
|
<span
|
|
|
:class="probSwitch2 === 'z' ? 'white' : 'gray'"
|
|
@@ -750,10 +768,11 @@ export default {
|
|
|
});
|
|
|
|
|
|
const powerMin = Math.min(...seriesSpeed);
|
|
|
- const powerMax = Math.max(...seriesSpeed);
|
|
|
+ const powerMax =
|
|
|
+ Math.max(...seriesSpeed) < 5 ? 5 : Math.max(...seriesSpeed);
|
|
|
const windSpeedMin = Math.min(...seriesGl);
|
|
|
const windSpeedMax = Math.max(...seriesGl);
|
|
|
- const splitNumber = 4;
|
|
|
+ const splitNumber = 5;
|
|
|
|
|
|
let series = [
|
|
|
{
|
|
@@ -792,10 +811,11 @@ export default {
|
|
|
});
|
|
|
|
|
|
const powerMin = Math.min(...seriesSpeed);
|
|
|
- const powerMax = Math.max(...seriesSpeed);
|
|
|
+ const powerMax =
|
|
|
+ Math.max(...seriesSpeed) < 5 ? 5 : Math.max(...seriesSpeed);
|
|
|
const windSpeedMin = Math.min(...seriesGl);
|
|
|
const windSpeedMax = Math.max(...seriesGl);
|
|
|
- const splitNumber = 4;
|
|
|
+ const splitNumber = 5;
|
|
|
|
|
|
let series = [
|
|
|
{
|
|
@@ -1027,9 +1047,11 @@ export default {
|
|
|
];
|
|
|
|
|
|
const powerMin = Math.min(...seriesSpeed);
|
|
|
- const powerMax = Math.max(...seriesSpeed);
|
|
|
+ const powerMax =
|
|
|
+ Math.max(...seriesSpeed) < 5 ? 5 : Math.max(...seriesSpeed);
|
|
|
const windSpeedMin = Math.min(...seriesGl);
|
|
|
const windSpeedMax = Math.max(...seriesGl);
|
|
|
+
|
|
|
const splitNumber = 5;
|
|
|
|
|
|
if (modelIds === "WT2000D121H85") {
|
|
@@ -1232,7 +1254,7 @@ export default {
|
|
|
},
|
|
|
axisLabel: {
|
|
|
formatter(value) {
|
|
|
- return parseFloat(value.toFixed(1));
|
|
|
+ return parseInt(value);
|
|
|
},
|
|
|
},
|
|
|
},
|
|
@@ -1260,7 +1282,7 @@ export default {
|
|
|
|
|
|
axisLabel: {
|
|
|
formatter(value) {
|
|
|
- return parseFloat(value.toFixed(3));
|
|
|
+ return parseFloat(value.toFixed(1));
|
|
|
},
|
|
|
},
|
|
|
},
|
|
@@ -1364,7 +1386,7 @@ export default {
|
|
|
},
|
|
|
axisLabel: {
|
|
|
formatter(value) {
|
|
|
- return parseFloat(value.toFixed(1));
|
|
|
+ return parseInt(value);
|
|
|
},
|
|
|
},
|
|
|
},
|
|
@@ -1391,7 +1413,7 @@ export default {
|
|
|
},
|
|
|
axisLabel: {
|
|
|
formatter(value) {
|
|
|
- return parseFloat(value.toFixed(3));
|
|
|
+ return parseFloat(value.toFixed(1));
|
|
|
},
|
|
|
},
|
|
|
},
|