From 6f035bae8e9ce978c49941518de57585b77e8d7d Mon Sep 17 00:00:00 2001
From: schangxiang@126.com <schangxiang@126.com>
Date: 周四, 02 1月 2025 14:22:31 +0800
Subject: [PATCH] 去掉不用的代码
---
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