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
ad40b9a6
Commit
ad40b9a6
authored
Oct 14, 2019
by
车宾
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat(钣金作业区):功能联调
parent
b8d852f4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
562 additions
and
481 deletions
+562
-481
ComplexionPaint.vue
src/views/Monitor/components/ComplexionPaint.vue
+13
-161
Electrophoresis.vue
src/views/Monitor/components/Electrophoresis.vue
+14
-47
SheetMetalCar.vue
src/views/Monitor/components/SheetMetalCar.vue
+535
-273
No files found.
src/views/Monitor/components/ComplexionPaint.vue
View file @
ad40b9a6
This diff is collapsed.
Click to expand it.
src/views/Monitor/components/Electrophoresis.vue
View file @
ad40b9a6
...
...
@@ -449,54 +449,12 @@ export default {
},
data
()
{
return
{
// 当前在线人数
onlineNum
:
null
,
// 车体定位信息
busPosition
:
{},
// 电泳作业区域实时信息
query
:
{
'STC1-1'
:
{
areaId
:
0
,
areaName
:
'DF20191010'
,
busNo
:
'DF20191010'
,
busType
:
'OTHER'
,
//IN/OUT
code
:
'string'
,
id
:
0
,
keyStation
:
true
,
laneCode
:
'string'
,
laneId
:
0
,
sequence
:
0
,
skidID
:
0
,
state
:
'USE'
,
//0.1 Y/N
workshopCode
:
'string'
},
'STC1-8'
:
{
areaId
:
0
,
areaName
:
'DF205411010'
,
busNo
:
'DF20191010'
,
busType
:
'OWN'
,
//IN/OUT
code
:
'string'
,
id
:
0
,
keyStation
:
true
,
laneCode
:
'string'
,
laneId
:
0
,
sequence
:
0
,
skidID
:
0
,
state
:
'USE'
,
//0.1 Y/N
workshopCode
:
'string'
},
'HDG1-31'
:
{
areaId
:
0
,
areaName
:
'DF205411010'
,
busNo
:
'DF20191010'
,
busType
:
'OTHER'
,
//IN/OUT
code
:
'string'
,
id
:
0
,
keyStation
:
true
,
laneCode
:
'string'
,
laneId
:
0
,
sequence
:
0
,
skidID
:
0
,
state
:
'USE'
,
//0.1 Y/N
workshopCode
:
'string'
}
},
query
:
{},
// 根据车身号获得当前车体信息
BusInformation
:
{
'saleOrderNo'
:
'201905201252'
,
...
...
@@ -535,6 +493,15 @@ export default {
this
.
$fetch
(
'area-controller/realTime-get'
,
{
areaNo
:
'2'
})
.
then
(
res
=>
{
console
.
log
(
'getall'
,
res
);
for
(
let
i
=
0
;
i
<
res
.
length
;
i
++
)
{
if
(
res
[
i
].
code
===
'2'
)
{
console
.
log
(
res
[
i
]);
this
.
query
=
_
.
cloneDeep
(
res
[
i
].
stationMap
);
// 获取当前在线人数
this
.
onlineNum
=
_
.
clone
(
res
[
i
].
onlineNum
);
console
.
log
(
this
.
onlineNum
)
}
}
})
.
catch
(
error
=>
{
reject
(
error
);
...
...
src/views/Monitor/components/SheetMetalCar.vue
View file @
ad40b9a6
This diff is collapsed.
Click to expand it.
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