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
f2b1862a
Commit
f2b1862a
authored
Oct 26, 2018
by
上官
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
调整
parent
9eddba02
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
371 additions
and
82 deletions
+371
-82
Needlecarquality_new.html
html/Needlecarquality_new.html
+23
-13
Needlecarreport_new.html
html/Needlecarreport_new.html
+268
-69
sop.html
html/sop.html
+80
-0
No files found.
html/Needlecarquality_new.html
View file @
f2b1862a
...
@@ -114,7 +114,7 @@
...
@@ -114,7 +114,7 @@
<button
class=
"bg"
type=
"button"
style=
"width: 100%;height: 50px"
class=
"mui-btn mui-btn-blue mui-btn-outlined"
>
{{itemdef}}
</button>
<button
class=
"bg"
type=
"button"
style=
"width: 100%;height: 50px"
class=
"mui-btn mui-btn-blue mui-btn-outlined"
>
{{itemdef}}
</button>
</td>
</td>
<td
class=
"altrowstable"
style=
" height: 50px"
v-for=
"itemd,isize in itemsSize"
>
<td
class=
"altrowstable"
style=
" height: 50px"
v-for=
"itemd,isize in itemsSize"
>
<button
class=
"bg"
:style=
"stylebg(i
size
)"
style=
"width: 100%;height: 50px; border:0px ;"
type=
"button"
class=
"mui-btn mui-btn-blue mui-btn-outlined"
<button
class=
"bg"
:style=
"stylebg(i
temd
)"
style=
"width: 100%;height: 50px; border:0px ;"
type=
"button"
class=
"mui-btn mui-btn-blue mui-btn-outlined"
@
click=
"selectSize(itemd)"
>
{{itemd}}
</button>
@
click=
"selectSize(itemd)"
>
{{itemd}}
</button>
</td>
</td>
...
@@ -205,7 +205,8 @@
...
@@ -205,7 +205,8 @@
});
});
function
initPage
()
{
function
initPage
()
{
plus
.
screen
.
lockOrientation
(
"landscape-secondary"
)
//横屏
// plus.screen.lockOrientation("landscape-secondary") //横屏
plus
.
screen
.
lockOrientation
(
"landscape-primary"
)
//横屏
app
.
init
();
app
.
init
();
}
}
...
@@ -249,7 +250,8 @@
...
@@ -249,7 +250,8 @@
itemsSize
:
[],
itemsSize
:
[],
SizeQty
:
[],
SizeQty
:
[],
itemsSizeDef
:
[
40
,
41
,
42
,
43
,
44
,
45
,
46
],
itemsSizeDef
:
[
40
,
41
,
42
,
43
,
44
,
45
,
46
],
type
:
1
,
parentSize
:
0
,
IndexID
:
0
,
IndexID
:
0
,
disable_save_button
:
'disabled'
,
disable_save_button
:
'disabled'
,
disable_reportDelete
:
'disabled'
,
disable_reportDelete
:
'disabled'
,
...
@@ -299,8 +301,10 @@
...
@@ -299,8 +301,10 @@
this
.
itemsDetail
=
mui
.
currentWebview
.
itemsDetail
;
this
.
itemsDetail
=
mui
.
currentWebview
.
itemsDetail
;
this
.
itemsSize
=
mui
.
currentWebview
.
itemsSize
;
this
.
itemsSize
=
mui
.
currentWebview
.
itemsSize
;
this
.
type
=
mui
.
currentWebview
.
type
;
this
.
parentSize
=
mui
.
currentWebview
.
parentSize
;
console
.
log
(
"this.type:::"
+
this
.
type
)
console
.
log
(
"this.parentSize:::"
+
this
.
parentSize
)
this
.
getDataInit
();
this
.
getDataInit
();
},
},
...
@@ -660,14 +664,20 @@
...
@@ -660,14 +664,20 @@
},
},
stylebg
:
function
(
n
)
{
stylebg
:
function
(
k
)
{
if
(
this
.
type
==
1
){
// if (n == 0) {
return
// return {
}
// "background": "#02C1ED"
else
if
(
this
.
type
==
2
)
{
//
if
(
k
==
this
.
parentSize
)
{
// }
this
.
size
=
this
.
parentSize
// }
return
{
"background"
:
"#02C1ED"
}
}
}
},
},
...
...
html/Needlecarreport_new.html
View file @
f2b1862a
This diff is collapsed.
Click to expand it.
html/sop.html
0 → 100644
View file @
f2b1862a
<!doctype html>
<html>
<head>
<meta
charset=
"utf-8"
>
<title>
SOP
</title>
<meta
name=
"viewport"
content=
"width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no"
/>
<link
href=
"../dest/css/mui.min.css"
rel=
"stylesheet"
/>
</head>
<body
style=
"margin: 0; padding: 0; width: 100px;"
>
<div
id=
"app"
>
<header
@
click=
"backaction"
class=
"mui-bar mui-bar-nav "
style=
"width: 150px !important; background: #DCDCE1; position: relative;left: 810px; "
>
<button
class=
"mui-icon mui-icon-arrowleft mui-btn-outlined ;"
style=
" border: 0px; padding: 0; width: 50px; height: 100%; color: #007AFF;"
>
</button>
<!-- <a class="mui-icon mui-icon-left-nav mui-pull-left" onclick="mui.back()"></a> -->
<h1
class=
"mui-title"
>
返回
</h1>
</header>
<div
class=
" mui-fullscreen"
>
<iframe
style=
" border-width: 0; "
:src=
"link"
width=
"100%"
height=
"571"
></iframe>
</div>
</div>
<script
src=
"../dest/js/mui.min.js"
></script>
<script
src=
"../dest/js/public.min.js"
></script>
<script
src=
"../dest/js/vue.min.js"
></script>
<script
type=
"text/javascript"
>
mui
.
plusReady
(
function
()
{
initPage
();
});
function
initPage
()
{
app
.
init
();
}
var
app
=
new
Vue
({
el
:
'#app'
,
data
:{
item
:
1
,
style
:
""
,
ReportType
:
0
,
link
:
""
},
computed
:{
// link:function(){
//
// }
},
methods
:
{
init
:
function
(){
console
.
log
(
"init"
)
this
.
style
=
mui
.
currentWebview
.
style
this
.
ReportType
=
mui
.
currentWebview
.
ReportType
this
.
link
=
mui
.
currentWebview
.
link
console
.
log
(
"this.style::"
+
this
.
style
)
console
.
log
(
"this.link::"
+
this
.
link
)
},
backaction
:
function
(){
console
.
log
(
'ddddd'
);
mui
.
openWindow
({
url
:
'Needlecarreport_new.html'
,
id
:
'Needlecarreport_new.html'
,
});
},
}
})
</script>
</body>
</html>
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