From a5b8938f2be523d3f0a4dfc3acef42aab8c77191 Mon Sep 17 00:00:00 2001
From: lzhe <lzhe@example.com>
Date: 星期四, 19 九月 2024 10:24:25 +0800
Subject: [PATCH] 1
---
src/views/mdc/components/recordChartsByDate.vue | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/views/mdc/components/recordChartsByDate.vue b/src/views/mdc/components/recordChartsByDate.vue
index 420422a..a547eb8 100644
--- a/src/views/mdc/components/recordChartsByDate.vue
+++ b/src/views/mdc/components/recordChartsByDate.vue
@@ -14,7 +14,7 @@
import * as echarts from 'echarts';
export default {
components: {saveDialog},
- props: ['achievements','date','workstationInfoList'],
+ props: ['achievements','date','workstationInfoList','humanFeedback'],
watch: {
},
data() {
@@ -85,11 +85,10 @@
return stauts;
},
getCharts() {
- console.log(this.workstationInfoList.length == 0,this.date == "",this.date,333)
if(this.date == "") return;
var obj = {
date: this.date,
- humanFeedback: true,
+ humanFeedback: this.humanFeedback,
machineFeedback: true,
workstationInfoList: this.workstationInfoList
}
@@ -101,6 +100,7 @@
res.data.records.reverse();
res.data.records.forEach((item,index)=> {
yAxisData.push(item.workstationInfo.name);
+ if(item.statusRecordList == null) item.statusRecordList = [];
//璁$畻寮�濮嬫椂闂达紝鏄剧ず鏃堕棿
item.statusRecordList.forEach(item1=> {
var initstart = item1.startTime.split(" ")[0]; //鏍规嵁鏃ユ湡璁$畻宸��
--
Gitblit v1.9.3