From 4422008672f79f74841e11f20430c5e76686e293 Mon Sep 17 00:00:00 2001 From: schangxiang@126.com <schangxiang@126.com> Date: 周四, 19 12月 2024 10:33:46 +0800 Subject: [PATCH] 修复 hmid更改合格状态,没清理 不合格原因的问题 --- 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