Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
K
kwell-mes
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
gavelinfo
kwell-mes
Commits
76a022ac
Commit
76a022ac
authored
Mar 25, 2022
by
李苏
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
登录页面
parent
e8e320f4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
41 additions
and
17 deletions
+41
-17
echarts.js
gavel/src/main/resources/static/js/dashboard/echarts.js
+1
-1
first.html
.../main/resources/templates/views/kmes/dashboard/first.html
+40
-16
No files found.
gavel/src/main/resources/static/js/dashboard/echarts.js
View file @
76a022ac
...
...
@@ -2043,7 +2043,7 @@ function setproduceEchart(chart,apidata) {
show
:
false
},
grid
:
{
top
:
"
10%
"
,
top
:
"
20
"
,
left
:
"5%"
,
bottom
:
"0%"
,
right
:
"5%"
,
...
...
gavel/src/main/resources/templates/views/kmes/dashboard/first.html
View file @
76a022ac
...
...
@@ -19,6 +19,18 @@
height
:
100%
;
vertical-align
:
middle
;
}
.listTxt
{
display
:
flex
;
flex-wrap
:
wrap
;
align-items
:
center
;
}
.listTxt
p
{
/* flex: 1; */
width
:
50%
;
}
.listTxt
label
{
width
:
auto
!important
;
}
</style>
</head>
<body>
...
...
@@ -47,17 +59,25 @@
<div
class=
"center"
>
<div
class=
"center-left fl"
>
<div
class=
"left-top rightTop border"
>
<!--<h1 id="ceshi">数据可视化</h1>-->
<div
class=
"title"
>
OA考勤
</div>
<div
class=
"bottom-b"
>
<div
id=
"chartSdcl"
class=
"allnav"
></div>
</div>
<div
class=
"title"
>
工艺流程图
</div>
<div
class=
"chat"
>
<canvas
id=
"gylct"
style=
"width: 100%;height: 100%"
></canvas>
</div>
</div>
<div
class=
"left-cen rightTop border"
>
<div
class=
"title"
>
日产量
&
合格率
</div>
<div
class=
"bottom-b"
>
<div
id=
"chartRpcdcsj"
class=
"allnav"
></div>
</div>
<div
class=
"title"
>
OA考勤
</div>
<div
class=
"bottom-b"
>
<div
class=
"allnav banner"
>
<div
class=
"list clearfix"
>
<div
class=
"listTxt"
>
<p><label
for=
""
>
应到人数:
</label><span
id=
"ydrs"
>
0
</span></p>
<p><label
for=
""
>
实际人数:
</label><span
id=
"sjrs"
>
0
</span></p>
<p><label
for=
""
>
休假人数:
</label><span
id=
"xjrs"
>
0
</span>
</p>
<p><label
for=
""
>
总生产量:
</label><span
id=
"zscl"
>
0
</span></p>
</div>
</div>
</div>
</div>
</div>
<div
class=
"left-bottom rightTop border"
>
<div
class=
"title"
>
静电手环
</div>
...
...
@@ -306,10 +326,14 @@
</div>
<div
class=
"right-bottom rightTop border"
>
<div
class=
"title"
>
工艺流程图
</div>
<div
class=
"chat"
>
<canvas
id=
"gylct"
style=
"width: 100%;height: 100%"
></canvas>
</div>
<div
class=
"title"
>
日产量
&
合格率
</div>
<div
class=
"chat"
>
<div
id=
"chartRpcdcsj"
class=
"allnav"
></div>
</div>
<!-- <div class="title">OA考勤</div>
<div class="chat">
<div id="chartSdcl" class="allnav"></div>
</div> -->
</div>
</div>
</div>
...
...
@@ -342,7 +366,7 @@
},
200
)
});
var
myChartSdcl
=
echarts
.
init
(
document
.
getElementById
(
'chartSdcl'
));
//
var myChartSdcl = echarts.init(document.getElementById('chartSdcl'));
var
chartRpcdcsj
=
echarts
.
init
(
document
.
getElementById
(
"chartRpcdcsj"
));
var
chartHgl
=
echarts
.
init
(
document
.
getElementById
(
"chartHgl"
));
var
chartRjh
=
echarts
.
init
(
document
.
getElementById
(
"chartRjh"
));
...
...
@@ -350,7 +374,7 @@
var
chartJdshCirle
=
echarts
.
init
(
document
.
getElementById
(
"chartJdshCirle"
));
var
chartTzzp
=
echarts
.
init
(
document
.
getElementById
(
"chartzzp"
));
setproduceEchart
(
chartTzzp
)
/* 在制品状态 */
oaechart
(
myChartSdcl
);
/*oa*/
//
oaechart(myChartSdcl); /*oa*/
setRclHglEchart
(
chartRpcdcsj
);
/*日排产达成数据*/
// setHglEchart(chartHgl);/*合格率*/
setPieDailyChart
(
chartRjh
,
80
);
/*日计划*/
...
...
@@ -362,7 +386,7 @@
});
function
echartzsy
(){
chartTzzp
.
resize
()
myChartSdcl
.
resize
()
//
myChartSdcl.resize()
chartRpcdcsj
.
resize
()
chartHgl
.
resize
()
chartRjh
.
resize
()
...
...
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