|
|
|
@ -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,
|
|
|
|
|