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
d8df96b3
Commit
d8df96b3
authored
Apr 07, 2022
by
李苏
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
看板1
parent
74c3ce96
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
1 deletion
+9
-1
api.js
gavel/src/main/resources/static/js/dashboard/api.js
+1
-1
first.html
.../main/resources/templates/views/kmes/dashboard/first.html
+8
-0
No files found.
gavel/src/main/resources/static/js/dashboard/api.js
View file @
d8df96b3
...
...
@@ -19,7 +19,7 @@
HTTP
.
post
(
"querySafeDays"
,
{},
function
(
result
)
{
if
(
result
[
'success'
])
{
let
data
=
result
.
data
.
records
dom
.
html
(
"安全生产天数: "
+
"<span
>"
+
data
+
"</span>"
+
"
天"
)
dom
.
html
(
"安全生产天数: "
+
"<span
style='font-size:20px;color:red';> "
+
data
+
"</span>"
+
"
天"
)
}
else
{
console
.
log
(
"请求失败"
)
}
...
...
gavel/src/main/resources/templates/views/kmes/dashboard/first.html
View file @
d8df96b3
...
...
@@ -7,7 +7,14 @@
<link
rel=
"stylesheet"
href=
"../../css/dashboard/index.css"
>
<link
rel=
"stylesheet"
href=
"../../css/dashboard/public.css"
>
<style
type=
"text/css"
>
img
{
image-rendering
:
-moz-crisp-edges
;
/* Firefox */
image-rendering
:
-o-crisp-edges
;
/* Opera */
image-rendering
:
-webkit-optimize-contrast
;
/*Webkit (non-standard naming) */
image-rendering
:
crisp-edges
;
\
-ms-interpolation-mode
:
nearest-neighbor
;
/* IE (non-standard property) */
}
#aqscts
{
color
:
red
!important
;
box-sizing
:
border-box
;
cursor
:
url(../../images/dashboard/pointer.png)
8
3
,
auto
;
font-family
:
微软雅黑
;
...
...
@@ -69,6 +76,7 @@
<div
class=
"left-top rightTop border"
style=
"height: 3.175rem;margin-bottom: .2rem;"
>
<div
class=
"title"
>
工艺流程图
</div>
<div
class=
"chat"
style=
"margin-top: 20px;height: 2.5rem;"
>
<!-- <img src="http://localhost:9080/mes/images/dashboard/gylct.png" style="height: 100%;width: 100%;border: 0px solid;"> -->
<canvas
id=
"gylct"
style=
"width: 100%;height: 100%"
></canvas>
</div>
</div>
...
...
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