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
0be08980
Commit
0be08980
authored
Mar 14, 2022
by
yff
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of gitlab.gavelinfo.com:gavelinfo/kwell-mes
parents
32d39f22
d686b21c
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
54 additions
and
24 deletions
+54
-24
jyfk.css
gavel/src/main/resources/static/css/jyfk.css
+4
-0
wxfk.css
gavel/src/main/resources/static/css/wxfk.css
+4
-0
zpfk.css
gavel/src/main/resources/static/css/zpfk.css
+5
-0
index.html
...l/src/main/resources/templates/views/kmes/gphy/index.html
+15
-10
index.html
...l/src/main/resources/templates/views/kmes/gpjy/index.html
+14
-8
index.html
...l/src/main/resources/templates/views/kmes/gpwx/index.html
+12
-6
No files found.
gavel/src/main/resources/static/css/jyfk.css
View file @
0be08980
.n-item
{
background
:
rgb
(
57
,
52
,
86
);}
.null-item
{
background
:
#FFFFFF
;}
.ok-item
{
background
:
-webkit-gradient
(
linear
,
left
top
,
right
top
,
from
(
#42d79b
),
to
(
#a6e25f
));
background
:
linear-gradient
(
90deg
,
#42d79b
,
#a6e25f
);}
.nok-item
{
background
:
-webkit-gradient
(
linear
,
left
top
,
right
top
,
from
(
#ff0000
),
to
(
#ff007f
));
background
:
linear-gradient
(
90deg
,
#ff0000
,
#ff007f
);}
#kwrkb04
div
{
font-size
:
14px
;
}
...
...
gavel/src/main/resources/static/css/wxfk.css
View file @
0be08980
.n-item
{
background
:
rgb
(
57
,
52
,
86
);}
.null-item
{
background
:
#FFFFFF
;}
.ok-item
{
background
:
-webkit-gradient
(
linear
,
left
top
,
right
top
,
from
(
#42d79b
),
to
(
#a6e25f
));
background
:
linear-gradient
(
90deg
,
#42d79b
,
#a6e25f
);}
.nok-item
{
background
:
-webkit-gradient
(
linear
,
left
top
,
right
top
,
from
(
#ff0000
),
to
(
#ff007f
));
background
:
linear-gradient
(
90deg
,
#ff0000
,
#ff007f
);}
#kwrkb07
div
{
font-size
:
14px
;
}
...
...
gavel/src/main/resources/static/css/zpfk.css
View file @
0be08980
...
...
@@ -2,6 +2,10 @@
margin
:
0
;
padding
:
0
;
}
.n-item
{
background
:
rgb
(
57
,
52
,
86
);}
.null-item
{
background
:
#FFFFFF
;}
.ok-item
{
background
:
-webkit-gradient
(
linear
,
left
top
,
right
top
,
from
(
#42d79b
),
to
(
#a6e25f
));
background
:
linear-gradient
(
90deg
,
#42d79b
,
#a6e25f
);}
.nok-item
{
background
:
-webkit-gradient
(
linear
,
left
top
,
right
top
,
from
(
#ff0000
),
to
(
#ff007f
));
background
:
linear-gradient
(
90deg
,
#ff0000
,
#ff007f
);}
#kwrkb01
div
{
font-size
:
14px
;
}
...
...
@@ -138,6 +142,7 @@
#kwrkb01
.wid70
{
width
:
70%
;
}
#kwrkb01
.n-item
{
background
:
rgb
(
57
,
52
,
86
);}
#kwrkb01
.ok-item
{
background
:
-webkit-gradient
(
linear
,
left
top
,
right
top
,
from
(
#42d79b
),
to
(
#a6e25f
));
background
:
linear-gradient
(
90deg
,
#42d79b
,
#a6e25f
);}
#kwrkb01
.nok-item
{
background
:
-webkit-gradient
(
linear
,
left
top
,
right
top
,
from
(
#ff0000
),
to
(
#ff007f
));
background
:
linear-gradient
(
90deg
,
#ff0000
,
#ff007f
);}
/* 界面2 */
...
...
gavel/src/main/resources/templates/views/kmes/gphy/index.html
View file @
0be08980
...
...
@@ -195,13 +195,13 @@
that
.
xlh
=
""
gas
.
post
(
'kmes/gpfk/queryWoBomByWoid'
,{
"woid"
:
woid
,
"wosn"
:
that
.
cpsn
,
"bzlx"
:
window
.
bzlx
},
function
(
res
){
if
(
res
.
data
&&
res
.
data
.
records
){
let
msg
=
"查询装配表格:"
+
woid
+
"成功"
zpfk_wrz
(
that
,
msg
)
//
let msg="查询装配表格:"+woid+"成功"
//
zpfk_wrz(that,msg)
that
.
tabdata
=
res
.
data
.
records
;
that
.
initpage
()
}
else
{
let
msg
=
res
.
message
||
"查询装配表格:"
+
woid
+
"失败"
zpfk_wrz
(
that
,
msg
,
'error'
)
//
zpfk_wrz(that,msg,'error')
screenAlert
(
that
.
el
,
msg
,
2000
)
}
});
...
...
@@ -236,7 +236,7 @@
that
.
okOrng
=
"OK"
that
.
xlh
=
""
}
else
if
(
e
==
"NGBZ"
){
that
.
okOrng
=
"N"
that
.
okOrng
=
"N
G
"
that
.
xlh
=
""
}
else
if
(
e
==
"LOGOUT"
){
zpfk_wrz
(
that
,
"即将退出系统"
)
...
...
@@ -246,8 +246,8 @@
/* 获取类型 */
})
.
catch
(
function
(
e
){
let
msg
=
"正在查询WLID:"
+
that
.
xlh
zpfk_wrz
(
that
,
msg
)
//
let msg="正在查询WLID:"+that.xlh
//
zpfk_wrz(that,msg)
zpfk_wlxh
(
that
)
// console.log(e)
// let msg="无法识别该序列号:"+that.xlh
...
...
@@ -297,6 +297,7 @@
$
(
that
.
el
).
find
(
".rz"
).
append
(
"<br>>"
+
"<span style='color: red;'>"
+
msg
+
"</sapn>"
)
that
.
addtop
=
that
.
addtop
+
600
$
(
that
.
el
).
find
(
".rz"
).
scrollTop
(
that
.
addtop
)
that
.
okOrng
=
'NG'
}
/* this.xlh="" */
...
...
@@ -348,7 +349,7 @@
<div
style=
"height: calc(100% - 20px);display: flex;"
>
<div
class=
"rz"
style=
"width: 80%;height: 100%;background-color: #393456;color: #FFFFFF;overflow: auto;"
>
</div>
<div
:class=
"
okOrng=='OK'?'ok-item':'nok-item'"
<div
:class=
"
{'ok-item' : okOrng=='OK','nok-item' : okOrng=='NG','n-item': okOrng!='OK'&&okOrng!='NG'}"
style=
"width: 20%;height: 100%;color: white;display: flex;align-items: center;justify-content: center;font-size: 30px;"
>
<b>
{{okOrng}}
</b>
</div>
...
...
@@ -408,7 +409,9 @@
</div>
</div>
<div
class=
"cpiright"
style=
"width: 30%;height: 100%;padding: 10px;"
>
<div
style=
"width: 100%;height: 100%;background-color: #1890FF;color: white;display: flex;align-items: center;justify-content: center;font-size: 30px;"
>
<div
:class=
"{'ok-item' : okOrng=='OK','nok-item' : okOrng=='NG','n-item': okOrng!='OK'&&okOrng!='NG'}"
style=
"width: 100%;height: 100%;background-color: #1890FF;color: white;display: flex;align-items: center;justify-content: center;font-size: 30px;"
>
<b>
{{okOrng}}
</b>
</div>
</div>
...
...
@@ -476,7 +479,9 @@
<!-- 日志 -->
<div
class=
"cprz"
style=
"position: relative;"
>
<div
class=
"cpiright"
style=
"width:30%;height: 50%;padding: 10px;position: absolute;right: 0px;top: 20px;"
>
<div
style=
"width: 100%;height: 100%;background-color: #1890FF;color: white;display: flex;align-items: center;justify-content: center;font-size: 30px;"
>
<div
:class=
"{'ok-item' : okOrng=='OK','nok-item' : okOrng=='NG','n-item': okOrng!='OK'&&okOrng!='NG'}"
style=
"width: 100%;height: 100%;background-color: #1890FF;color: white;display: flex;align-items: center;justify-content: center;font-size: 30px;"
>
<b>
{{okOrng}}
</b>
</div>
</div>
...
...
@@ -524,7 +529,7 @@
data
:
function
()
{
return
{
username
:
localStorage
.
getItem
(
"username"
),
okOrng
:
"
N
"
,
okOrng
:
""
,
pdfdom
:
"kwrkb01pdf"
,
el
:
"#kwrkb01"
,
pdfurl
:
"kmes/gpfk/queryPdfByWoidAndZpgx"
,
...
...
gavel/src/main/resources/templates/views/kmes/gpjy/index.html
View file @
0be08980
...
...
@@ -134,11 +134,11 @@
if
(
res
.
data
&&
res
.
data
.
records
){
debugger
if
(
type
==
"ok"
){
t
ah
t
.
isok
=
"OK"
t
ha
t
.
isok
=
"OK"
that
.
hg
=
res
.
data
.
records
.
hgsl
||
0
;
that
.
ng
=
res
.
data
.
records
.
bhgsl
||
0
;
}
else
if
(
type
==
"ng"
){
t
ah
t
.
isok
=
"NG"
t
ha
t
.
isok
=
"NG"
that
.
hg
=
res
.
data
.
records
.
hgsl
||
0
;
that
.
ng
=
res
.
data
.
records
.
bhgsl
||
0
;
}
...
...
@@ -259,7 +259,9 @@
<span
style=
"font-size: 20px;font-weight: 800;"
>
NG数量:{{ng}}
</span>
</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=
"{'ok-item' : isok=='OK','nok-item' : isok=='NG','null-item': isok!='OK'&&isok!='NG'}"
class=
""
style=
"width: 40%;height: 95%;color: white;display: flex;align-items: center;justify-content: center;font-size: 30px;"
>
<b
style=
"font-size: 60px;"
>
{{isok}}
</b>
</div>
</div>
...
...
@@ -338,7 +340,9 @@
<div
class=
"tab"
>
<div
class=
"maintab"
style=
"position: relative;"
>
<div
class=
"cpiright"
style=
"width:160px;height: 160px;padding: 10px;position: absolute;right: 10px;top: 20px;"
>
<div
style=
"width: 100%;height: 100%;background-color: #1890FF;color: white;display: flex;align-items: center;justify-content: center;font-size: 30px;"
>
<div
:class=
"{'ok-item' : isok=='OK','nok-item' : isok=='NG','null-item': isok!='OK'&&isok!='NG'}"
style=
"width: 100%;height: 100%;background-color: #1890FF;color: white;display: flex;align-items: center;justify-content: center;font-size: 30px;"
>
<b>
{{isok}}
</b>
</div>
</div>
...
...
@@ -412,7 +416,9 @@
<div
class=
"tab"
>
<div
class=
"maintab"
style=
"position: relative;"
>
<div
class=
"cpiright"
style=
"width:130px;height: 130px;padding: 10px;position: absolute;right: 10px;top: 20px;"
>
<div
style=
"width: 100%;height: 100%;background-color: #1890FF;color: white;display: flex;align-items: center;justify-content: center;font-size: 30px;"
>
<div
:class=
"{'ok-item' : isok=='OK','nok-item' : isok=='NG','null-item': isok!='OK'&&isok!='NG'}"
style=
"width: 100%;height: 100%;background-color: #1890FF;color: white;display: flex;align-items: center;justify-content: center;font-size: 30px;"
>
<b>
{{isok}}
</b>
</div>
</div>
...
...
@@ -454,7 +460,7 @@
},
data
:
function
(){
return
{
isok
=
"OK
"
,
isok
:
"
"
,
username
:
localStorage
.
getItem
(
"username"
),
pm
:
""
,
ng
:
0
,
...
...
@@ -529,7 +535,7 @@
},
data
:
function
(){
return
{
isok
=
"OK
"
,
isok
:
"
"
,
username
:
localStorage
.
getItem
(
"username"
),
pm
:
""
,
ng
:
0
,
...
...
@@ -599,7 +605,7 @@
},
data
:
function
(){
return
{
isok
=
"OK
"
,
isok
:
"
"
,
username
:
localStorage
.
getItem
(
"username"
),
pm
:
""
,
ng
:
0
,
...
...
gavel/src/main/resources/templates/views/kmes/gpwx/index.html
View file @
0be08980
...
...
@@ -258,7 +258,9 @@
<span
style=
"font-size: 20px;font-weight: 800;"
>
NG数量:{{ng}}
</span>
</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=
"{'ok-item' : isok=='OK','nok-item' : isok=='NG','null-item': isok!='OK'&&isok!='NG'}"
style=
"width: 40%;height: 95%;color: white;display: flex;align-items: center;justify-content: center;font-size: 30px;"
>
<b
style=
"font-size: 60px;"
>
{{isok}}
</b>
</div>
</div>
...
...
@@ -337,7 +339,9 @@
<div
class=
"tab"
>
<div
class=
"maintab"
style=
"position: relative;"
>
<div
class=
"cpiright"
style=
"width:160px;height: 160px;padding: 10px;position: absolute;right: 10px;top: 20px;"
>
<div
style=
"width: 100%;height: 100%;background-color: #1890FF;color: white;display: flex;align-items: center;justify-content: center;font-size: 30px;"
>
<div
:class=
"{'ok-item' : isok=='OK','nok-item' : isok=='NG','null-item': isok!='OK'&&isok!='NG'}"
style=
"width: 100%;height: 100%;background-color: #1890FF;color: white;display: flex;align-items: center;justify-content: center;font-size: 30px;"
>
<b>
{{isok}}
</b>
</div>
</div>
...
...
@@ -411,7 +415,9 @@
<div
class=
"tab"
>
<div
class=
"maintab"
style=
"position: relative;"
>
<div
class=
"cpiright"
style=
"width:130px;height: 130px;padding: 10px;position: absolute;right: 10px;top: 20px;"
>
<div
style=
"width: 100%;height: 100%;background-color: #1890FF;color: white;display: flex;align-items: center;justify-content: center;font-size: 30px;"
>
<div
:class=
"{'ok-item' : isok=='OK','nok-item' : isok=='NG','null-item': isok!='OK'&&isok!='NG'}"
style=
"width: 100%;height: 100%;background-color: #1890FF;color: white;display: flex;align-items: center;justify-content: center;font-size: 30px;"
>
<b>
{{isok}}
</b>
</div>
</div>
...
...
@@ -453,7 +459,7 @@
},
data
:
function
(){
return
{
isok
:
"
ok
"
,
isok
:
""
,
username
:
localStorage
.
getItem
(
"username"
),
pm
:
""
,
ng
:
0
,
...
...
@@ -528,7 +534,7 @@
},
data
:
function
(){
return
{
isok
:
"
ok
"
,
isok
:
""
,
username
:
localStorage
.
getItem
(
"username"
),
pm
:
""
,
ng
:
0
,
...
...
@@ -598,7 +604,7 @@
},
data
:
function
(){
return
{
isok
:
"
ok
"
,
isok
:
""
,
username
:
localStorage
.
getItem
(
"username"
),
pm
:
""
,
ng
:
0
,
...
...
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