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
dd327db0
Commit
dd327db0
authored
Feb 28, 2022
by
李苏
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
okbz代码
parent
d84426f3
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
8 deletions
+12
-8
index.html
...l/src/main/resources/templates/views/kmes/gpjy/index.html
+12
-8
No files found.
gavel/src/main/resources/templates/views/kmes/gpjy/index.html
View file @
dd327db0
...
@@ -125,11 +125,15 @@
...
@@ -125,11 +125,15 @@
})
})
}
}
/* jyfk */
/* jyfk */
function
jyfk_secjyfk
(
t
){
function
jyfk_secjyfk
(
t
,
type
){
let
that
=
t
let
that
=
t
gas
.
post
(
'kmes/gpfk/jyfk'
,{
"fkid"
:
that
.
fkid
,
"hgsn"
:
that
.
xlh
},
function
(
res
){
gas
.
post
(
'kmes/gpfk/jyfk'
,{
"fkid"
:
that
.
fkid
,
"hgsn"
:
that
.
xlh
},
function
(
res
){
if
(
res
.
data
&&
res
.
data
.
records
){
if
(
res
.
data
&&
res
.
data
.
records
){
if
(
type
==
"ok"
){
that
.
hg
=
res
.
data
.
records
}
else
if
(
type
==
"ng"
){
that
.
ng
=
res
.
data
.
records
}
}
}
else
{
else
{
...
@@ -164,14 +168,14 @@
...
@@ -164,14 +168,14 @@
})
})
}
else
if
(
e
==
"OKBZ"
){
}
else
if
(
e
==
"OKBZ"
){
if
(
that
.
fkid
){
if
(
that
.
fkid
){
jyfk_secjyfk
(
that
)
jyfk_secjyfk
(
that
,
"ok"
)
}
else
{
}
else
{
jyfk_wrz
(
that
,
"请先扫描WOSNID"
,
"error"
)
jyfk_wrz
(
that
,
"请先扫描WOSNID"
,
"error"
)
}
}
}
else
if
(
e
==
"NGBZ"
){
}
else
if
(
e
==
"NGBZ"
){
if
(
that
.
fkid
){
if
(
that
.
fkid
){
jyfk_secjyfk
(
that
)
jyfk_secjyfk
(
that
,
"ng"
)
}
else
{
}
else
{
jyfk_wrz
(
that
,
"请先扫描WOSNID"
,
"error"
)
jyfk_wrz
(
that
,
"请先扫描WOSNID"
,
"error"
)
}
}
...
@@ -202,7 +206,7 @@
...
@@ -202,7 +206,7 @@
<li>
系统管理员
</li>
<li>
系统管理员
</li>
<li>
甲班
</li>
<li>
甲班
</li>
<li
class=
"tipuli2"
>
{{systime}}
</li>
<li
class=
"tipuli2"
>
{{systime}}
</li>
<li
class=
"tipuli2"
style=
"margin-right: 200px;"
>
计数:
30
</li>
<li
class=
"tipuli2"
style=
"margin-right: 200px;"
>
计数:
{{hg+ng}}
</li>
<li
class=
"tipuli2"
>
当前工序:{{gx}}
</li>
<li
class=
"tipuli2"
>
当前工序:{{gx}}
</li>
</ul>
</ul>
...
@@ -237,10 +241,10 @@
...
@@ -237,10 +241,10 @@
<div
style=
"height: 100%;display: flex;align-items: center;justify-content: center;"
>
<div
style=
"height: 100%;display: flex;align-items: center;justify-content: center;"
>
<div
class=
"cardList-wrapper"
style=
"width: 55%;height: 100%;background-color: #FFFFFF;color: #FFFFFF;display: flex;flex-wrap: wrap;justify-content:space-around;align-items: center;"
>
<div
class=
"cardList-wrapper"
style=
"width: 55%;height: 100%;background-color: #FFFFFF;color: #FFFFFF;display: flex;flex-wrap: wrap;justify-content:space-around;align-items: center;"
>
<div
class=
""
style=
"height: 45%;width: 90%;display: flex;align-items: center;justify-content: center;color: #FFFFFF;background-color: #00AAFF!important;"
>
<div
class=
""
style=
"height: 45%;width: 90%;display: flex;align-items: center;justify-content: center;color: #FFFFFF;background-color: #00AAFF!important;"
>
<span
style=
"font-size: 20px;font-weight: 800;"
>
合格数量:{{
n
g}}
</span>
<span
style=
"font-size: 20px;font-weight: 800;"
>
合格数量:{{
h
g}}
</span>
</div>
</div>
<div
class=
""
style=
"height: 45%;width: 90%;display: flex;align-items: center;justify-content: center;color: #FFFFFF;background-color: #FEC041!important;"
>
<div
class=
""
style=
"height: 45%;width: 90%;display: flex;align-items: center;justify-content: center;color: #FFFFFF;background-color: #FEC041!important;"
>
<span
style=
"font-size: 20px;font-weight: 800;"
>
NG数量:{{
h
g}}
</span>
<span
style=
"font-size: 20px;font-weight: 800;"
>
NG数量:{{
n
g}}
</span>
</div>
</div>
</div>
</div>
<div
class=
"cardList-wrappers"
style=
"width: 40%;height: 95%;color: white;display: flex;align-items: center;justify-content: center;font-size: 30px;"
>
<div
class=
"cardList-wrappers"
style=
"width: 40%;height: 95%;color: white;display: flex;align-items: center;justify-content: center;font-size: 30px;"
>
...
@@ -352,7 +356,7 @@
...
@@ -352,7 +356,7 @@
<li>
系统管理员
</li>
<li>
系统管理员
</li>
<li>
甲班
</li>
<li>
甲班
</li>
<li
class=
"tipuli2"
>
{{systime}}
</li>
<li
class=
"tipuli2"
>
{{systime}}
</li>
<li
class=
"tipuli2"
style=
"margin-right: 200px;"
>
计数:
30
</li>
<li
class=
"tipuli2"
style=
"margin-right: 200px;"
>
计数:
{{hg+ng}}
</li>
<li
class=
"tipuli2"
>
当前工序:{{gx}}
</li>
<li
class=
"tipuli2"
>
当前工序:{{gx}}
</li>
</ul>
</ul>
...
...
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