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
6a5d75bd
Commit
6a5d75bd
authored
Mar 11, 2022
by
yff
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of gitlab.gavelinfo.com:gavelinfo/kwell-mes
parents
ad7b0f75
f768a7b7
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
54 additions
and
26 deletions
+54
-26
first.html
.../main/resources/templates/views/kmes/dashboard/first.html
+12
-1
fourth.html
...main/resources/templates/views/kmes/dashboard/fourth.html
+11
-0
second.html
...main/resources/templates/views/kmes/dashboard/second.html
+10
-0
third.html
.../main/resources/templates/views/kmes/dashboard/third.html
+10
-0
index.html
...l/src/main/resources/templates/views/kmes/gphy/index.html
+9
-23
index.html
...l/src/main/resources/templates/views/kmes/gpjy/index.html
+1
-1
index.html
...l/src/main/resources/templates/views/kmes/gpwx/index.html
+1
-1
No files found.
gavel/src/main/resources/templates/views/kmes/dashboard/first.html
View file @
6a5d75bd
...
@@ -314,6 +314,10 @@
...
@@ -314,6 +314,10 @@
$
(
window
).
resize
(
function
()
{
$
(
window
).
resize
(
function
()
{
var
whei
=
$
(
window
).
width
();
var
whei
=
$
(
window
).
width
();
$
(
"html"
).
css
({
fontSize
:
whei
/
22
})
$
(
"html"
).
css
({
fontSize
:
whei
/
22
})
setTimeout
(
function
(){
echartzsy
()
},
200
)
});
});
var
myChartSdcl
=
echarts
.
init
(
document
.
getElementById
(
'chartSdcl'
));
var
myChartSdcl
=
echarts
.
init
(
document
.
getElementById
(
'chartSdcl'
));
var
chartRpcdcsj
=
echarts
.
init
(
document
.
getElementById
(
"chartRpcdcsj"
));
var
chartRpcdcsj
=
echarts
.
init
(
document
.
getElementById
(
"chartRpcdcsj"
));
...
@@ -330,7 +334,14 @@
...
@@ -330,7 +334,14 @@
speed
:
60
,
//数值越大,速度越慢
speed
:
60
,
//数值越大,速度越慢
rowHeight
:
46
//li的高度
rowHeight
:
46
//li的高度
});
});
function
echartzsy
(){
myChartSdcl
.
resize
()
chartRpcdcsj
.
resize
()
chartHgl
.
resize
()
chartRjh
.
resize
()
chartYjh
.
resize
()
chartJdshCirle
.
resize
()
}
/* 调用 */
/* 调用 */
function
getAlldata
(){
function
getAlldata
(){
apisetTimeProductionEchart
(
myChartSdcl
)
apisetTimeProductionEchart
(
myChartSdcl
)
...
...
gavel/src/main/resources/templates/views/kmes/dashboard/fourth.html
View file @
6a5d75bd
...
@@ -338,6 +338,9 @@
...
@@ -338,6 +338,9 @@
var
whei
=
$
(
window
).
width
()
var
whei
=
$
(
window
).
width
()
$
(
"html"
).
css
({
fontSize
:
whei
/
22
});
$
(
"html"
).
css
({
fontSize
:
whei
/
22
});
$
(
window
).
resize
(
function
()
{
$
(
window
).
resize
(
function
()
{
setTimeout
(
function
(){
echartzsy
()
},
200
)
var
whei
=
$
(
window
).
width
();
var
whei
=
$
(
window
).
width
();
$
(
"html"
).
css
({
fontSize
:
whei
/
22
})
$
(
"html"
).
css
({
fontSize
:
whei
/
22
})
});
});
...
@@ -361,6 +364,14 @@
...
@@ -361,6 +364,14 @@
getPdf
(
20000
)
getPdf
(
20000
)
getVideo
()
getVideo
()
/* */
/* */
function
echartzsy
(){
myChartSdcl
.
resize
()
chartRpcdcsj
.
resize
()
chartHgl
.
resize
()
chartRjh
.
resize
()
chartYjh
.
resize
()
chartJdshCirle
.
resize
()
}
function
getAlldata
(){
function
getAlldata
(){
apisetTimeProductionEchart
(
myChartSdcl
)
apisetTimeProductionEchart
(
myChartSdcl
)
apisetDailyDataEchart
(
chartRpcdcsj
)
apisetDailyDataEchart
(
chartRpcdcsj
)
...
...
gavel/src/main/resources/templates/views/kmes/dashboard/second.html
View file @
6a5d75bd
...
@@ -247,6 +247,9 @@
...
@@ -247,6 +247,9 @@
var
whei
=
$
(
window
).
width
()
var
whei
=
$
(
window
).
width
()
$
(
"html"
).
css
({
fontSize
:
whei
/
22
});
$
(
"html"
).
css
({
fontSize
:
whei
/
22
});
$
(
window
).
resize
(
function
()
{
$
(
window
).
resize
(
function
()
{
setTimeout
(
function
(){
echartzsy
()
},
200
)
var
whei
=
$
(
window
).
width
();
var
whei
=
$
(
window
).
width
();
$
(
"html"
).
css
({
fontSize
:
whei
/
22
})
$
(
"html"
).
css
({
fontSize
:
whei
/
22
})
});
});
...
@@ -274,6 +277,13 @@
...
@@ -274,6 +277,13 @@
apisetHglEchart
(
chartHgl
)
apisetHglEchart
(
chartHgl
)
apiqueryWo
()
apiqueryWo
()
}
}
function
echartzsy
(){
myChartSdcl
.
resize
()
chartRpcdcsj
.
resize
()
chartHgl
.
resize
()
chartRjh
.
resize
()
chartYjh
.
resize
()
}
getAlldata
()
getAlldata
()
setInterval
(
function
(){
setInterval
(
function
(){
getAlldata
()
getAlldata
()
...
...
gavel/src/main/resources/templates/views/kmes/dashboard/third.html
View file @
6a5d75bd
...
@@ -288,6 +288,9 @@
...
@@ -288,6 +288,9 @@
var
whei
=
$
(
window
).
width
()
var
whei
=
$
(
window
).
width
()
$
(
"html"
).
css
({
fontSize
:
whei
/
22
});
$
(
"html"
).
css
({
fontSize
:
whei
/
22
});
$
(
window
).
resize
(
function
()
{
$
(
window
).
resize
(
function
()
{
setTimeout
(
function
(){
echartzsy
()
},
200
)
var
whei
=
$
(
window
).
width
();
var
whei
=
$
(
window
).
width
();
$
(
"html"
).
css
({
fontSize
:
whei
/
22
})
$
(
"html"
).
css
({
fontSize
:
whei
/
22
})
});
});
...
@@ -306,6 +309,13 @@
...
@@ -306,6 +309,13 @@
rowHeight
:
46
//li的高度
rowHeight
:
46
//li的高度
});
});
/* 分割线 */
/* 分割线 */
function
echartzsy
(){
myChartSdcl
.
resize
()
chartRjh
.
resize
()
chartYjh
.
resize
()
chartHgl
.
resize
()
chartJdshCirle
.
resize
()
}
function
getAlldata
(){
function
getAlldata
(){
apisetTimeProductionEchart
(
myChartSdcl
)
apisetTimeProductionEchart
(
myChartSdcl
)
apisetPieDailyChart
(
chartRjh
)
apisetPieDailyChart
(
chartRjh
)
...
...
gavel/src/main/resources/templates/views/kmes/gphy/index.html
View file @
6a5d75bd
...
@@ -123,27 +123,13 @@
...
@@ -123,27 +123,13 @@
}
}
gas
.
post
(
'kmes/gphy/zpwl'
,{
"snid"
:
that
.
xlh
,
"mid"
:
that
.
fkid
,
"fkid"
:
that
.
fkid
},
function
(
res
){
gas
.
post
(
'kmes/gphy/zpwl'
,{
"snid"
:
that
.
xlh
,
"mid"
:
that
.
fkid
,
"fkid"
:
that
.
fkid
},
function
(
res
){
if
(
res
.
data
&&
res
.
data
.
records
){
if
(
res
.
data
&&
res
.
data
.
records
){
if
(
res
.
data
.
records
==
100
){
let
msg
=
"装配物料:"
+
that
.
xlh
+
"成功"
let
msg
=
"序列号:"
+
that
.
xlh
+
"已经扫描过"
zpfk_wrz
(
that
,
msg
)
zpfk_wrz
(
that
,
msg
,
"error"
)
zpfk_queryKwellWoinfo2
(
that
).
then
(
function
(
s
){
}
zpfk_queryWoBomByWoid
(
that
,
s
)
else
if
(
res
.
data
.
records
==
230
){
})
let
msg
=
"该物料已经装配完成"
zpfk_wrz
(
that
,
msg
,
"error"
)
}
else
if
(
res
.
data
.
records
==
200
){
/* 表格加1 ok标志改变 日志 */
zpfk_queryKwellWoinfo2
(
that
).
then
(
function
(
s
){
zpfk_queryWoBomByWoid
(
that
,
s
)
})
}
else
{
let
msg
=
"查询装配物料:"
+
that
.
xlh
+
"失败"
that
.
xlh
=
""
zpfk_wrz
(
that
,
msg
,
"error"
)
}
}
else
{
}
else
{
let
msg
=
"查询装配物料:"
+
that
.
xlh
+
"失败"
let
msg
=
res
.
message
||
"查询装配物料:"
+
that
.
xlh
+
"失败"
that
.
xlh
=
""
that
.
xlh
=
""
zpfk_wrz
(
that
,
msg
,
"error"
)
zpfk_wrz
(
that
,
msg
,
"error"
)
}
}
...
@@ -167,7 +153,7 @@
...
@@ -167,7 +153,7 @@
/* 日志操作 */
/* 日志操作 */
/* pdf地址 */
/* pdf地址 */
}
else
{
}
else
{
let
msg
=
"查询最新工单信息:"
+
that
.
cpsn
+
"失败"
let
msg
=
res
.
message
||
"查询最新工单信息:"
+
that
.
cpsn
+
"失败"
that
.
xlh
=
""
that
.
xlh
=
""
zpfk_wrz
(
that
,
msg
,
'error'
)
zpfk_wrz
(
that
,
msg
,
'error'
)
screenAlert
(
that
.
el
,
msg
,
2000
)
screenAlert
(
that
.
el
,
msg
,
2000
)
...
@@ -195,7 +181,7 @@
...
@@ -195,7 +181,7 @@
/* 日志操作 */
/* 日志操作 */
/* pdf地址 */
/* pdf地址 */
}
else
{
}
else
{
let
msg
=
"查询工单信息:"
+
that
.
xlh
+
"失败"
let
msg
=
res
.
message
||
"查询工单信息:"
+
that
.
xlh
+
"失败"
that
.
xlh
=
""
that
.
xlh
=
""
zpfk_wrz
(
that
,
msg
,
'error'
)
zpfk_wrz
(
that
,
msg
,
'error'
)
screenAlert
(
that
.
el
,
msg
,
2000
)
screenAlert
(
that
.
el
,
msg
,
2000
)
...
@@ -214,7 +200,7 @@
...
@@ -214,7 +200,7 @@
that
.
tabdata
=
res
.
data
.
records
;
that
.
tabdata
=
res
.
data
.
records
;
that
.
initpage
()
that
.
initpage
()
}
else
{
}
else
{
let
msg
=
"查询装配表格:"
+
woid
+
"失败"
let
msg
=
res
.
message
||
"查询装配表格:"
+
woid
+
"失败"
zpfk_wrz
(
that
,
msg
,
'error'
)
zpfk_wrz
(
that
,
msg
,
'error'
)
screenAlert
(
that
.
el
,
msg
,
2000
)
screenAlert
(
that
.
el
,
msg
,
2000
)
}
}
...
...
gavel/src/main/resources/templates/views/kmes/gpjy/index.html
View file @
6a5d75bd
...
@@ -119,7 +119,7 @@
...
@@ -119,7 +119,7 @@
/* 日志操作 */
/* 日志操作 */
/* pdf地址 */
/* pdf地址 */
}
else
{
}
else
{
let
msg
=
"查询工单信息:"
+
that
.
xlh
+
"失败"
let
msg
=
res
.
message
||
"查询工单信息:"
+
that
.
xlh
+
"失败"
that
.
xlh
=
""
that
.
xlh
=
""
jyfk_wrz
(
that
,
msg
,
'error'
)
jyfk_wrz
(
that
,
msg
,
'error'
)
screenAlert
(
that
.
el
,
msg
,
2000
)
screenAlert
(
that
.
el
,
msg
,
2000
)
...
...
gavel/src/main/resources/templates/views/kmes/gpwx/index.html
View file @
6a5d75bd
...
@@ -119,7 +119,7 @@
...
@@ -119,7 +119,7 @@
/* 日志操作 */
/* 日志操作 */
/* pdf地址 */
/* pdf地址 */
}
else
{
}
else
{
let
msg
=
"查询工单信息:"
+
that
.
xlh
+
"失败"
let
msg
=
res
.
message
||
"查询工单信息:"
+
that
.
xlh
+
"失败"
that
.
xlh
=
""
that
.
xlh
=
""
wxfk_wrz
(
that
,
msg
,
'error'
)
wxfk_wrz
(
that
,
msg
,
'error'
)
screenAlert
(
that
.
el
,
msg
,
2000
)
screenAlert
(
that
.
el
,
msg
,
2000
)
...
...
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