From 3257ee72d5e2f61ead1ecd8bace36b16e6fd9e94 Mon Sep 17 00:00:00 2001
From: lzhe <lzhe@example.com>
Date: 星期五, 17 五月 2024 17:49:26 +0800
Subject: [PATCH] 1
---
src/views/mdc/station-live.vue | 14 +++++++-------
1 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/src/views/mdc/station-live.vue b/src/views/mdc/station-live.vue
index 70027b6..a022329 100644
--- a/src/views/mdc/station-live.vue
+++ b/src/views/mdc/station-live.vue
@@ -151,7 +151,7 @@
tooltip: {
trigger: 'item',
//formatter: '{a} <br/>{b} : {c} ({d}%)'
- formatter: '{a} 0鍒嗛挓'
+ formatter: '{a} {c}鍒嗛挓'
},
legend: {
orient: 'vertical',
@@ -410,8 +410,8 @@
},
getlogcart() { //鐝鐘舵�佽褰昪hart
var obj = {
- //date: this.wcsDate,
- date : "2024-05-15",
+ date: this.wcsDate,
+ //date : "2024-05-15",
humanFeedback: true,
workstationId: this.lastLevelId
}
@@ -442,7 +442,7 @@
var nowTime = moment().format("HH:mm:ss"); //11:37:54
var spaceTime = moment(obj.date + " " + nowTime).diff(moment(obj.date + " 00:00:00"), 'hours'); //绂诲綋澶�00:00:00杩囦簡澶氬皯灏忔椂
- console.log(spaceTime,obj.date + " " + nowTime,234)
+ //console.log(spaceTime,obj.date + " " + nowTime,234)
return;
//璁$畻鏃堕棿
var startOfDay = moment().startOf('day'); //00:00:00
@@ -495,7 +495,7 @@
interval: 1440/6, //姣忛殧澶氬皯鍒嗛挓鏄剧ず涓�涓埢搴�
axisLabel: {
formatter: (value)=> {
- console.log(value,111)
+ //console.log(value,111)
if(value == 0) {
return "00:00:00";
}else if(value == 240) {
@@ -560,7 +560,7 @@
var wcsOption = JSON.parse(JSON.stringify(this.wcsBeginOption));
if(res.data.length == 0) {
wcsOption.forEach(item=> {
- item.value = 20;
+ item.value = 0;
})
}else {
wcsOption.forEach(item=> {
@@ -638,7 +638,7 @@
this.$HTTP.get(`/api/blade-cps/workstation/get-dmp-variables?machineId=${machineId}&workstationId=${lastLevelId}`).then(res=> {
if(res.code == 200) {
this.dmpList = res.data;
- console.log(this.dmpList,111)
+ //console.log(this.dmpList,111)
}
})
},
--
Gitblit v1.9.3