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
8805bd7c
Commit
8805bd7c
authored
Feb 25, 2022
by
李苏
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
登录页面
parent
ee4e91fd
Changes
7
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
66 additions
and
1037 deletions
+66
-1037
gethash.js
gavel/src/main/resources/static/js/gethash.js
+10
-0
kmeshome.js
gavel/src/main/resources/static/js/kmeshome.js
+4
-1
index.html
gavel/src/main/resources/templates/views/index.html
+30
-83
index.html
...l/src/main/resources/templates/views/kmes/gphy/index.html
+16
-11
index.html
...l/src/main/resources/templates/views/kmes/gpjy/index.html
+0
-465
index.html
...l/src/main/resources/templates/views/kmes/gpwx/index.html
+0
-473
login_view.html
gavel/src/main/resources/templates/views/login_view.html
+6
-4
No files found.
gavel/src/main/resources/static/js/gethash.js
0 → 100644
View file @
8805bd7c
let
hash
=
location
.
hash
let
hashindex
=
hash
.
indexOf
(
';'
)
let
idindex
=
hash
.
indexOf
(
'+'
)
let
gxindex
=
hash
.
indexOf
(
'!'
)
let
smkurl
=
hash
.
substring
(
1
,
hashindex
)
let
smkid
=
hash
.
substring
(
hashindex
+
1
,
idindex
)
let
sbzlx
=
hash
.
substring
(
idindex
+
1
,
gxindex
)
let
gxname
=
hash
.
substring
(
gxindex
+
1
,
hash
.
length
)
window
.
gxname
=
decodeURI
(
gxname
)
window
.
bzlx
=
sbzlx
\ No newline at end of file
gavel/src/main/resources/static/js/kmeshome.js
View file @
8805bd7c
...
...
@@ -35,9 +35,12 @@ $(function () {
let
hash
=
location
.
hash
let
hashindex
=
hash
.
indexOf
(
';'
)
let
idindex
=
hash
.
indexOf
(
'+'
)
let
gxindex
=
hash
.
indexOf
(
'!'
)
let
smkurl
=
hash
.
substring
(
1
,
hashindex
)
let
smkid
=
hash
.
substring
(
hashindex
+
1
,
idindex
)
let
sbzlx
=
hash
.
substring
(
idindex
+
1
,
hash
.
length
)
let
sbzlx
=
hash
.
substring
(
idindex
+
1
,
gxindex
)
let
gxname
=
hash
.
substring
(
gxindex
+
1
,
hash
.
length
)
console
.
log
(
"gxname"
)
window
.
bzlx
=
sbzlx
HTTP
.
post
(
"frame/init"
,
{},
function
(
result
)
{
let
isShow
=
false
...
...
gavel/src/main/resources/templates/views/index.html
View file @
8805bd7c
This diff is collapsed.
Click to expand it.
gavel/src/main/resources/templates/views/kmes/gphy/index.html
View file @
8805bd7c
<script
src=
"js/pdfshow.js"
type=
"text/javascript"
charset=
"utf-8"
></script>
<script
src=
"js/dbenlarge.js"
type=
"text/javascript"
charset=
"utf-8"
></script>
<script
src=
"js/gethash.js"
type=
"text/javascript"
charset=
"utf-8"
></script>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"css/zpfk.css"
/>
<style
type=
"text/css"
>
.errdialog
{
...
...
@@ -39,6 +40,10 @@
}
})
/* 取登录值 */
/* 通用代码 */
/* 大屏内部弹框 */
function
screenAlert
(
dom
,
msg
,
timeNum
){
...
...
@@ -83,7 +88,7 @@
/* 初始化工序 */
function
zpfk_getgx
(
e
){
let
that
=
e
that
.
gx
=
window
.
bzlx
||
"获取失败"
that
.
gx
=
window
.
gxname
||
"获取失败"
}
/* 判定代码类型 登录页面*/
function
zpfk_hqlx
(
e
){
...
...
@@ -127,10 +132,10 @@
let
msg
=
"查询工单信息:"
+
that
.
xlh
+
"成功"
zpfk_wrz
(
that
,
msg
)
/* 赋值操作 */
that
.
gd
=
res
.
data
.
records
.
d
jid
;
that
.
cpsn
=
res
.
data
.
records
.
wosnCode
;
that
.
gd
=
res
.
data
.
records
.
woD
jid
;
that
.
cpsn
=
res
.
data
.
records
.
wosnid
;
that
.
ph
=
res
.
data
.
records
.
wlxxCode
;
let
woid
=
res
.
data
.
records
.
d
jid
;
let
woid
=
res
.
data
.
records
.
woD
jid
;
y
(
woid
)
/** wobom查询 **/
...
...
@@ -264,7 +269,7 @@
<li>
系统管理员
</li>
<li
class=
"tipuli2"
>
{{systime}}
</li>
<li
class=
"tipuli2"
style=
"margin-right: 200px;"
>
计数:30
</li>
<li
class=
"tipuli2"
>
当前工序:
焊接
</li>
<li
class=
"tipuli2"
>
当前工序:
{{gx}}
</li>
</ul>
</div>
...
...
@@ -286,7 +291,7 @@
<span>
工单
</span><input
class=
"easyuitext wid70"
v-model=
"gd"
name=
"gd"
/>
</div>
<div
class=
"ery"
>
<span>
产品
SN
</span><input
class=
"easyuitext wid70"
v-model=
"cpsn"
name=
"cpsn"
/>
<span>
SN
</span><input
class=
"easyuitext wid70"
v-model=
"cpsn"
name=
"cpsn"
/>
</div>
<div
class=
"ery"
>
<span>
品号
</span><input
class=
"easyuitext wid70"
v-model=
"ph"
name=
"ph"
/>
...
...
@@ -330,7 +335,7 @@
<li
class=
"tipulmid"
>
ADMIN
</li>
<li
class=
"tipulmid"
>
系统管理员
</li>
<li
class=
"tipulmid"
>
甲班
</li>
<li
class=
"tipulmid"
style=
"width:
100px;"
>
当前工序:焊接
</li>
<li
class=
"tipulmid"
style=
"width:
200px;"
>
当前工序:{{gx}}
</li>
</ul>
<ul
class=
"tipul"
style=
"height: 100%;width: 100%;"
>
<li
style=
"width: 400px;"
>
...
...
@@ -354,7 +359,7 @@
<span>
工单
</span><input
class=
"easyuitext"
v-model=
"gd"
style=
"width: 70%"
name=
"gd"
/>
</div>
<div
class=
"ery"
>
<span>
产品
SN
</span><input
class=
"easyuitext"
v-model=
"cpsn"
style=
"width: 70%"
name=
"cpsn"
/>
<span>
SN
</span><input
class=
"easyuitext"
v-model=
"cpsn"
style=
"width: 70%"
name=
"cpsn"
/>
</div>
<div
class=
"ery"
>
<span>
品号
</span><input
class=
"easyuitext"
v-model=
"ph"
style=
"width: 70%"
name=
"ph"
/>
...
...
@@ -403,7 +408,7 @@
<li
class=
"tipulmid"
>
甲班
</li>
<li
class=
"tipuli2"
>
{{systime}}
</li>
<li
class=
"tipuli2"
style=
"margin-right: 10px;"
>
计数:30
</li>
<li
class=
"tipuli2"
style=
"margin-right: 10px;"
>
当前工序:
焊接
</li>
<li
class=
"tipuli2"
style=
"margin-right: 10px;"
>
当前工序:
{{gx}}
</li>
</ul>
</div>
<!-- 标题下信息 -->
...
...
@@ -416,7 +421,7 @@
<span>
工单
</span><input
class=
"easyuitext"
style=
"width:70%"
name=
"gd"
v-model=
"gd"
/>
</div>
<div
class=
"titdowinfor"
>
<span>
产品
SN
</span><input
class=
"easyuitext"
style=
"width:70%"
name=
"cpsn"
v-model=
"cpsn"
/>
<span>
SN
</span><input
class=
"easyuitext"
style=
"width:70%"
name=
"cpsn"
v-model=
"cpsn"
/>
</div>
<div
class=
"titdowinfor"
>
<span>
品号
</span><input
class=
"easyuitext"
style=
"width:70%"
name=
"ph"
v-model=
"ph"
/>
...
...
gavel/src/main/resources/templates/views/kmes/gpjy/index.html
deleted
100644 → 0
View file @
ee4e91fd
This diff is collapsed.
Click to expand it.
gavel/src/main/resources/templates/views/kmes/gpwx/index.html
deleted
100644 → 0
View file @
ee4e91fd
This diff is collapsed.
Click to expand it.
gavel/src/main/resources/templates/views/login_view.html
View file @
8805bd7c
...
...
@@ -54,13 +54,14 @@
width
:
80%
;
}
.errdialog
{
z-index
:
99999
;
min-width
:
35%
;
/* width: 35%; */
height
:
40px
;
text-align
:
center
;
line-height
:
40px
;
position
:
absolute
;
top
:
5
0px
;
top
:
3
0px
;
right
:
50%
;
color
:
#FFFFFF
;
background-color
:
rgba
(
255
,
0
,
0
,
0.5
);
...
...
@@ -112,7 +113,7 @@
/* 提示框 */
/* 大屏内部弹框 */
function
logalert
(
msg
){
let
getdom
=
$
(
"
#kmessmdl
"
)
let
getdom
=
$
(
"
body
"
)
getdom
.
css
(
'position'
,
'relative'
)
let
dialog
=
"<div class='errdialog'>"
+
msg
+
"</div>"
getdom
.
prepend
(
dialog
)
...
...
@@ -132,10 +133,11 @@
let
mkurl
=
result
.
data
.
records
.
fkurl
let
mkid
=
result
.
data
.
records
.
modulecode
let
bzlx
=
result
.
data
.
records
.
id
window
.
bzlx
=
bzlx
let
url
=
"
index#"
+
mkurl
+
";"
+
mkid
+
"+"
+
bzl
x
let
gx
=
result
.
data
.
records
.
name
let
url
=
"
singleindex?url="
+
mkurl
+
"#"
+
mkurl
+
";"
+
mkid
+
"+"
+
bzlx
+
"!"
+
g
x
window
.
location
.
href
=
url
}
else
{
logalert
(
result
.
message
||
"登录失败"
)
$rygh
.
val
(
""
)
$gylx
.
val
(
""
)
$rygh
.
focus
()
...
...
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