From 95a61a884300f565dfa366b42bc16ab68ef88fe2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A4=9C=E7=AC=99=E6=AD=8C?= <2277317060@qq.com> Date: Tue, 5 Nov 2024 14:51:28 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/cs/index3.vue | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/src/views/cs/index3.vue b/src/views/cs/index3.vue index 7c9b4d6..2d17b18 100644 --- a/src/views/cs/index3.vue +++ b/src/views/cs/index3.vue @@ -136,11 +136,6 @@ export default { dryRoomDataCarousel().then(e => { this.table1Data = e.data.dryingroomList || [] }) - - getHourProductionList().then(e => { - this.CData = e.filter(v => v.equName.includes('成型机')) - this.HData = e.filter(v => v.equName.includes('烘房')) - }) EnergyExpend().then(e => { this.expend = e.map(v => v.expend).reduce((a, b) => a + b, 0).toFixed(2) }) @@ -171,6 +166,14 @@ export default { createTimeEnd = `${parseTime(new Date(), '{y}-{m}-{d}')} 19:30:00` } + getHourProductionList({ + productDateStart: createTimeStart, + productDateEnd: createTimeEnd + }).then(e => { + this.CData = e.filter(v => v.equName.includes('成型机')) + this.HData = e.filter(v => v.equName.includes('烘房')) + }) + getHfChartDatas({ createTimeStart: createTimeStart, createTimeEnd: createTimeEnd,