Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mes-ui
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
周远喜
mes-ui
Commits
1545607a
Commit
1545607a
authored
Nov 19, 2020
by
仇晓婷
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
大屏
parent
ef929ef3
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
61 additions
and
41 deletions
+61
-41
passRate.vue
pages/bigScreen/passRate.vue
+22
-2
qualityProblem.vue
pages/bigScreen/qualityProblem.vue
+18
-18
suspend.vue
pages/bigScreen/suspend.vue
+5
-5
workingHours.vue
pages/bigScreen/workingHours.vue
+16
-16
No files found.
pages/bigScreen/passRate.vue
View file @
1545607a
...
...
@@ -29,7 +29,10 @@ export default {
statistics
()
{
// var lastData = [30, 25, 30, 20, 15, 18, 23, 21, 20, 10];
// var thisData = [30, 0, 10, 20, 10, 30, 0, 10, 20, 20];
var
thisData
=
[
{
value
:
216
,
name
:
"报废"
},
{
value
:
5881
,
name
:
"合格"
},
];
this
.
braking
=
{
// backgroundColor: "rgba(7,28,52,1)",
title
:
{
...
...
@@ -48,7 +51,23 @@ export default {
},
},
legend
:
{
data
:
[
"报废"
,
"合格"
],
formatter
(
params
)
{
var
target
;
if
(
params
==
"报废"
)
{
return
(
target
=
params
+
" "
+
258
+
"件"
);
}
if
(
params
==
"合格"
)
{
return
(
target
=
params
+
" "
+
12514
+
"件"
);
}
},
// data: [
// {
// name: "报废",
// },
// {
// name: "合格",
// },
// ],
top
:
"15%"
,
left
:
"2%"
,
orient
:
"vertical"
,
...
...
@@ -233,6 +252,7 @@ export default {
type
:
"pie"
,
z
:
100
,
radius
:
"20%"
,
// roseType: "radius",//扇形按比例显示
center
:
[
"35%"
,
"25%"
],
labelLine
:
{
normal
:
{
...
...
pages/bigScreen/qualityProblem.vue
View file @
1545607a
...
...
@@ -28,40 +28,40 @@ export default {
hours
:
"116h"
,
},
{
name
:
"
张飞
"
,
name
:
"
李四
"
,
work
:
"操作失败"
,
type
:
"2
0
"
,
hours
:
"11
6
h"
,
type
:
"2
8
"
,
hours
:
"11
2
h"
,
},
{
name
:
"
张飞
"
,
name
:
"
王五
"
,
work
:
"操作失败"
,
type
:
"
2
0"
,
hours
:
"
116
h"
,
type
:
"
1
0"
,
hours
:
"
20
h"
,
},
{
name
:
"
张飞
"
,
name
:
"
李四
"
,
work
:
"操作失败"
,
type
:
"
20
"
,
hours
:
"
11
6h"
,
type
:
"
8
"
,
hours
:
"6h"
,
},
{
name
:
"
张飞
"
,
name
:
"
刘云
"
,
work
:
"操作失败"
,
type
:
"
20
"
,
hours
:
"
116
h"
,
type
:
"
66
"
,
hours
:
"
25
h"
,
},
{
name
:
"张飞"
,
work
:
"操作失败"
,
type
:
"2
0
"
,
hours
:
"1
16
h"
,
type
:
"2"
,
hours
:
"1
8
h"
,
},
{
name
:
"张飞"
,
work
:
"操作失败"
,
type
:
"
20
"
,
hours
:
"
116
h"
,
type
:
"
99
"
,
hours
:
"
55
h"
,
},
],
};
...
...
@@ -77,14 +77,14 @@ export default {
line-height: 50px;
font-size: 17px;
padding-top: 2px;
color: #106
FFE
;
color: #106
ffe
;
font-family: PingFang SC;
font-weight: bold;
}
.row-title {
height: 36px;
line-height: 36px;
background: #2
F2F
57;
background: #2
f2f
57;
}
.item-row {
height: 44px;
...
...
pages/bigScreen/suspend.vue
View file @
1545607a
...
...
@@ -147,11 +147,11 @@ export default {
formatter
:
"{value}%"
,
},
axisLine
:
{
show
:
tru
e
,
lineStyle
:
{
color
:
"white"
,
opacity
:
0.3
,
},
show
:
fals
e
,
//
lineStyle: {
//
color: "white",
//
opacity: 0.3,
//
},
},
splitLine
:
{
show
:
true
,
...
...
pages/bigScreen/workingHours.vue
View file @
1545607a
...
...
@@ -23,40 +23,40 @@ export default {
hours
:
"116h"
,
},
{
name
:
"
张飞
"
,
name
:
"
李四
"
,
work
:
"总装"
,
type
:
"
电工
组"
,
hours
:
"1
1
6h"
,
type
:
"
其他
组"
,
hours
:
"1
0
6h"
,
},
{
name
:
"
张飞
"
,
name
:
"
王三
"
,
work
:
"总装"
,
type
:
"
电工
组"
,
hours
:
"
116
h"
,
type
:
"
其他
组"
,
hours
:
"
20
h"
,
},
{
name
:
"
张飞
"
,
name
:
"
李云
"
,
work
:
"总装"
,
type
:
"
电工组
"
,
hours
:
"
116
h"
,
type
:
"
其他
"
,
hours
:
"
55
h"
,
},
{
name
:
"张飞"
,
work
:
"总装"
,
type
:
"电工组"
,
hours
:
"
116
h"
,
hours
:
"
69
h"
,
},
{
name
:
"
张飞
"
,
name
:
"
王二小
"
,
work
:
"总装"
,
type
:
"电工组"
,
hours
:
"
116
h"
,
hours
:
"
78
h"
,
},
{
name
:
"张飞"
,
work
:
"
总装
"
,
type
:
"
电工
组"
,
hours
:
"
116
h"
,
work
:
"
技术
"
,
type
:
"
技术
组"
,
hours
:
"
99
h"
,
},
],
};
...
...
@@ -69,7 +69,7 @@ export default {
h4 {
height: 40px;
line-height: 40px;
color: #106
FFE
;
color: #106
ffe
;
margin-top: 20px;
margin-left: 35px;
font-size: 17px;
...
...
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