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
d130b552
Commit
d130b552
authored
Nov 22, 2019
by
李志鸣
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(车间级Led): 修复取值错误的问题
parent
062709c6
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
8 additions
and
28 deletions
+8
-28
stationFive.vue
src/views/Led/Station/stationFive.vue
+0
-1
stationFour.vue
src/views/Led/Station/stationFour.vue
+0
-3
stationOne.vue
src/views/Led/Station/stationOne.vue
+0
-1
stationSeven.vue
src/views/Led/Station/stationSeven.vue
+0
-4
stationSix.vue
src/views/Led/Station/stationSix.vue
+0
-3
stationThree.vue
src/views/Led/Station/stationThree.vue
+0
-2
stationTwo.vue
src/views/Led/Station/stationTwo.vue
+0
-5
paintingWorkShop.vue
src/views/Led/WorkShop/paintingWorkShop.vue
+8
-9
No files found.
src/views/Led/Station/stationFive.vue
View file @
d130b552
...
...
@@ -135,7 +135,6 @@
this
.
width
=
document
.
body
.
offsetWidth
this
.
height
=
document
.
body
.
offsetHeight
this
.
zoom
=
`scale(${this.width / 1710
}
)`
console
.
log
(
this
.
zoom
)
}
,
0
)
}
,
beforeDestroy
()
{
...
...
src/views/Led/Station/stationFour.vue
View file @
d130b552
...
...
@@ -68,10 +68,8 @@
//获取工位实时信息
getData
()
{
this
.
$fetch
(
'led-controller/ledInfo-get'
,
{
ledNo
:
'4'
}).
then
(
res
=>
{
console
.
log
(
res
)
this
.
timmingData
=
res
;
this
.
warningList
=
res
.
warningList
;
console
.
log
(
this
.
warningList
)
})
}
},
...
...
@@ -86,7 +84,6 @@
this
.
width
=
document
.
body
.
offsetWidth
this
.
height
=
document
.
body
.
offsetHeight
this
.
zoom
=
`scale(
${
this
.
width
/
1710
}
)`
console
.
log
(
this
.
zoom
)
},
0
)
},
beforeDestroy
()
{
...
...
src/views/Led/Station/stationOne.vue
View file @
d130b552
...
...
@@ -69,7 +69,6 @@
this
.
$fetch
(
'led-controller/ledInfo-get'
,
{
ledNo
:
'1'
}).
then
(
res
=>
{
this
.
timmingData
=
res
;
this
.
warningList
=
res
.
warningList
;
console
.
log
(
this
.
warningList
)
})
}
},
...
...
src/views/Led/Station/stationSeven.vue
View file @
d130b552
...
...
@@ -97,11 +97,7 @@
this
.
timmingData
=
_
.
cloneDeep
(
res
);
this
.
roomInfoList
=
_
.
cloneDeep
(
res
.
roomInfoList
);
this
.
warningList
=
_
.
cloneDeep
(
res
.
warningList
)
// console.log(this.warningList)
console
.
log
(
this
.
roomInfoList
.
length
)
console
.
log
(
res
)
for
(
let
item
of
this
.
roomInfoList
)
{
console
.
log
(
'item'
,
item
)
if
(
item
.
stationState
===
'USE'
)
{
item
.
stationState
=
'使用'
}
...
...
src/views/Led/Station/stationSix.vue
View file @
d130b552
...
...
@@ -97,8 +97,6 @@
this
.
timmingData
=
_
.
cloneDeep
(
res
);
this
.
roomInfoList
=
_
.
cloneDeep
(
res
.
roomInfoList
);
this
.
warningList
=
_
.
cloneDeep
(
res
.
warningList
)
console
.
log
(
this
.
roomInfoList
.
length
)
console
.
log
(
res
)
for
(
let
item
of
this
.
roomInfoList
)
{
console
.
log
(
'item'
,
item
)
if
(
item
.
stationState
===
'USE'
)
{
...
...
@@ -138,7 +136,6 @@
this
.
width
=
document
.
body
.
offsetWidth
this
.
height
=
document
.
body
.
offsetHeight
this
.
zoom
=
`scale(${this.width / 1710
}
)`
console
.
log
(
this
.
zoom
)
}
,
0
)
}
,
beforeDestroy
()
{
...
...
src/views/Led/Station/stationThree.vue
View file @
d130b552
...
...
@@ -69,7 +69,6 @@
this
.
$fetch
(
'led-controller/ledInfo-get'
,
{
ledNo
:
'3'
}).
then
(
res
=>
{
this
.
timmingData
=
res
;
this
.
warningList
=
res
.
warningList
;
console
.
log
(
this
.
warningList
)
})
}
},
...
...
@@ -84,7 +83,6 @@
this
.
width
=
document
.
body
.
offsetWidth
this
.
height
=
document
.
body
.
offsetHeight
this
.
zoom
=
`scale(
${
this
.
width
/
1710
}
)`
console
.
log
(
this
.
zoom
)
},
0
)
},
beforeDestroy
()
{
...
...
src/views/Led/Station/stationTwo.vue
View file @
d130b552
...
...
@@ -63,10 +63,6 @@
this
.
$fetch
(
'led-controller/ledInfo-get'
,
{
ledNo
:
'2'
}).
then
(
res
=>
{
this
.
timmingData
=
res
;
this
.
warningList
=
res
.
warningList
;
// console.log(this.warningList)
console
.
log
(
res
)
console
.
log
(
this
.
width
)
console
.
log
(
this
.
height
)
})
},
// 实时时间
...
...
@@ -88,7 +84,6 @@
this
.
width
=
document
.
body
.
offsetWidth
this
.
height
=
document
.
body
.
offsetHeight
this
.
zoom
=
`scale(
${
this
.
width
/
1710
}
)`
console
.
log
(
this
.
zoom
)
},
0
)
},
beforeDestroy
()
{
...
...
src/views/Led/WorkShop/paintingWorkShop.vue
View file @
d130b552
...
...
@@ -147,8 +147,7 @@
},
getData
()
{
this
.
$fetch
(
'area-controller/statistics-get'
,
{}).
then
(
res
=>
{
console
.
log
(
res
)
for
(
let
item
of
this
.
tempData
)
{
for
(
let
item
of
res
)
{
if
(
item
.
areaNo
===
'0'
)
{
if
(
item
.
dateType
===
'YESTERDAY'
)
{
if
(
item
.
busType
===
'IN'
)
{
...
...
@@ -246,14 +245,14 @@
height
:
1037px
;
background-color
:
#111
;
.borderBot
{
border-bottom
:
2px
solid
yellow
;
border-bottom
:
2px
solid
red
;
}
.title-pack
{
width
:
1556px
;
height
:
134px
;
text-align
:
center
;
color
:
yellow
;
color
:
red
;
line-height
:
134px
;
font-weight
:
bold
;
font-size
:
100px
;
...
...
@@ -267,11 +266,11 @@
.th-l
,
.th-2
,
.th-3
,
.th-4
{
width
:
30%
;
height
:
110
.625px
;
border-top
:
2px
solid
yellow
;
border-right
:
2px
solid
yellow
;
border-top
:
2px
solid
red
;
border-right
:
2px
solid
red
;
float
:
left
;
text-align
:
center
;
color
:
yellow
;
color
:
red
;
line-height
:
110
.625px
;
font-weight
:
bold
;
font-size
:
49px
;
...
...
@@ -284,8 +283,8 @@
.time
{
width
:
1710px
;
height
:
110
.625px
;
border-top
:
2px
solid
yellow
;
color
:
yellow
;
border-top
:
2px
solid
red
;
color
:
red
;
font-weight
:
bold
;
line-height
:
110
.625px
;
font-size
:
48px
;
...
...
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