From 4e475294999e7053036cc162de388010f6ee3132 Mon Sep 17 00:00:00 2001
From: schangxiang@126.com <schangxiang@126.com>
Date: 周三, 08 1月 2025 07:33:02 +0800
Subject: [PATCH] 202518-修复op35设备状态不对的问题
---
yiqi_screen/src/components/ProductionCompletionTrend.vue | 8 ++------
1 files changed, 2 insertions(+), 6 deletions(-)
diff --git a/yiqi_screen/src/components/ProductionCompletionTrend.vue b/yiqi_screen/src/components/ProductionCompletionTrend.vue
index 22b5161..0410158 100644
--- a/yiqi_screen/src/components/ProductionCompletionTrend.vue
+++ b/yiqi_screen/src/components/ProductionCompletionTrend.vue
@@ -34,7 +34,6 @@
yData3 = [];
val.forEach((item) => {
console.log('ceshi', item.completionNum);
-
xData.push(item.month);
yData1.push({
value: item.completionNum,
@@ -45,11 +44,8 @@
yData3.push(item.planCompletionNum); //璁″垝
});
this.$set(this.option.xAxis, "data", xData);
- // console.log('---', yData1);
-
this.$set(this.option.series[0], "data", yData1);
this.$set(this.option.series[1], "data", yData2);
- // this.$set(this.option.series[2], "data", yData3);
this.$nextTick(() => {
this.myChart.setOption(this.option);
});
@@ -153,8 +149,8 @@
type: "pictorialBar",
// type: "bar",
symbol: 'image://'+zhu,
- data: [],
-
+ data: [],
+
// yAxisIndex: 0,
// color: {
// type: "linear",
--
Gitblit v1.9.3