Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
Laisi_AutoMES2
Overview
Overview
Details
Activity
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
jiawei.su
Laisi_AutoMES2
Commits
e0fd8ae4
Commit
e0fd8ae4
authored
Jan 28, 2021
by
yiyu.li
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug
parent
00a9de85
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
6 deletions
+9
-6
lineMonitor.vue
Html/src/view/fml/statistical_analysis/lineMonitor.vue
+9
-6
No files found.
Html/src/view/fml/statistical_analysis/lineMonitor.vue
View file @
e0fd8ae4
...
...
@@ -57,7 +57,10 @@
<div
class=
"stateItem"
:key=
"index"
:style=
"
{ background: item.bgc,color:item.status!=0?fontColor:'' }"
:style=
"
{
background: item.bgc,
color: item.status != 0 ? fontColor : '',
}"
>
<p
class=
"flex"
>
<span
class=
"infoLabel"
>
工位:
</span>
...
...
@@ -317,7 +320,7 @@ export default {
produceTotal
:
0
,
waittingTotal
:
0
,
},
fontColor
:
'#fff'
fontColor
:
"#fff"
,
};
},
created
()
{
...
...
@@ -346,9 +349,7 @@ export default {
:
[];
arr
.
forEach
((
ele
)
=>
{
let
bgc
=
""
;
if
(
ele
.
enable
==
0
)
{
bgc
=
"red"
;
}
if
(
ele
.
status
==
1
)
{
bgc
=
"#ff9900"
;
}
...
...
@@ -358,6 +359,9 @@ export default {
if
(
ele
.
status
==
3
)
{
bgc
=
"#2db7f5"
;
}
if
(
ele
.
enable
==
0
)
{
bgc
=
"red"
;
}
ele
.
bgc
=
bgc
;
});
this
.
stateList
=
arr
;
...
...
@@ -430,7 +434,6 @@ export default {
height
:
30px
;
line-height
:
30px
;
font-size
:
16px
;
}
}
.stateTitle
{
...
...
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