Commit ffa58b8a authored by 李志鸣's avatar 李志鸣

fea(涂装车间LED): 涂装车间LED功能联调

parent 5be99869
...@@ -5,45 +5,45 @@ ...@@ -5,45 +5,45 @@
<div class="table-pack"> <div class="table-pack">
<div class="tr clear-float"> <div class="tr clear-float">
<div class="th-l">昨日进车数量</div> <div class="th-l">昨日进车数量</div>
<div class="th-2">{{yesterdayDataIN.size}}</div> <div class="th-2">{{yesterdayDataIN}}</div>
<div class="th-3">昨日交车数量</div> <div class="th-3">昨日交车数量</div>
<div class="th-4">{{yesterdayDataOUT.size}}</div> <div class="th-4">{{yesterdayDataOUT}}</div>
</div> </div>
<div class="tr clear-float"> <div class="tr clear-float">
<div class="th-l">当日进车数量</div> <div class="th-l">当日进车数量</div>
<div class="th-2">{{todayDataIN.size}}</div> <div class="th-2">{{todayDataIN}}</div>
<div class="th-3">当日交车数量</div> <div class="th-3">当日交车数量</div>
<div class="th-4">{{todayDataOUT.size}}</div> <div class="th-4">{{todayDataOUT}}</div>
</div> </div>
<div class="tr clear-float"> <div class="tr clear-float">
<div class="th-l">电泳当日进车数量</div> <div class="th-l">电泳当日进车数量</div>
<div class="th-2">{{electrophoresesDataIN.size}}</div> <div class="th-2">{{electrophoresesDataIN}}</div>
<div class="th-3">电泳当日交车数量</div> <div class="th-3">电泳当日交车数量</div>
<div class="th-4">{{electrophoresesDataOUT.size}}</div> <div class="th-4">{{electrophoresesDataOUT}}</div>
</div> </div>
<div class="tr clear-float"> <div class="tr clear-float">
<div class="th-l">隔热防腐当日进车</div> <div class="th-l">隔热防腐当日进车</div>
<div class="th-2">{{width}}</div> <div class="th-2">{{insulatingAnticorrosiveDataIN}}</div>
<div class="th-3">隔热防腐当日交车</div> <div class="th-3">隔热防腐当日交车</div>
<div class="th-4">{{height}}</div> <div class="th-4">{{insulatingAnticorrosiveDataOUT}}</div>
</div> </div>
<div class="tr clear-float"> <div class="tr clear-float">
<div class="th-l">腻子当日进车数量</div> <div class="th-l">腻子当日进车数量</div>
<div class="th-2">{{height}}</div> <div class="th-2">{{puttyDataIN}}</div>
<div class="th-3">腻子当日交车数量</div> <div class="th-3">腻子当日交车数量</div>
<div class="th-4">{{width}}</div> <div class="th-4">{{puttyDataOUT}}</div>
</div> </div>
<div class="tr clear-float"> <div class="tr clear-float">
<div class="th-l">中涂当日进车数量</div> <div class="th-l">中涂当日进车数量</div>
<div class="th-2">{{height}}</div> <div class="th-2">{{floatingCoatDataIN}}</div>
<div class="th-3">中涂当日交车数量</div> <div class="th-3">中涂当日交车数量</div>
<div class="th-4">{{width}}</div> <div class="th-4">{{floatingCoatDataOUT}}</div>
</div> </div>
<div class="tr clear-float"> <div class="tr clear-float">
<div class="th-l borderBot">面/清漆当日进车数量</div> <div class="th-l borderBot">面/清漆当日进车数量</div>
<div class="th-2 borderBot">{{width}}</div> <div class="th-2 borderBot">{{surfaceVarnishDataIN}}</div>
<div class="th-3 borderBot">面/清漆当日交车数量</div> <div class="th-3 borderBot">面/清漆当日交车数量</div>
<div class="th-4 borderBot">{{width}}</div> <div class="th-4 borderBot">{{surfaceVarnishDataOUT}}</div>
</div> </div>
<div class="time">时间:{{ timeNow }}</div> <div class="time">时间:{{ timeNow }}</div>
</div> </div>
...@@ -61,37 +61,37 @@ ...@@ -61,37 +61,37 @@
height: 0, height: 0,
zoom: 'scale(0)', zoom: 'scale(0)',
// 屏幕显示当前时间 // 屏幕显示当前时间
timeNow: '', timeNow: null,
// Data轮询定时器 // Data轮询定时器
dataTimer: '', dataTimer: null,
// 当日进车数据 // 当日进车数据
todayDataIN: {}, todayDataIN: null,
// 当日出车数据 // 当日出车数据
todayDataOUT: {}, todayDataOUT: null,
// 昨日进车数据 // 昨日进车数据
yesterdayDataIN: {}, yesterdayDataIN: null,
// 昨日出车数据 // 昨日出车数据
yesterdayDataOUT: {}, yesterdayDataOUT: null,
// 电泳车辆进车数据 // 电泳车辆进车数据
electrophoresesDataIN: {}, electrophoresesDataIN: null,
// 电泳车辆出车数据 // 电泳车辆出车数据
electrophoresesDataOUT: {}, electrophoresesDataOUT: null,
// 隔热防腐当日车辆进车数据 // 隔热防腐当日车辆进车数据
insulatingAnticorrosiveDataIN: {}, insulatingAnticorrosiveDataIN: null,
// 隔热防腐当日车辆出车数据 // 隔热防腐当日车辆出车数据
insulatingAnticorrosiveDataOUT: {}, insulatingAnticorrosiveDataOUT: null,
// 腻子当日车辆进车数据 // 腻子当日车辆进车数据
puttyDataIN: {}, puttyDataIN: null,
// 腻子当日车辆出车数据 // 腻子当日车辆出车数据
puttyDataOUT: {}, puttyDataOUT: null,
// 中涂当日车辆进车数据 // 中涂当日车辆进车数据
floatingCoatDataIN: {}, floatingCoatDataIN: null,
// 中涂当日车辆出车数据 // 中涂当日车辆出车数据
floatingCoatDataOUT: {}, floatingCoatDataOUT: null,
// 面/清漆当日车辆进车数据 // 面/清漆当日车辆进车数据
surfaceVarnishDataIN: {}, surfaceVarnishDataIN: null,
// 面/清漆当日车辆出车数据 // 面/清漆当日车辆出车数据
surfaceVarnishDataOUT: {}, surfaceVarnishDataOUT: null,
tempData: [ tempData: [
{ {
'id': null, 'id': null,
...@@ -150,21 +150,18 @@ ...@@ -150,21 +150,18 @@
console.log(res) console.log(res)
for (let item of this.tempData) { for (let item of this.tempData) {
if (item.areaNo === '0') { if (item.areaNo === '0') {
// console.log(item)
if (item.dateType === 'YESTERDAY') { if (item.dateType === 'YESTERDAY') {
if (item.busType === 'IN') { if (item.busType === 'IN') {
this.yesterdayDataIN = _.cloneDeep(item); this.yesterdayDataIN = _.cloneDeep(item.size)
} else { } else {
this.yesterdayDataOUT = _.cloneDeep(item) this.yesterdayDataOUT = _.cloneDeep(item.size)
console.log(this.yesterdayDataOUT)
} }
} }
if (item.dateType === 'TODAY') { if (item.dateType === 'TODAY') {
if (item.busType === 'IN') { if (item.busType === 'IN') {
this.todayDataIN = _.cloneDeep(item); this.todayDataIN = _.cloneDeep(item.size)
} else { } else {
this.todayDataINOUT = _.cloneDeep(item) this.todayDataOUT = _.cloneDeep(item.size)
console.log(this.todayDataINOUT)
} }
} }
} }
...@@ -172,10 +169,9 @@ ...@@ -172,10 +169,9 @@
if (item.areaNo === '2') { if (item.areaNo === '2') {
if (item.dateType === 'TODAY') { if (item.dateType === 'TODAY') {
if (item.busType === 'IN') { if (item.busType === 'IN') {
this.electrophoresesDataIN = _.cloneDeep(item); this.electrophoresesDataIN = _.cloneDeep(item.size)
} else { } else {
this.electrophoresesDataOUT = _.cloneDeep(item) this.electrophoresesDataOUT = _.cloneDeep(item.size)
console.log(this.electrophoresesDataOUT)
} }
} }
} }
...@@ -183,10 +179,9 @@ ...@@ -183,10 +179,9 @@
if (item.areaNo === '3') { if (item.areaNo === '3') {
if (item.dateType === 'TODAY') { if (item.dateType === 'TODAY') {
if (item.busType === 'IN') { if (item.busType === 'IN') {
this.insulatingAnticorrosiveDataIN = _.cloneDeep(item); this.insulatingAnticorrosiveDataIN = _.cloneDeep(item.size)
} else { } else {
this.insulatingAnticorrosiveDataOUT = _.cloneDeep(item) this.insulatingAnticorrosiveDataOUT = _.cloneDeep(item.size)
console.log(this.insulatingAnticorrosiveDataOUT)
} }
} }
} }
...@@ -194,10 +189,9 @@ ...@@ -194,10 +189,9 @@
if (item.areaNo === '4') { if (item.areaNo === '4') {
if (item.dateType === 'TODAY') { if (item.dateType === 'TODAY') {
if (item.busType === 'IN') { if (item.busType === 'IN') {
this.puttyDataIN = _.cloneDeep(item); this.puttyDataIN = _.cloneDeep(item.size)
} else { } else {
this.puttyDataOUT = _.cloneDeep(item) this.puttyDataOUT = _.cloneDeep(item.size)
console.log('65454555', this.puttyDataOUT)
} }
} }
} }
...@@ -205,10 +199,9 @@ ...@@ -205,10 +199,9 @@
if (item.areaNo === '5') { if (item.areaNo === '5') {
if (item.dateType === 'TODAY') { if (item.dateType === 'TODAY') {
if (item.busType === 'IN') { if (item.busType === 'IN') {
this.floatingCoatDataIN = _.cloneDeep(item); this.floatingCoatDataIN = _.cloneDeep(item.size)
} else { } else {
this.floatingCoatDataOUT = _.cloneDeep(item) this.floatingCoatDataOUT = _.cloneDeep(item.size)
console.log(this.floatingCoatDataOUT)
} }
} }
} }
...@@ -216,10 +209,9 @@ ...@@ -216,10 +209,9 @@
if (item.areaNo === '6') { if (item.areaNo === '6') {
if (item.dateType === 'TODAY') { if (item.dateType === 'TODAY') {
if (item.busType === 'IN') { if (item.busType === 'IN') {
this.surfaceVarnishDataIN = _.cloneDeep(item); this.surfaceVarnishDataIN = _.cloneDeep(item.size)
} else { } else {
this.surfaceVarnishDataOUT = _.cloneDeep(item) this.surfaceVarnishDataOUT = _.cloneDeep(item.size)
console.log(this.surfaceVarnishDataOUT)
} }
} }
} }
...@@ -240,7 +232,6 @@ ...@@ -240,7 +232,6 @@
this.width = document.body.offsetWidth this.width = document.body.offsetWidth
this.height = document.body.offsetHeight this.height = document.body.offsetHeight
// this.zoom = `scale(${this.width / 1710})` // this.zoom = `scale(${this.width / 1710})`
console.log(this.zoom)
}, 0) }, 0)
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment