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
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
...
...
@@ -7,6 +7,7 @@
<link
rel=
"stylesheet"
type=
"text/css"
href=
"css/reset.css"
>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"lib/gui/gui/css/gui.bootstarp.min.css"
>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"lib/gui/gui/themes/default/gui.bluelighter.css"
id=
"dynamicTheme"
/>
<!-- <link rel="stylesheet" type="text/css" href="lib/gui/gui/themes/default/gui.border.css" id="formTheme"/>-->
<link
rel=
"stylesheet"
type=
"text/css"
href=
"lib/layui/css/layui.css"
>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"lib/gui/static/public/css/font.css"
/>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"lib/gui/gui/css/gui.index.css"
>
...
...
@@ -21,6 +22,7 @@
<link
rel=
"stylesheet"
type=
"text/css"
href=
"css/font-awesome.min.css"
>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"css/elfinder.full.css"
>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"css/style.css"
>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"css/erp.css"
>
</head>
<body>
<div
data-toggle=
"gui-layout"
data-options=
"id:'index_layout',fit:true"
style=
"width: 100%;"
>
...
...
@@ -34,25 +36,19 @@
</tr>
</table>
<span
style=
"float:right; padding-right: 10px; height: 50px; line-height: 50px;"
>
<span
id=
"indexMessageLabel"
class=
""
style=
"cursor:pointer;height: 50px;padding-right: 10px;"
>
消息
<a
title=
"消息"
class=
"fa fa-bell "
href=
"#"
style=
"display: inline-block;color: #fff;position: relative;padding-right: 15px;text-decoration: none;"
>
<label
id=
"indexMessageLabelNum"
class=
"label label-danger"
style=
"display: inline-block;background-color: red;min-width: 12px;text-align: center;position: absolute;left:10px;top:-5px;border-radius:40%;display: none;"
>
0
</label>
</a>
</span>
<!-- <a href="javascript:void(0)" onclick="support()" id="support" class="gui-menubutton"
data-options="hasDownArrow:false" style="color:#fff;padding: 0;text-align: center;width: 70px;">工单系统</a> -->
<a
href=
"javascript:void(0)"
onclick=
"support()"
id=
"support"
class=
"gui-menubutton"
data-options=
"iconCls:'fa', hasDownArrow:false"
style=
"color:#fff;"
>
工单系统
</a>
<a
href=
"javascript:void(0)"
id=
"mb3"
class=
"gui-menubutton"
data-options=
"menu:'#mm3',iconCls:'fa fa-user',hasDownArrow:true"
style=
"color:#fff;"
>
用户
</a>
<div
id=
"mm3"
style=
"width:74px;"
>
<div
data-options=
"iconCls:'fa fa-sign',hasDownArrow:false"
onclick=
"support()"
>
工单系统
</div>
<div
data-options=
"iconCls:'fa fa-key'"
onclick=
"javascript:modifyPwd(0)"
>
修改密码
</div>
<div
data-options=
"iconCls:'fa fa-sign-out',hasDownArrow:false"
onclick=
"logout()"
>
注销
</div>
</div>
<a
href=
"javascript:void(0)"
id=
"mb2"
class=
"gui-menubutton"
data-options=
"menu:'#mm2',iconCls:'fa fa-tree',hasDownArrow:true"
style=
"color:#fff;"
onclick=
"javascript:void(0)"
>
主题
</a>
onclick=
"javascript:void(0)"
>
主题
</a>
|
<div
id=
"mm2"
style=
"width:180px;"
>
<div
data-options=
"iconCls:'fa fa-tree blue'"
onclick=
"changeTheme('bluelighter')"
>
默认主题
</div>
<div
data-options=
"iconCls:'fa fa-tree '"
onclick=
"changeFormTheme(this)"
>
表单(无边框)
</div>
<div
data-options=
"iconCls:'fa fa-tree'"
onclick=
"changeTheme('black')"
>
黑色主题
</div>
<div
data-options=
"iconCls:'fa fa-tree'"
onclick=
"changeTheme('blacklight')"
>
黑色主题-亮
</div>
<div
data-options=
"iconCls:'fa fa-tree red'"
onclick=
"changeTheme('red')"
>
红色主题
</div>
...
...
@@ -63,15 +59,16 @@
<div
data-options=
"iconCls:'fa fa-tree purple'"
onclick=
"changeTheme('purplelight')"
>
紫色主题-亮
</div>
<div
data-options=
"iconCls:'fa fa-tree blue'"
onclick=
"changeTheme('blue')"
>
蓝色主题
</div>
<div
data-options=
"iconCls:'fa fa-tree blue'"
onclick=
"changeTheme('bluelight')"
>
蓝色主题-亮
</div>
<div
data-options=
"iconCls:'fa fa-tree blue'"
onclick=
"changeTheme('bluelighter')"
>
蓝色主题-更亮
</div>
<div
data-options=
"iconCls:'fa fa-tree orange'"
onclick=
"changeTheme('yellow')"
>
橙色主题
</div>
<div
data-options=
"iconCls:'fa fa-tree orange'"
onclick=
"changeTheme('yellowlight')"
>
橙色主题-亮
</div>
</div>
<!--
<a href="javascript:void(0)" onclick="logout()" class="gui-menubutton"
data-options="iconCls:'fa fa-sign-out',hasDownArrow:false" style="color:#fff;">注销</a>
-->
<a
href=
"javascript:void(0)"
onclick=
"logout()"
class=
"gui-menubutton"
data-options=
"iconCls:'fa fa-sign-out',hasDownArrow:false"
style=
"color:#fff;"
>
注销
</a>
</span>
<div
style=
"position: fixed;z-index: 1030!important;float:right;right: 28%;margin-top: 12px"
>
<div
class=
"aliyun-common-search-container"
>
<input
class=
"aliyun-common-search-input-elem"
id=
"searchIndex"
placeholder=
"搜索"
>
<input
class=
"aliyun-common-search-input-elem"
placeholder=
"搜索"
>
<div
class=
"aliyun-common-search-close"
style=
"display: none;"
></div>
<div
class=
"aliyun-common-search-icon"
id=
"su"
></div>
<div
class=
"aliyun-common-search-outline"
></div>
...
...
@@ -160,14 +157,14 @@
</table>
</div>
<form
id=
"pwdDialog"
class=
"hidden"
data-options=
"title: '
修改密码',
data-options=
"title: '修改密码',
iconCls:'fa fa-key',
width: 500,
height: 260"
>
<div
class=
"gui-fluid editTable"
>
<div
class=
"gui-row"
>
<div
class=
"gui-col-sm12"
>
<label
class=
"gui-form-label"
for=
""
>
旧密码:
</label>
<label
class=
"gui-form-label"
>
旧密码:
</label>
<div
class=
"gui-input-block"
>
<input
type=
"text"
name=
"oldPassword"
id=
"oldPassword"
data-toggle=
"gui-passwordbox"
data-options=
"required:true"
style=
"width: 100%"
>
...
...
@@ -206,7 +203,7 @@
<script
language=
"JavaScript"
type=
"text/javascript"
src=
"js/common/bluebird.js"
></script>
<!--common js-->
<script
language=
"JavaScript"
type=
"text/javascript"
src=
"js/common/json2.js"
></script>
<script
language=
"JavaScript"
type=
"text/javascript"
src=
"js/common/common.js?v=1
.1
"
></script>
<script
language=
"JavaScript"
type=
"text/javascript"
src=
"js/common/common.js?v=1"
></script>
<script
language=
"JavaScript"
type=
"text/javascript"
src=
"js/common/http.js"
></script>
<script
language=
"JavaScript"
type=
"text/javascript"
src=
"js/common/databind.js"
></script>
<script
language=
"JavaScript"
type=
"text/javascript"
src=
"js/common/DateUtils.js"
></script>
...
...
@@ -228,18 +225,15 @@
<script
type=
"text/javascript"
src=
"lib/gui/gui/js/gui.js?v=1.1"
></script>
<script
type=
"text/javascript"
src=
"lib/gui/gui/js/moduleloader.js"
></script>
<script
type=
"text/javascript"
src=
"lib/gui/gui/js/locale/gui.lang.zh_CN.js"
></script>
<
!-- <script type="text/javascript" src="lib/gui/static/public/js/gui.home.js" charset="utf-8"></script> --
>
<
script
type=
"text/javascript"
src=
"lib/gui/static/public/js/gui.home.js"
charset=
"utf-8"
></script
>
<script
type=
"text/javascript"
src=
"lib/gui/static/plugins/gui/gui.function.js"
></script>
<!-- 独立homejs -->
<script
language=
"JavaScript"
type=
"text/javascript"
src=
"js/kmeshome.js"
></script>
<!--基于GUI的拓展js-->
<script
language=
"JavaScript"
type=
"text/javascript"
src=
"js/common/public.js"
></script>
<script
language=
"JavaScript"
type=
"text/javascript"
src=
"lib/gui/gui/js/extension/datagrid-dnd.js"
></script>
<script
language=
"JavaScript"
type=
"text/javascript"
src=
"lib/gui/gui/js/extension/treegrid-dnd.js"
></script>
<script
language=
"JavaScript"
type=
"text/javascript"
src=
"lib/gui/gui/js/plugins/combobox.js"
></script>
<script
language=
"JavaScript"
type=
"text/javascript"
src=
"js/workflow.js
?v=1
"
></script>
<script
language=
"JavaScript"
type=
"text/javascript"
src=
"js/workflow.js"
></script>
<script
language=
"JavaScript"
type=
"text/javascript"
src=
"js/container.js"
></script>
<script
language=
"JavaScript"
type=
"text/javascript"
src=
"js/holder.js"
></script>
...
...
@@ -268,13 +262,7 @@
<script
src=
"lib/vue/plugin/lib/vue.min.js"
></script>
<!-- 引入样式 -->
<link
rel=
"stylesheet"
href=
"https://unpkg.com/element-ui/lib/theme-chalk/index.css"
>
<!-- 拖拽测试 -->
<script
src=
"https://www.itxst.com/package/vue/vue.min.js"
></script>
<script
src=
"js/zdytz/sortable.js"
></script>
<script
src=
"js/zdytz/vuedraggable.js"
></script>
<link
rel=
"stylesheet"
href=
"lib/vue/plugin/element-ui/index.css"
>
<!-- 引入组件库 -->
<script
src=
"lib/vue/plugin/element-ui/index.js"
></script>
<script
src=
"lib/vue/plugin/lib/axios/axios.min.js"
></script>
...
...
@@ -282,64 +270,23 @@
<script
src=
"lib/vue/plugin/lib/axios/es6-promise.auto.min.js"
></script>
<!--专用js-->
<script
language=
"JavaScript"
type=
"text/javascript"
src=
"js/project/function.js"
></script>
<script
language=
"JavaScript"
type=
"text/javascript"
src=
"js/project/wl.js"
></script>
<script
language=
"JavaScript"
type=
"text/javascript"
src=
"js/project/user.js"
></script>
<script
language=
"JavaScript"
type=
"text/javascript"
src=
"js/project/bz.js"
></script>
<script
language=
"JavaScript"
type=
"text/javascript"
src=
"js/project/reson.js"
></script>
<script
language=
"JavaScript"
type=
"text/javascript"
src=
"js/project/xqsq.js"
></script>
<script
language=
"JavaScript"
type=
"text/javascript"
src=
"js/project/constants.js"
></script>
<script
language=
"JavaScript"
type=
"text/javascript"
src=
"lib/gui/static/plugins/echarts/echarts.min.js"
></script>
<!-- -->
<script
language=
"JavaScript"
type=
"text/javascript"
src=
"js/editaleHolder.js"
></script>
<script
src=
"js/webSocket.js"
></script>
<script>
$
(
function
(){
var
notifySocket
=
new
gavelWebSocket
(
function
(
msg
)
{
if
(
msg
&&
msg
.
type
&&
msg
.
data
){
if
(
msg
.
type
==
"info"
)
gas
.
showTips
(
msg
.
data
);
else
if
(
msg
.
type
==
"warning"
)
gas
.
showWarning
(
msg
.
data
);
else
if
(
msg
.
type
==
"error"
)
gas
.
showError
(
msg
.
data
);
}
});
var
$lblMessageNum
=
$
(
"#indexMessageLabelNum"
);
var
$lblMessage
=
$
(
"#indexMessageLabel"
);
// 根据权限判断是否显示消息
function
apihidexxtb
(){
let
isShow
=
window
.
isShow
if
(
isShow
){
$lblMessage
.
show
()
}
else
{
$lblMessage
.
hide
()
}
}
// 获取消息数量
function
apiGetinfornum
(){
gas
.
post
(
'message/msginfo/unread/count'
,{},
function
(
res
){
if
(
res
.
data
&&
res
.
data
.
data
){
console
.
log
(
res
.
data
.
data
)
if
(
res
.
data
.
data
==
0
){
$lblMessageNum
.
hide
()
}
else
if
(
res
.
data
.
data
<
100
){
$lblMessageNum
.
show
()
$lblMessageNum
.
text
(
res
.
data
.
data
)
}
else
{
$lblMessageNum
.
show
()
$lblMessageNum
.
text
(
"99+"
)
}
}
});
}
$lblMessage
.
click
(
function
(){
let
node
=
{
mkid
:
"2502020001"
,
}
addTab
(
'tabs'
,
'我的消息'
,
"message/msginfo/index"
,
node
);
gas
.
showTips
(
msg
.
data
)
})
apihidexxtb
()
apiGetinfornum
()
let
getinfornum
=
setInterval
(
function
(){
apiGetinfornum
()
},
60000
)
});
</script>
...
...
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
<script
src=
"js/pdfshow.js"
type=
"text/javascript"
charset=
"utf-8"
></script>
<script
src=
"js/dbenlarge.js"
type=
"text/javascript"
charset=
"utf-8"
></script>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"css/jyfk.css"
/>
<div>
<div
class=
"btn-group"
>
<button
id=
"btnqh1"
type=
"button"
class=
"btn btn-default"
style=
"color: white;position: absolute;right: 5px;z-index: 9999999999;height: 50px;width: 200px;border: 0 solid #00AAFF;background-color: #00AAFF;"
>
切换风格
</button>
</div>
</div>
<script
type=
"text/javascript"
>
$
(
"#btnqh1"
).
click
(
function
(){
if
(
$
(
"#kwrkb04"
).
css
(
"display"
)
==
"flex"
){
$
(
"#kwrkb04"
).
css
(
"display"
,
"none"
)
$
(
"#kwrkb05"
).
css
(
"display"
,
"flex"
)
$
(
"#kwrkb06"
).
css
(
"display"
,
"none"
)
}
else
if
(
$
(
"#kwrkb05"
).
css
(
"display"
)
==
"flex"
){
$
(
"#kwrkb04"
).
css
(
"display"
,
"none"
)
$
(
"#kwrkb05"
).
css
(
"display"
,
"none"
)
$
(
"#kwrkb06"
).
css
(
"display"
,
"flex"
)
}
else
{
$
(
"#kwrkb04"
).
css
(
"display"
,
"flex"
)
$
(
"#kwrkb05"
).
css
(
"display"
,
"none"
)
$
(
"#kwrkb06"
).
css
(
"display"
,
"none"
)
}
})
/* 通用代码 */
/* 判定代码类型 登录页面*/
/* function jyfk_hqlx(e){
let that=e
return new Promise(function(y,n){
gas.post('kmes/gpfk/querySmlx ',{"wosnid":that.xlh}, function(res){
if(res.data&&res.data.records){
let getinfor=res.data.records
y(getinfor.id||"")}
else{
n('nok')
}
});
})
} */
</script>
<div
id=
"kwrkb04"
>
<!-- 顶部信息条 -->
<div
class=
"toptitle"
>
<ul
class=
"tipul"
style=
"height: 100%;"
>
<li>
ADMIN
</li>
<li>
系统管理员
</li>
<li>
甲班
</li>
<li
class=
"tipuli2"
>
{{systime}}
</li>
<li
class=
"tipuli2"
style=
"margin-right: 200px;"
>
计数:30
</li>
<li
class=
"tipuli2"
>
当前工序:焊接
</li>
</ul>
</div>
<!-- 左侧信息条 -->
<div
class=
"left"
>
<!-- 左上信息表 -->
<div
class=
"cbinfor"
>
<div
class=
"cpif"
>
<!-- top -->
<div
class=
"cpiftop"
style=
"display: flex;align-items: center;"
>
<span>
序列号
</span>
:
<input
class=
"easyuitext "
style=
"width: 84%;"
v-model=
"xlh"
@
keydown=
"scanxlh()"
name=
"xlh"
placeholder=
"请扫码条码"
/>
</div>
<!-- bot -->
<div
class=
"cpifbot"
style=
"display: flex;flex-wrap: wrap;"
>
<div
class=
"ery"
>
<span>
工序
</span><input
class=
"easyuitext wid70"
v-model=
"gx"
name=
"gx"
/>
</div>
<div
class=
"ery"
>
<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"
/>
</div>
<div
class=
"ery"
>
<span>
品号
</span><input
class=
"easyuitext wid70"
v-model=
"ph"
name=
"ph"
/>
</div>
</div>
</div>
<!-- 日志 -->
<div
class=
"cprz"
>
<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=
"card-item"
style=
"height: 45%;width: 90%;display: flex;align-items: center;justify-content: center;color: #FFFFFF;"
>
<span
style=
"font-size: 20px;font-weight: 800;"
>
合格数量:0
</span>
</div>
<div
class=
"card-item"
style=
"height: 45%;width: 90%;display: flex;align-items: center;justify-content: center;color: #FFFFFF;"
>
<span
style=
"font-size: 20px;font-weight: 800;"
>
NG数量:0
</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;"
>
<b
style=
"font-size: 60px;"
>
ok
</b>
</div>
</div>
</div>
</div>
<!-- 左下表格 -->
<div
class=
"tab"
>
<div
class=
"maintab"
>
<div
style=
"height: 20px;line-height: 20px;background-color: grey;color: white;text-align: center;"
>
日志
</div>
<div
style=
"height: calc(100% - 20px);display: flex;"
>
<div
class=
"rz"
style=
"width: 100%;height: 100%;background-color: #393456;color: #FFFFFF;overflow: auto;"
>
<span>
>>Tips
</span>
</div>
</div>
</div>
</div>
</div>
<!-- 右侧信息pdf -->
<div
class=
"right"
>
<canvas
id=
"gpjypdf"
class=
"rightPdf"
></canvas>
</div>
</div>
<!-- 界面5 -->
<div
id=
"kwrkb05"
>
<!-- 顶部信息条 -->
<div
class=
"toptitle"
>
<ul
class=
"tipul"
style=
"height: 100%;"
>
<li>
ADMIN
</li>
<li>
系统管理员
</li>
<li>
甲班
</li>
<li
class=
"tipuli2"
>
{{systime}}
</li>
<li
class=
"tipuli2"
style=
"margin-right: 200px;"
>
计数:30
</li>
<li
class=
"tipuli2"
>
当前工序:焊接
</li>
</ul>
</div>
<!-- 左侧信息条 -->
<div
class=
"left"
>
<!-- 左上信息表 -->
<div
class=
"cbinfor"
>
<div
class=
"cpif"
>
<!-- top -->
<div
class=
"cpiftop"
style=
"display: flex;align-items: center;"
>
<span>
序列号
</span>
:
<input
class=
"easyuitext"
style=
"width: 80%"
name=
"xlh"
/>
</div>
<!-- bot -->
<div
class=
"cpifbot"
style=
"display: flex;flex-wrap: wrap;"
>
<div
style=
"display: flex;width: 55%;height: 100%;flex-wrap: wrap;"
>
<div
class=
"ery"
>
<span>
工序
</span><input
class=
"easyuitext"
style=
"width: 70%"
name=
"gx"
/>
</div>
<div
class=
"ery"
>
<span>
工单
</span><input
class=
"easyuitext"
style=
"width: 70%"
name=
"gd"
/>
</div>
<div
class=
"ery"
>
<span>
产品SN
</span><input
class=
"easyuitext"
style=
"width: 70%"
name=
"cpsn"
/>
</div>
<div
class=
"ery"
>
<span>
品号
</span><input
class=
"easyuitext"
style=
"width: 70%"
name=
"ph"
/>
</div>
<div
class=
"ery"
>
<span>
品名
</span><input
class=
"easyuitext"
style=
"width: 70%"
name=
"pm"
/>
</div>
</div>
<div
style=
"display: flex;width: 45%;height: 100%;flex-wrap: wrap;align-items: center;"
>
<div
style=
"height: 45%;width: 90%;background-color: #00AAFF;display: flex;align-items: center;justify-content: center;color: #FFFFFF;"
>
<span
style=
"font-size: 20px;font-weight: 800;"
>
合格数量:0
</span>
</div>
<div
style=
"height: 45%;width: 90%;background-color: #FEC041;display: flex;align-items: center;justify-content: center;color: #FFFFFF;"
>
<span
style=
"font-size: 20px;font-weight: 800;"
>
NG数量:0
</span>
</div>
</div>
</div>
</div>
</div>
<!-- 左下表格 -->
<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;"
>
<b>
ok
</b>
</div>
</div>
<div
style=
"height: 20px;line-height: 20px;background-color: grey;color: white;text-align: center;"
>
日志
</div>
<div
style=
"height: calc(100% - 20px);display: flex;"
>
<div
style=
"width: 100%;height: 100%;background-color: #393456;color: #FFFFFF;"
>
<span>
>>Tips
</span>
</div>
</div>
</div>
</div>
</div>
<!-- 右侧信息pdf -->
<div
class=
"right"
>
<canvas
id=
"pdf"
class=
"rightPdf"
></canvas>
</div>
</div>
<!-- 看板6html -->
<div
id=
"kwrkb06"
>
<!-- 顶部信息条 -->
<div
class=
"toptitle"
>
<ul
class=
"tipul"
style=
"height: 100%;"
>
<li>
ADMIN
</li>
<li>
系统管理员
</li>
<li>
甲班
</li>
<li
class=
"tipuli2"
>
{{systime}}
</li>
<li
class=
"tipuli2"
style=
"margin-right: 200px;"
>
计数:30
</li>
<li
class=
"tipuli2"
>
当前工序:焊接
</li>
</ul>
</div>
<!-- 左侧信息条 -->
<div
class=
"left"
>
<!-- 左上信息表 -->
<div
class=
"cbinfor"
>
<div
class=
"cpif"
>
<!-- top -->
<div
class=
"cpiftop"
style=
"display: flex;align-items: center;"
>
<span>
序列号
</span>
:
<input
class=
"easyuitext"
style=
"width: 80%;"
name=
"xlh"
/>
</div>
<!-- bot -->
<div
class=
"cpifbot"
style=
"display: flex;flex-wrap: wrap;"
>
<div
style=
"display: flex;width: 55%;height: 100%;flex-wrap: wrap;"
>
<div
class=
"ery"
>
<span>
工序
</span><input
class=
"easyuitext"
style=
"width: 70%;"
name=
"gx"
/>
</div>
<div
class=
"ery"
>
<span>
工单
</span><input
class=
"easyuitext"
style=
"width: 70%;"
name=
"gd"
/>
</div>
<div
class=
"ery"
>
<span>
产品SN
</span><input
class=
"easyuitext"
style=
"width: 70%;"
name=
"cpsn"
/>
</div>
<div
class=
"ery"
>
<span>
品号
</span><input
class=
"easyuitext"
style=
"width: 70%;"
name=
"ph"
/>
</div>
<div
class=
"ery"
>
<span>
品名
</span><input
class=
"easyuitext"
style=
"width: 70%;"
name=
"pm"
/>
</div>
</div>
<div
style=
"display: flex;width: 45%;height: 100%;flex-wrap: wrap;align-items: center;"
>
<div
style=
"height: 45%;width: 90%;background-color: #00AAFF;display: flex;align-items: center;justify-content: center;color: #FFFFFF;"
>
<span
style=
"font-size: 20px;font-weight: 800;"
>
合格数量:0
</span>
</div>
<div
style=
"height: 45%;width: 90%;background-color: #FEC041;display: flex;align-items: center;justify-content: center;color: #FFFFFF;"
>
<span
style=
"font-size: 20px;font-weight: 800;"
>
NG数量:0
</span>
</div>
</div>
</div>
</div>
</div>
<!-- 左下表格 -->
<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;"
>
<b>
ok
</b>
</div>
</div>
<div
style=
"height: 20px;line-height: 20px;background-color: grey;color: white;text-align: center;"
>
日志
</div>
<div
style=
"height: calc(100% - 20px);display: flex;"
>
<div
style=
"width: 100%;height: 100%;background-color: #393456;color: #FFFFFF;"
>
<span>
>>Tips
</span>
</div>
</div>
</div>
<div
class=
"mainsp"
>
<video
src=
"movie.ogg"
controls=
"controls"
style=
"height: 100%;width: 100%;"
>
您的浏览器不支持 video 标签。
</video>
</div>
</div>
</div>
<!-- 右侧信息pdf -->
<div
class=
"right"
>
<canvas
id=
"pdf"
class=
"rightPdf"
></canvas>
</div>
</div>
<script
type=
"text/javascript"
>
let
Vkwrkb04
=
new
Vue
({
el
:
"#kwrkb04"
,
mounted
()
{
dbenlarge
(
'kwrkb04'
,
1
,
this
.
isFocus
())
pdfshow
(
"pdf/dcAcess.pdf"
,
"gpjypdf"
,
5000
).
then
(
e
=>
{
this
.
sivpdf
=
e
})
// this.sivpdf=
this
.
initpage
()
this
.
gettime
()
this
.
appdestory
()
},
destroyed
()
{
clearInterval
(
this
.
sivdestory
)
clearInterval
(
this
.
sivpdf
)
clearInterval
(
this
.
sivtimer
)
},
data
:
function
(){
return
{
addtop
:
0
,
xlh
:
""
,
gx
:
""
,
gd
:
""
,
cpsn
:
""
,
ph
:
""
,
systime
:
""
,
tabdata
:[],
sivtimer
:
null
,
//时间计数器
sivpdf
:
null
,
sivdestory
:
null
}
},
methods
:{
isFocus
(){
let
$xlh
=
$
(
"#kwrkb04"
).
find
(
'input[name="xlh"]'
)
$xlh
.
focus
()
},
// 扫码事件
scanxlh
(
e
){
var
evt
=
window
.
event
||
e
;
if
(
evt
.
keyCode
==
13
)
{
console
.
log
(
this
.
xlh
)
$
(
"#kwrkb04"
).
find
(
".rz"
).
append
(
"<br>>"
+
"<span>"
+
"正在查询:"
+
this
.
xlh
+
"</sapn>"
)
this
.
addtop
=
this
.
addtop
+
600
$
(
"#kwrkb04"
).
find
(
".rz"
).
scrollTop
(
this
.
addtop
)
this
.
xlh
=
""
}
},
// 初始化页面
initpage
(){
},
/* 展示时间 */
gettime
(){
let
that
=
this
let
nowtime
nowtime
=
new
Date
().
getTime
()
that
.
systime
=
new
Date
(
nowtime
).
Format
(
"yyyy-MM-dd hh:mm"
)
this
.
sivtimer
=
setInterval
(
function
(){
nowtime
=
new
Date
().
getTime
()
that
.
systime
=
new
Date
(
nowtime
).
Format
(
"yyyy-MM-dd hh:mm"
)
},
20000
)
},
appdestory
(){
let
that
=
this
this
.
sivdestory
=
setInterval
(
function
(){
if
(
!
$
(
"#kwrkb04"
).
height
()){
Vkwrkb04
.
$destroy
()
}
},
3000
)
}
}
})
/* 界面5vue实例 */
let
Vkwrkb05
=
new
Vue
({
el
:
"#kwrkb05"
,
mounted
()
{
dbenlarge
(
'kwrkb05'
)
pdfshow
(
"pdf/dcAcess.pdf"
,
"pdf"
,
5000
).
then
(
e
=>
{
this
.
sivpdf
=
e
$
(
"#kwrkb05"
).
hide
()
})
// this.sivpdf=
this
.
initpage
()
this
.
gettime
()
this
.
appdestory
()
},
destroyed
()
{
clearInterval
(
this
.
sivdestory
)
clearInterval
(
this
.
sivpdf
)
clearInterval
(
this
.
sivtimer
)
},
data
:
function
(){
return
{
systime
:
""
,
tabdata
:[
],
sivtimer
:
null
,
//时间计数器
sivpdf
:
null
,
sivdestory
:
null
}
},
methods
:{
// 初始化页面
initpage
(){
},
/* 展示时间 */
gettime
(){
let
that
=
this
let
nowtime
nowtime
=
new
Date
().
getTime
()
that
.
systime
=
new
Date
(
nowtime
).
Format
(
"yyyy-MM-dd hh:mm"
)
this
.
sivtimer
=
setInterval
(
function
(){
nowtime
=
new
Date
().
getTime
()
that
.
systime
=
new
Date
(
nowtime
).
Format
(
"yyyy-MM-dd hh:mm"
)
},
20000
)
},
appdestory
(){
let
that
=
this
this
.
sivdestory
=
setInterval
(
function
(){
if
(
!
$
(
"#kwrkb05"
).
height
()){
Vkwrkb05
.
$destroy
()
}
},
3000
)
}
}
})
/* 看板6实例 */
let
Vkwrkb06
=
new
Vue
({
el
:
"#kwrkb06"
,
mounted
()
{
dbenlarge
(
'kwrkb06'
)
pdfshow
(
"pdf/dcAcess.pdf"
,
"pdf"
,
5000
).
then
(
e
=>
{
this
.
sivpdf
=
e
$
(
"#kwrkb06"
).
hide
()
})
// this.sivpdf=
this
.
initpage
()
this
.
gettime
()
this
.
appdestory
()
},
destroyed
()
{
clearInterval
(
this
.
sivdestory
)
clearInterval
(
this
.
sivpdf
)
clearInterval
(
this
.
sivtimer
)
},
data
:
function
(){
return
{
addtop
:
0
,
xlh
:
""
,
gx
:
""
,
gd
:
""
,
cpsn
:
""
,
ph
:
""
,
systime
:
""
,
tabdata
:[],
sivtimer
:
null
,
//时间计数器
sivpdf
:
null
,
sivdestory
:
null
}
},
methods
:{
// 初始化页面
initpage
(){
},
/* 展示时间 */
gettime
(){
let
that
=
this
let
nowtime
nowtime
=
new
Date
().
getTime
()
that
.
systime
=
new
Date
(
nowtime
).
Format
(
"yyyy-MM-dd hh:mm"
)
this
.
sivtimer
=
setInterval
(
function
(){
nowtime
=
new
Date
().
getTime
()
that
.
systime
=
new
Date
(
nowtime
).
Format
(
"yyyy-MM-dd hh:mm"
)
},
20000
)
},
appdestory
(){
let
that
=
this
this
.
sivdestory
=
setInterval
(
function
(){
if
(
!
$
(
"#kwrkb06"
).
height
()){
Vkwrkb06
.
$destroy
()
}
},
3000
)
}
}
})
</script>
gavel/src/main/resources/templates/views/kmes/gpwx/index.html
deleted
100644 → 0
View file @
ee4e91fd
<script
src=
"js/pdfshow.js"
type=
"text/javascript"
charset=
"utf-8"
></script>
<script
src=
"js/dbenlarge.js"
type=
"text/javascript"
charset=
"utf-8"
></script>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"css/wxfk.css"
/>
<div>
<div
class=
"btn-group"
>
<button
id=
"btnqh2"
type=
"button"
class=
"btn btn-default"
style=
"color: white;position: absolute;right: 5px;z-index: 9999999999;height: 50px;width: 200px;border: 0 solid #00AAFF;background-color: #00AAFF;"
>
切换风格
</button>
</div>
</div>
<script
type=
"text/javascript"
>
$
(
"#btnqh2"
).
click
(
function
(){
if
(
$
(
"#kwrkb07"
).
css
(
"display"
)
==
"flex"
){
$
(
"#kwrkb07"
).
css
(
"display"
,
"none"
)
$
(
"#kwrkb08"
).
css
(
"display"
,
"flex"
)
$
(
"#kwrkb09"
).
css
(
"display"
,
"none"
)
}
else
if
(
$
(
"#kwrkb08"
).
css
(
"display"
)
==
"flex"
){
$
(
"#kwrkb07"
).
css
(
"display"
,
"none"
)
$
(
"#kwrkb08"
).
css
(
"display"
,
"none"
)
$
(
"#kwrkb09"
).
css
(
"display"
,
"flex"
)
}
else
{
$
(
"#kwrkb07"
).
css
(
"display"
,
"flex"
)
$
(
"#kwrkb08"
).
css
(
"display"
,
"none"
)
$
(
"#kwrkb09"
).
css
(
"display"
,
"none"
)
}
})
</script>
<div
id=
"kwrkb07"
>
<!-- 顶部信息条 -->
<div
class=
"toptitle"
>
<ul
class=
"tipul"
style=
"height: 100%;"
>
<li>
ADMIN
</li>
<li>
系统管理员
</li>
<li>
甲班
</li>
<li
class=
"tipuli2"
>
{{systime}}
</li>
<li
class=
"tipuli2"
style=
"margin-right: 200px;"
>
计数:30
</li>
<li
class=
"tipuli2"
>
当前工序:焊接
</li>
</ul>
</div>
<!-- 左侧信息条 -->
<div
class=
"left"
>
<!-- 左上信息表 -->
<div
class=
"cbinfor"
>
<div
class=
"cpif"
>
<!-- top -->
<div
class=
"cpiftop"
style=
"display: flex;align-items: center;"
>
<span>
序列号
</span>
:
<input
class=
"easyuitext "
style=
"width: 84%;"
v-model=
"xlh"
@
keydown=
"scanxlh()"
name=
"xlh"
placeholder=
"请扫码条码"
/>
</div>
<!-- bot -->
<div
class=
"cpifbot"
style=
"display: flex;flex-wrap: wrap;"
>
<div
class=
"ery"
>
<span>
工序
</span><input
class=
"easyuitext wid70"
v-model=
"gx"
name=
"gx"
/>
</div>
<div
class=
"ery"
>
<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"
/>
</div>
<div
class=
"ery"
>
<span>
品号
</span><input
class=
"easyuitext wid70"
v-model=
"ph"
name=
"ph"
/>
</div>
</div>
</div>
<!-- 日志 -->
<div
class=
"cprz"
>
<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=
"card-item"
style=
"height: 45%;width: 90%;display: flex;align-items: center;justify-content: center;color: #FFFFFF;"
>
<span
style=
"font-size: 20px;font-weight: 800;"
>
合格数量:0
</span>
</div>
<div
class=
"card-item"
style=
"height: 45%;width: 90%;display: flex;align-items: center;justify-content: center;color: #FFFFFF;"
>
<span
style=
"font-size: 20px;font-weight: 800;"
>
NG数量:0
</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;"
>
<b
style=
"font-size: 60px;"
>
ok
</b>
</div>
</div>
</div>
</div>
<!-- 左下表格 -->
<div
class=
"tab"
>
<div
class=
"maintab"
>
<div
style=
"height: 20px;line-height: 20px;background-color: grey;color: white;text-align: center;"
>
日志
</div>
<div
style=
"height: calc(100% - 20px);display: flex;"
>
<div
class=
"rz"
style=
"width: 100%;height: 100%;background-color: #393456;color: #FFFFFF;overflow: auto;"
>
<span>
>>Tips
</span>
</div>
</div>
</div>
</div>
</div>
<!-- 右侧信息pdf -->
<div
class=
"right"
>
<canvas
id=
"gpjypdf"
class=
"rightPdf"
></canvas>
</div>
</div>
<!-- 界面5 -->
<div
id=
"kwrkb08"
>
<!-- 顶部信息条 -->
<div
class=
"toptitle"
>
<ul
class=
"tipul"
style=
"height: 100%;"
>
<li>
ADMIN
</li>
<li>
系统管理员
</li>
<li>
甲班
</li>
<li
class=
"tipuli2"
>
{{systime}}
</li>
<li
class=
"tipuli2"
style=
"margin-right: 200px;"
>
计数:30
</li>
<li
class=
"tipuli2"
>
当前工序:焊接
</li>
</ul>
</div>
<!-- 左侧信息条 -->
<div
class=
"left"
>
<!-- 左上信息表 -->
<div
class=
"cbinfor"
>
<div
class=
"cpif"
>
<!-- top -->
<div
class=
"cpiftop"
style=
"display: flex;align-items: center;"
>
<span>
序列号
</span>
:
<input
class=
"easyuitext"
style=
"width: 80%"
name=
"xlh"
/>
</div>
<!-- bot -->
<div
class=
"cpifbot"
style=
"display: flex;flex-wrap: wrap;"
>
<div
style=
"display: flex;width: 55%;height: 100%;flex-wrap: wrap;"
>
<div
class=
"ery"
>
<span>
工序
</span><input
class=
"easyuitext"
style=
"width: 70%"
name=
"gx"
/>
</div>
<div
class=
"ery"
>
<span>
工单
</span><input
class=
"easyuitext"
style=
"width: 70%"
name=
"gd"
/>
</div>
<div
class=
"ery"
>
<span>
产品SN
</span><input
class=
"easyuitext"
style=
"width: 70%"
name=
"cpsn"
/>
</div>
<div
class=
"ery"
>
<span>
品号
</span><input
class=
"easyuitext"
style=
"width: 70%"
name=
"ph"
/>
</div>
<div
class=
"ery"
>
<span>
品名
</span><input
class=
"easyuitext"
style=
"width: 70%"
name=
"pm"
/>
</div>
</div>
<div
style=
"display: flex;width: 45%;height: 100%;flex-wrap: wrap;align-items: center;"
>
<div
style=
"height: 45%;width: 90%;background-color: #00AAFF;display: flex;align-items: center;justify-content: center;color: #FFFFFF;"
>
<span
style=
"font-size: 20px;font-weight: 800;"
>
合格数量:0
</span>
</div>
<div
style=
"height: 45%;width: 90%;background-color: #FEC041;display: flex;align-items: center;justify-content: center;color: #FFFFFF;"
>
<span
style=
"font-size: 20px;font-weight: 800;"
>
NG数量:0
</span>
</div>
</div>
</div>
</div>
</div>
<!-- 左下表格 -->
<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;"
>
<b>
ok
</b>
</div>
</div>
<div
style=
"height: 20px;line-height: 20px;background-color: grey;color: white;text-align: center;"
>
日志
</div>
<div
style=
"height: calc(100% - 20px);display: flex;"
>
<div
style=
"width: 100%;height: 100%;background-color: #393456;color: #FFFFFF;"
>
<span>
>>Tips
</span>
</div>
</div>
</div>
</div>
</div>
<!-- 右侧信息pdf -->
<div
class=
"right"
>
<canvas
id=
"pdf"
class=
"rightPdf"
></canvas>
</div>
</div>
<!-- 看板6html -->
<div
id=
"kwrkb09"
>
<!-- 顶部信息条 -->
<div
class=
"toptitle"
>
<ul
class=
"tipul"
style=
"height: 100%;"
>
<li>
ADMIN
</li>
<li>
系统管理员
</li>
<li>
甲班
</li>
<li
class=
"tipuli2"
>
{{systime}}
</li>
<li
class=
"tipuli2"
style=
"margin-right: 200px;"
>
计数:30
</li>
<li
class=
"tipuli2"
>
当前工序:焊接
</li>
</ul>
</div>
<!-- 左侧信息条 -->
<div
class=
"left"
>
<!-- 左上信息表 -->
<div
class=
"cbinfor"
>
<div
class=
"cpif"
>
<!-- top -->
<div
class=
"cpiftop"
style=
"display: flex;align-items: center;"
>
<span>
序列号
</span>
:
<input
class=
"easyuitext"
style=
"width: 80%;"
name=
"xlh"
/>
</div>
<!-- bot -->
<div
class=
"cpifbot"
style=
"display: flex;flex-wrap: wrap;"
>
<div
style=
"display: flex;width: 55%;height: 100%;flex-wrap: wrap;"
>
<div
class=
"ery"
>
<span>
工序
</span><input
class=
"easyuitext"
style=
"width: 70%;"
name=
"gx"
/>
</div>
<div
class=
"ery"
>
<span>
工单
</span><input
class=
"easyuitext"
style=
"width: 70%;"
name=
"gd"
/>
</div>
<div
class=
"ery"
>
<span>
产品SN
</span><input
class=
"easyuitext"
style=
"width: 70%;"
name=
"cpsn"
/>
</div>
<div
class=
"ery"
>
<span>
品号
</span><input
class=
"easyuitext"
style=
"width: 70%;"
name=
"ph"
/>
</div>
<div
class=
"ery"
>
<span>
品名
</span><input
class=
"easyuitext"
style=
"width: 70%;"
name=
"pm"
/>
</div>
</div>
<div
style=
"display: flex;width: 45%;height: 100%;flex-wrap: wrap;align-items: center;"
>
<div
style=
"height: 45%;width: 90%;background-color: #00AAFF;display: flex;align-items: center;justify-content: center;color: #FFFFFF;"
>
<span
style=
"font-size: 20px;font-weight: 800;"
>
合格数量:0
</span>
</div>
<div
style=
"height: 45%;width: 90%;background-color: #FEC041;display: flex;align-items: center;justify-content: center;color: #FFFFFF;"
>
<span
style=
"font-size: 20px;font-weight: 800;"
>
NG数量:0
</span>
</div>
</div>
</div>
</div>
</div>
<!-- 左下表格 -->
<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;"
>
<b>
ok
</b>
</div>
</div>
<div
style=
"height: 20px;line-height: 20px;background-color: grey;color: white;text-align: center;"
>
日志
</div>
<div
style=
"height: calc(100% - 20px);display: flex;"
>
<div
style=
"width: 100%;height: 100%;background-color: #393456;color: #FFFFFF;"
>
<span>
>>Tips
</span>
</div>
</div>
</div>
<div
class=
"mainsp"
>
<video
src=
"movie.ogg"
controls=
"controls"
style=
"height: 100%;width: 100%;"
>
您的浏览器不支持 video 标签。
</video>
</div>
</div>
</div>
<!-- 右侧信息pdf -->
<div
class=
"right"
>
<canvas
id=
"pdf"
class=
"rightPdf"
></canvas>
</div>
</div>
<script
type=
"text/javascript"
>
let
Vkwrkb07
=
new
Vue
({
el
:
"#kwrkb07"
,
mounted
()
{
dbenlarge
(
'kwrkb07'
,
1
,
this
.
isFocus
())
pdfshow
(
"pdf/dcAcess.pdf"
,
"gpjypdf"
,
5000
).
then
(
e
=>
{
this
.
sivpdf
=
e
})
// this.sivpdf=
this
.
initpage
()
this
.
gettime
()
this
.
appdestory
()
},
destroyed
()
{
clearInterval
(
this
.
sivdestory
)
clearInterval
(
this
.
sivpdf
)
clearInterval
(
this
.
sivtimer
)
},
data
:
function
(){
return
{
addtop
:
0
,
xlh
:
""
,
gx
:
""
,
gd
:
""
,
cpsn
:
""
,
ph
:
""
,
systime
:
""
,
tabdata
:[
],
sivtimer
:
null
,
//时间计数器
sivpdf
:
null
,
sivdestory
:
null
}
},
methods
:{
isFocus
(){
let
$xlh
=
$
(
"#kwrkb07"
).
find
(
'input[name="xlh"]'
)
$xlh
.
focus
()
},
// 扫码事件
scanxlh
(
e
){
var
evt
=
window
.
event
||
e
;
if
(
evt
.
keyCode
==
13
)
{
console
.
log
(
this
.
xlh
)
$
(
"#kwrkb07"
).
find
(
".rz"
).
append
(
"<br>>"
+
"<span>"
+
"正在查询:"
+
this
.
xlh
+
"</sapn>"
)
this
.
addtop
=
this
.
addtop
+
600
$
(
"#kwrkb07"
).
find
(
".rz"
).
scrollTop
(
this
.
addtop
)
this
.
xlh
=
""
}
},
// 初始化页面
initpage
(){
},
/* 展示时间 */
gettime
(){
let
that
=
this
let
nowtime
nowtime
=
new
Date
().
getTime
()
that
.
systime
=
new
Date
(
nowtime
).
Format
(
"yyyy-MM-dd hh:mm"
)
this
.
sivtimer
=
setInterval
(
function
(){
nowtime
=
new
Date
().
getTime
()
that
.
systime
=
new
Date
(
nowtime
).
Format
(
"yyyy-MM-dd hh:mm"
)
},
20000
)
},
appdestory
(){
let
that
=
this
this
.
sivdestory
=
setInterval
(
function
(){
if
(
!
$
(
"#kwrkb07"
).
height
()){
Vkwrkb07
.
$destroy
()
}
},
3000
)
}
}
})
/* 界面5vue实例 */
let
Vkwrkb08
=
new
Vue
({
el
:
"#kwrkb08"
,
mounted
()
{
dbenlarge
(
'kwrkb08'
)
pdfshow
(
"pdf/dcAcess.pdf"
,
"pdf"
,
5000
).
then
(
e
=>
{
this
.
sivpdf
=
e
$
(
"#kwrkb08"
).
hide
()
})
// this.sivpdf=
this
.
initpage
()
this
.
gettime
()
this
.
appdestory
()
},
destroyed
()
{
clearInterval
(
this
.
sivdestory
)
clearInterval
(
this
.
sivpdf
)
clearInterval
(
this
.
sivtimer
)
},
data
:
function
(){
return
{
systime
:
""
,
tabdata
:[
{
ph
:
10
,
pm
:
"GT-RBZ6"
,
ggxh
:
"RBG-AK"
,
sl
:
13
,
zpsl
:
12
},
{
ph
:
10
,
pm
:
"GT-RBZ6"
,
ggxh
:
"RBG-AK"
,
sl
:
13
,
zpsl
:
12
},
{
ph
:
10
,
pm
:
"GT-RBZ6"
,
ggxh
:
"RBG-AK"
,
sl
:
13
,
zpsl
:
12
},
{
ph
:
10
,
pm
:
"GT-RBZ6"
,
ggxh
:
"RBG-AK"
,
sl
:
13
,
zpsl
:
12
},
{
ph
:
10
,
pm
:
"GT-RBZ6"
,
ggxh
:
"RBG-AK"
,
sl
:
13
,
zpsl
:
12
},
{
ph
:
10
,
pm
:
"GT-RBZ6"
,
ggxh
:
"RBG-AK"
,
sl
:
13
,
zpsl
:
12
},
{
ph
:
10
,
pm
:
"GT-RBZ6"
,
ggxh
:
"RBG-AK"
,
sl
:
13
,
zpsl
:
12
},
{
ph
:
10
,
pm
:
"GT-RBZ6"
,
ggxh
:
"RBG-AK"
,
sl
:
13
,
zpsl
:
12
},
{
ph
:
10
,
pm
:
"GT-RBZ6"
,
ggxh
:
"RBG-AK"
,
sl
:
13
,
zpsl
:
12
},
{
ph
:
10
,
pm
:
"GT-RBZ6"
,
ggxh
:
"RBG-AK"
,
sl
:
13
,
zpsl
:
12
},
{
ph
:
10
,
pm
:
"GT-RBZ6"
,
ggxh
:
"RBG-AK"
,
sl
:
13
,
zpsl
:
12
},
{
ph
:
10
,
pm
:
"GT-RBZ6"
,
ggxh
:
"RBG-AK"
,
sl
:
13
,
zpsl
:
12
},
{
ph
:
10
,
pm
:
"GT-RBZ6"
,
ggxh
:
"RBG-AK"
,
sl
:
13
,
zpsl
:
12
},
],
sivtimer
:
null
,
//时间计数器
sivpdf
:
null
,
sivdestory
:
null
}
},
methods
:{
// 初始化页面
initpage
(){
},
/* 展示时间 */
gettime
(){
let
that
=
this
let
nowtime
nowtime
=
new
Date
().
getTime
()
that
.
systime
=
new
Date
(
nowtime
).
Format
(
"yyyy-MM-dd hh:mm"
)
this
.
sivtimer
=
setInterval
(
function
(){
nowtime
=
new
Date
().
getTime
()
that
.
systime
=
new
Date
(
nowtime
).
Format
(
"yyyy-MM-dd hh:mm"
)
},
20000
)
},
appdestory
(){
let
that
=
this
this
.
sivdestory
=
setInterval
(
function
(){
if
(
!
$
(
"#kwrkb08"
).
height
()){
Vkwrkb08
.
$destroy
()
}
},
3000
)
}
}
})
/* 看板6实例 */
let
Vkwrkb09
=
new
Vue
({
el
:
"#kwrkb09"
,
mounted
()
{
dbenlarge
(
'kwrkb09'
)
pdfshow
(
"pdf/dcAcess.pdf"
,
"pdf"
,
5000
).
then
(
e
=>
{
this
.
sivpdf
=
e
$
(
"#kwrkb09"
).
hide
()
})
// this.sivpdf=
this
.
initpage
()
this
.
gettime
()
this
.
appdestory
()
},
destroyed
()
{
clearInterval
(
this
.
sivdestory
)
clearInterval
(
this
.
sivpdf
)
clearInterval
(
this
.
sivtimer
)
},
data
:
function
(){
return
{
systime
:
""
,
tabdata
:[
{
ph
:
10
,
pm
:
"GT-RBZ6"
,
ggxh
:
"RBG-AK"
,
sl
:
13
,
zpsl
:
12
},
{
ph
:
10
,
pm
:
"GT-RBZ6"
,
ggxh
:
"RBG-AK"
,
sl
:
13
,
zpsl
:
12
},
{
ph
:
10
,
pm
:
"GT-RBZ6"
,
ggxh
:
"RBG-AK"
,
sl
:
13
,
zpsl
:
12
},
{
ph
:
10
,
pm
:
"GT-RBZ6"
,
ggxh
:
"RBG-AK"
,
sl
:
13
,
zpsl
:
12
},
{
ph
:
10
,
pm
:
"GT-RBZ6"
,
ggxh
:
"RBG-AK"
,
sl
:
13
,
zpsl
:
12
},
{
ph
:
10
,
pm
:
"GT-RBZ6"
,
ggxh
:
"RBG-AK"
,
sl
:
13
,
zpsl
:
12
},
{
ph
:
10
,
pm
:
"GT-RBZ6"
,
ggxh
:
"RBG-AK"
,
sl
:
13
,
zpsl
:
12
},
{
ph
:
10
,
pm
:
"GT-RBZ6"
,
ggxh
:
"RBG-AK"
,
sl
:
13
,
zpsl
:
12
},
{
ph
:
10
,
pm
:
"GT-RBZ6"
,
ggxh
:
"RBG-AK"
,
sl
:
13
,
zpsl
:
12
},
{
ph
:
10
,
pm
:
"GT-RBZ6"
,
ggxh
:
"RBG-AK"
,
sl
:
13
,
zpsl
:
12
},
{
ph
:
10
,
pm
:
"GT-RBZ6"
,
ggxh
:
"RBG-AK"
,
sl
:
13
,
zpsl
:
12
},
{
ph
:
10
,
pm
:
"GT-RBZ6"
,
ggxh
:
"RBG-AK"
,
sl
:
13
,
zpsl
:
12
},
{
ph
:
10
,
pm
:
"GT-RBZ6"
,
ggxh
:
"RBG-AK"
,
sl
:
13
,
zpsl
:
12
},
],
sivtimer
:
null
,
//时间计数器
sivpdf
:
null
,
sivdestory
:
null
}
},
methods
:{
// 初始化页面
initpage
(){
},
/* 展示时间 */
gettime
(){
let
that
=
this
let
nowtime
nowtime
=
new
Date
().
getTime
()
that
.
systime
=
new
Date
(
nowtime
).
Format
(
"yyyy-MM-dd hh:mm"
)
this
.
sivtimer
=
setInterval
(
function
(){
nowtime
=
new
Date
().
getTime
()
that
.
systime
=
new
Date
(
nowtime
).
Format
(
"yyyy-MM-dd hh:mm"
)
},
20000
)
},
appdestory
(){
let
that
=
this
this
.
sivdestory
=
setInterval
(
function
(){
if
(
!
$
(
"#kwrkb09"
).
height
()){
Vkwrkb09
.
$destroy
()
}
},
3000
)
}
}
})
</script>
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