|
@@ -132,7 +132,7 @@ export default {
|
|
|
},
|
|
|
methods: {
|
|
|
updateCharts() {
|
|
|
- console.log(this.lineMarkerData, "this.lineMarkerData");
|
|
|
+ // console.log(this.lineMarkerData, "this.lineMarkerData");
|
|
|
this.powerCurveData.turbines =
|
|
|
this.lineMarkerData.data?.filter(
|
|
|
(item) => item.enginName !== "合同功率曲线"
|
|
@@ -173,8 +173,9 @@ export default {
|
|
|
line: this.config.powerConfig.line,
|
|
|
marker: this.config.powerConfig.marker,
|
|
|
});
|
|
|
+ // console.log(this.powerCurveData, "this.powerCurveData");
|
|
|
const layout = {
|
|
|
- title: this.config.lableConfig.title.text || "有功功率曲线分析",
|
|
|
+ title: "有功功率曲线分析" + this.lineMarkerData.engineTypeName,
|
|
|
plot_bgcolor: this.config.lableConfig.plot_bgcolor,
|
|
|
xaxis: this.config.lableConfig.xaxis,
|
|
|
yaxis: this.config.lableConfig.yaxis,
|
|
@@ -188,8 +189,8 @@ export default {
|
|
|
(item) =>
|
|
|
item.enginCode === this.lineMarkerData?.formInfoFieldEngineCode
|
|
|
);
|
|
|
- console.log(this.powerCurveData.turbines, "this.powerCurveData.turbines");
|
|
|
- console.log(fentuCharts, "fentuCharts");
|
|
|
+ // console.log(this.powerCurveData.turbines, "this.powerCurveData.turbines");
|
|
|
+ // console.log(fentuCharts, "fentuCharts");
|
|
|
if (fentuCharts[0]?.enginName || fentuCharts[0]?.enginCode) {
|
|
|
const highlightedData = [];
|
|
|
const nonHighlightedData = [];
|