diff --git a/src/pages/modules/SortWorkMonitor.vue b/src/pages/modules/SortWorkMonitor.vue index 8539a88..67c11b4 100644 --- a/src/pages/modules/SortWorkMonitor.vue +++ b/src/pages/modules/SortWorkMonitor.vue @@ -33,6 +33,7 @@
数量:{{topSec1.planQty}}
+
@@ -233,16 +234,17 @@ export default { }, async _cockpitsorting () { let res = await cockpitsorting() - this.topSec1 = res.sortingLine.sortingLines[0] - this.topSec2 = res.sortingLine.sortingLines[1] || [] - this.topSec3 = res.sortingLine.rgSortingLine - this.topObj = res.sortingLine - this.setEchart01() - this.setEchart02() - this.setEchart03() - this.lastWorkOrderList = [...res.lastWorkOrderList] this.chaiduoArr = [...res.unstackingList] this.maduoArr = [...res.stackingList] + this.lastWorkOrderList = [...res.lastWorkOrderList] + // 头部三个图 + this.topObj = res.sortingLine + this.topSec3 = res.sortingLine.rgSortingLine + this.topSec1 = res.sortingLine.sortingLines[0] || [] + this.topSec2 = res.sortingLine.sortingLines[1] || [] + this.setEchart03() + this.setEchart01() + this.setEchart02() }, setEchart01 () { let colors = ['#1980EA', '#67D470', '#B4C9EF', '#EF5252', '#BCBF5C', '#6d5edd', '#bf41bb']