Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Z
zhongtong-avi-web
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
中通客车项目
zhongtong-avi-web
Commits
ffa58b8a
Commit
ffa58b8a
authored
Nov 02, 2019
by
李志鸣
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fea(涂装车间LED): 涂装车间LED功能联调
parent
5be99869
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
44 additions
and
53 deletions
+44
-53
paintingWorkShop.vue
src/views/Led/Station/paintingWorkShop.vue
+44
-53
No files found.
src/views/Led/Station/paintingWorkShop.vue
View file @
ffa58b8a
...
...
@@ -5,45 +5,45 @@
<div
class=
"table-pack"
>
<div
class=
"tr clear-float"
>
<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-4"
>
{{
yesterdayDataOUT
.
size
}}
</div>
<div
class=
"th-4"
>
{{
yesterdayDataOUT
}}
</div>
</div>
<div
class=
"tr clear-float"
>
<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-4"
>
{{
todayDataOUT
.
size
}}
</div>
<div
class=
"th-4"
>
{{
todayDataOUT
}}
</div>
</div>
<div
class=
"tr clear-float"
>
<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-4"
>
{{
electrophoresesDataOUT
.
size
}}
</div>
<div
class=
"th-4"
>
{{
electrophoresesDataOUT
}}
</div>
</div>
<div
class=
"tr clear-float"
>
<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-4"
>
{{
height
}}
</div>
<div
class=
"th-4"
>
{{
insulatingAnticorrosiveDataOUT
}}
</div>
</div>
<div
class=
"tr clear-float"
>
<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-4"
>
{{
width
}}
</div>
<div
class=
"th-4"
>
{{
puttyDataOUT
}}
</div>
</div>
<div
class=
"tr clear-float"
>
<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-4"
>
{{
width
}}
</div>
<div
class=
"th-4"
>
{{
floatingCoatDataOUT
}}
</div>
</div>
<div
class=
"tr clear-float"
>
<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-4 borderBot"
>
{{
width
}}
</div>
<div
class=
"th-4 borderBot"
>
{{
surfaceVarnishDataOUT
}}
</div>
</div>
<div
class=
"time"
>
时间:
{{
timeNow
}}
</div>
</div>
...
...
@@ -61,37 +61,37 @@
height
:
0
,
zoom
:
'scale(0)'
,
// 屏幕显示当前时间
timeNow
:
''
,
timeNow
:
null
,
// 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
:
[
{
'id'
:
null
,
...
...
@@ -150,21 +150,18 @@
console
.
log
(
res
)
for
(
let
item
of
this
.
tempData
)
{
if
(
item
.
areaNo
===
'0'
)
{
// console.log(item)
if
(
item
.
dateType
===
'YESTERDAY'
)
{
if
(
item
.
busType
===
'IN'
)
{
this
.
yesterdayDataIN
=
_
.
cloneDeep
(
item
);
this
.
yesterdayDataIN
=
_
.
cloneDeep
(
item
.
size
)
}
else
{
this
.
yesterdayDataOUT
=
_
.
cloneDeep
(
item
)
console
.
log
(
this
.
yesterdayDataOUT
)
this
.
yesterdayDataOUT
=
_
.
cloneDeep
(
item
.
size
)
}
}
if
(
item
.
dateType
===
'TODAY'
)
{
if
(
item
.
busType
===
'IN'
)
{
this
.
todayDataIN
=
_
.
cloneDeep
(
item
);
this
.
todayDataIN
=
_
.
cloneDeep
(
item
.
size
)
}
else
{
this
.
todayDataINOUT
=
_
.
cloneDeep
(
item
)
console
.
log
(
this
.
todayDataINOUT
)
this
.
todayDataOUT
=
_
.
cloneDeep
(
item
.
size
)
}
}
}
...
...
@@ -172,10 +169,9 @@
if
(
item
.
areaNo
===
'2'
)
{
if
(
item
.
dateType
===
'TODAY'
)
{
if
(
item
.
busType
===
'IN'
)
{
this
.
electrophoresesDataIN
=
_
.
cloneDeep
(
item
);
this
.
electrophoresesDataIN
=
_
.
cloneDeep
(
item
.
size
)
}
else
{
this
.
electrophoresesDataOUT
=
_
.
cloneDeep
(
item
)
console
.
log
(
this
.
electrophoresesDataOUT
)
this
.
electrophoresesDataOUT
=
_
.
cloneDeep
(
item
.
size
)
}
}
}
...
...
@@ -183,10 +179,9 @@
if
(
item
.
areaNo
===
'3'
)
{
if
(
item
.
dateType
===
'TODAY'
)
{
if
(
item
.
busType
===
'IN'
)
{
this
.
insulatingAnticorrosiveDataIN
=
_
.
cloneDeep
(
item
);
this
.
insulatingAnticorrosiveDataIN
=
_
.
cloneDeep
(
item
.
size
)
}
else
{
this
.
insulatingAnticorrosiveDataOUT
=
_
.
cloneDeep
(
item
)
console
.
log
(
this
.
insulatingAnticorrosiveDataOUT
)
this
.
insulatingAnticorrosiveDataOUT
=
_
.
cloneDeep
(
item
.
size
)
}
}
}
...
...
@@ -194,10 +189,9 @@
if
(
item
.
areaNo
===
'4'
)
{
if
(
item
.
dateType
===
'TODAY'
)
{
if
(
item
.
busType
===
'IN'
)
{
this
.
puttyDataIN
=
_
.
cloneDeep
(
item
);
this
.
puttyDataIN
=
_
.
cloneDeep
(
item
.
size
)
}
else
{
this
.
puttyDataOUT
=
_
.
cloneDeep
(
item
)
console
.
log
(
'65454555'
,
this
.
puttyDataOUT
)
this
.
puttyDataOUT
=
_
.
cloneDeep
(
item
.
size
)
}
}
}
...
...
@@ -205,10 +199,9 @@
if
(
item
.
areaNo
===
'5'
)
{
if
(
item
.
dateType
===
'TODAY'
)
{
if
(
item
.
busType
===
'IN'
)
{
this
.
floatingCoatDataIN
=
_
.
cloneDeep
(
item
);
this
.
floatingCoatDataIN
=
_
.
cloneDeep
(
item
.
size
)
}
else
{
this
.
floatingCoatDataOUT
=
_
.
cloneDeep
(
item
)
console
.
log
(
this
.
floatingCoatDataOUT
)
this
.
floatingCoatDataOUT
=
_
.
cloneDeep
(
item
.
size
)
}
}
}
...
...
@@ -216,10 +209,9 @@
if
(
item
.
areaNo
===
'6'
)
{
if
(
item
.
dateType
===
'TODAY'
)
{
if
(
item
.
busType
===
'IN'
)
{
this
.
surfaceVarnishDataIN
=
_
.
cloneDeep
(
item
);
this
.
surfaceVarnishDataIN
=
_
.
cloneDeep
(
item
.
size
)
}
else
{
this
.
surfaceVarnishDataOUT
=
_
.
cloneDeep
(
item
)
console
.
log
(
this
.
surfaceVarnishDataOUT
)
this
.
surfaceVarnishDataOUT
=
_
.
cloneDeep
(
item
.
size
)
}
}
}
...
...
@@ -240,7 +232,6 @@
this
.
width
=
document
.
body
.
offsetWidth
this
.
height
=
document
.
body
.
offsetHeight
// this.zoom = `scale(${this.width / 1710})`
console
.
log
(
this
.
zoom
)
},
0
)
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment