Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MES_PAD
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
Administrator
MES_PAD
Commits
49c805ce
Commit
49c805ce
authored
Oct 29, 2018
by
上官
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.MES_PAD :系统登录界面横排显示 ,调节图片大小 正好一个屏幕,不用下拉点击登录
2.MEs_PAD: 针车品检也增加 今日时报 和 单款时报 查看时报 输入框也做遮罩处理
parent
f2b1862a
Changes
4
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
200 additions
and
152 deletions
+200
-152
Needlecarquality_new.html
html/Needlecarquality_new.html
+172
-127
Needlecarreport_new.html
html/Needlecarreport_new.html
+16
-18
application.html
html/application.html
+1
-1
login.html
html/login.html
+11
-6
No files found.
html/Needlecarquality_new.html
View file @
49c805ce
This diff is collapsed.
Click to expand it.
html/Needlecarreport_new.html
View file @
49c805ce
...
...
@@ -335,9 +335,9 @@
init
:
function
()
{
mui
.
init
();
window
.
addEventListener
(
'back'
,
function
(
e
)
{
console
.
log
(
"back"
);
var
that
=
this
;
console
.
log
(
that
.
IndexID
)
app
.
getDataDetail1
();
});
...
...
@@ -420,7 +420,7 @@
PageSize
:
200
,
PageIndex
:
1
,
};
console
.
log
(
JSON
.
stringify
(
para
))
//
console.log(JSON.stringify(para))
if
(
n
==
1
){
Api
.
post
(
'/api/vMES/ProductionReport/Report'
,
para
,
function
(
e
)
{
...
...
@@ -461,15 +461,15 @@
IndexID
:
n
};
console
.
log
(
JSON
.
stringify
(
para
))
//
console.log(JSON.stringify(para))
Api
.
post
(
'/api/vMES/ProductionReport/IndexNoCompleteRatio'
,
para
,
function
(
e
)
{
that
.
CompleteRatio
=
e
.
data
;
console
.
log
(
JSON
.
stringify
(
e
))
//
console.log(JSON.stringify(e))
for
(
var
i
=
0
;
i
<
that
.
itemsHead
.
length
;
i
++
)
{
if
(
that
.
itemsHead
[
i
].
IndexID
==
n
)
{
that
.
itemsHead
[
i
].
CompleteRatio
=
that
.
CompleteRatio
;
console
.
log
(
that
.
CompleteRatio
);
//
console.log(that.CompleteRatio);
}
}
});
...
...
@@ -538,10 +538,10 @@
StyleCode
:
this
.
itemsDetail
.
StyleCode
}
console
.
log
(
JSON
.
stringify
(
para
))
//
console.log( JSON.stringify(para))
Api
.
post
(
'/api/vMES/Sop/StyleSop'
,
para
,
function
(
e
)
{
if
(
e
.
success
){
console
.
log
(
JSON
.
stringify
(
e
))
//
console.log( JSON.stringify(e))
that
.
link
=
e
.
data
.
Url
;
var
url_
=
"sop.html"
;
...
...
@@ -621,8 +621,8 @@
}
console
.
log
(
JSON
.
stringify
(
para
));
console
.
log
(
JSON
.
stringify
(
para
));
//
console.log(JSON.stringify(para));
//
console.log(JSON.stringify(para));
Api
.
post
(
'/api/vMES/ProductionReport/SingleComplete'
,
para
,
function
(
e
)
{
...
...
@@ -696,14 +696,14 @@
},
createZhezhao
:
function
(
n
){
console
.
log
(
n
)
//
console.log(n)
if
(
n
==
-
1
){
// var mask = mui.createMask();//callback为用户点击蒙版时自动执行的回调;
// this.mask_.close();
this
.
mask_
.
_remove
()
this
.
zhezhao
=
1
;
console
.
log
(
"n== -1"
)
}
else
{
if
(
this
.
zhezhao
==
1
){
...
...
@@ -790,8 +790,7 @@
reportele
[
i
].
style
.
background
=
""
}
if
(
obj
!=
0
)
{
console
.
log
(
"obj:;"
+
obj
)
console
.
log
(
"IndexID::"
+
this
.
IndexID
)
if
(
this
.
IndexID
!=
0
){
var
Index
=
document
.
getElementById
(
"Index_"
+
this
.
IndexID
)
Index
.
style
.
background
=
""
;
...
...
@@ -810,8 +809,7 @@
var
n1
=
document
.
getElementById
(
"n1"
)
var
n2
=
document
.
getElementById
(
"n2"
)
console
.
log
(
opt
.
style
.
display
)
console
.
log
(
opt2
.
style
.
display
)
if
(
n
==
1
){
n1
.
style
.
background
=
"royalblue"
n1
.
style
.
color
=
"white"
...
...
@@ -899,7 +897,7 @@
},
nextday
:
function
(
n
)
{
this
.
createZhezhao
(
-
1
)
console
.
log
(
"next"
)
var
d
=
new
Date
(
this
.
dateTime
);
d
.
setTime
(
d
.
getTime
()
+
24
*
60
*
60
*
1000
*
n
);
if
(
d
.
getDate
().
toString
().
length
==
1
)
{
...
...
@@ -985,7 +983,7 @@
* rs.h 时,用法同年
* rs.i 分(minutes 的第二个字母),用法同年
*/
console
.
log
(
rs
.
value
)
_self
.
innerText
=
rs
.
text
;
that
.
dateTime
=
rs
.
text
;
that
.
getData
();
...
...
html/application.html
View file @
49c805ce
...
...
@@ -123,7 +123,7 @@
function
onGetDataSuccess
(
e
){
console
.
log
(
JSON
.
stringify
(
e
))
var
isSuccess
=
e
.
success
;
if
(
isSuccess
)
{
var
items
=
e
.
items
;
...
...
html/login.html
View file @
49c805ce
...
...
@@ -10,14 +10,14 @@
</head>
<body>
<div
class=
"mui-content"
>
<div
class=
"app-header"
>
<div
>
<div
class=
"app-logo"
>
<img
src=
"../dest/img/applogo.png"
/>
</div>
<h1
class=
"app-title "
>
FetetO
Cloud
APP
</h1>
</div>
<div
class=
"app-form-bg"
>
<p>
欢迎回来!
</p>
<div
style=
" margin-top: 0;"
class=
"app-form-bg"
>
<p
style=
"padding-bottom: 5px; padding-top: 5px;"
>
欢迎回来!
</p>
<form
id=
'login-form'
class=
"mui-input-group"
>
<div
class=
"mui-input-row"
>
<label
class=
"mui-code"
for=
"corpid"
>
企业代码
</label>
...
...
@@ -48,6 +48,8 @@
<script
src=
"../dest/js/app.min.js"
type=
"text/javascript"
charset=
"utf-8"
></script>
<script
type=
"text/javascript"
>
(
function
(
$
,
doc
)
{
$
.
init
({
statusBarBackground
:
'#72757e'
});
...
...
@@ -73,8 +75,11 @@
plus
.
runtime
.
quit
();
};
$
.
plusReady
(
function
()
{
plus
.
navigator
.
closeSplashscreen
()
plus
.
screen
.
lockOrientation
(
"portrait-primary"
)
plus
.
screen
.
lockOrientation
(
"landscape-primary"
)
//横屏
// plus.screen.lockOrientation("portrait-primary")
if
(
mui
.
os
.
ios
)
{
plus
.
navigator
.
setFullscreen
(
true
);
...
...
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