数据
This commit is contained in:
@@ -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 () {
|
||||
|
||||
Reference in New Issue
Block a user