This commit is contained in:
2023-06-26 14:18:24 +08:00
parent 0bf859f615
commit b8796c15a2
10 changed files with 3076 additions and 3066 deletions

View File

@@ -684,7 +684,7 @@ export default {
},
mounted () {
this._workshopCondition()
// this.refresh()
this.refresh()
},
beforeDestroy () {
clearInterval(this.timer)
@@ -699,8 +699,17 @@ export default {
let res = await workshopCondition()
if (res.code === 200) {
this.HLDayList = [...res.result.HLDayList]
if (this.HLDayList.length) {
this.setEchart1()
}
this.YZDayList = [...res.result.YZDayList]
if (this.YZDayList.length) {
this.setEchart2()
}
this.CPDayList = [...res.result.CPDayList]
if (this.CPDayList.length) {
this.setEchart3()
}
this.PressMachineList = [...res.result.PressMachineList]
this.MixMachineList = [...res.result.MixMachineList]
this.MixBlankingList = [...res.result.MixBlankingList]
@@ -708,9 +717,6 @@ export default {
this.StackingPositionList = [...res.result.StackingPositionList]
this.TrappedMaterialShelfList = [...res.result.TrappedMaterialShelfList]
this.ManipulatorInfoList = [...res.result.ManipulatorInfoList]
this.setEchart1()
this.setEchart2()
this.setEchart3()
}
},
setEchart1 () {