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/QualityDataTrends.vue | 19 ++++++++++++-------
1 files changed, 12 insertions(+), 7 deletions(-)
diff --git a/yiqi_screen/src/components/QualityDataTrends.vue b/yiqi_screen/src/components/QualityDataTrends.vue
index afdc693..ca95122 100644
--- a/yiqi_screen/src/components/QualityDataTrends.vue
+++ b/yiqi_screen/src/components/QualityDataTrends.vue
@@ -1,5 +1,5 @@
<template>
- <div class="box-container echarts3Box" style="height: 1.52rem" id="echarts3"></div>
+ <div class="box-container echarts3Box" id="echarts3"></div>
</template>
<script>
@@ -23,7 +23,7 @@
grid: {
left: 33,
right: 33,
- top: 20,
+ top: 55,
bottom:5,
},
yAxis: {
@@ -35,15 +35,16 @@
data: [],
type: "line",
// symbol:'none',
- symbolSize: 0,
+ // symbolSize: 0,
lineStyle: {
- color: "#fff",
+ color: "#7b8fe6",
},
itemStyle: {
normal: {
label: {
show: true,
- color: "#fff",
+
+ color: "#7b8fe6",
},
},
},
@@ -64,7 +65,6 @@
xData.push(item.workPieceID)
yData.push(item.qualityDataVaule)
});
- // console.log(xData,yData,this,'x,y');
this.$set(this.option.xAxis,'data',xData)
this.$set(this.option.series[0],'data',yData)
this.myChart.setOption(this.option);
@@ -141,5 +141,10 @@
</script>
<style>
-
+ .echarts3Box{
+ height: 150px !important;
+ /* background-color: #040d3d; */
+ /* width: 96%; */
+ margin: 0 auto;
+ }
</style>
\ No newline at end of file
--
Gitblit v1.9.3