Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mes-ui
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
周远喜
mes-ui
Commits
64a483e6
Commit
64a483e6
authored
May 15, 2020
by
周远喜
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'product' of
http://git.mes123.com/zhouyx/mes-ui
into product
parents
6aa3f3ca
0f19bfef
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
335 additions
and
64 deletions
+335
-64
outputTime.vue
components/page/outputTime.vue
+6
-6
index.vue
pages/produce/execute/ProcessCase/index.vue
+239
-53
execute.less
pages/produce/execute/execute.less
+57
-0
index.vue
pages/produce/execute/taskTime/index.vue
+5
-5
orderlist.vue
pages/produce/orderlist.vue
+28
-0
No files found.
components/page/outputTime.vue
View file @
64a483e6
...
...
@@ -34,23 +34,23 @@ export default {
let
outStr
=
""
;
if
(
day
)
{
if
(
second
==
0
&&
minute
>
0
&&
hour
>
0
)
{
outStr
=
day
+
"天"
+
hour
+
"时"
+
minute
+
"分"
;
outStr
=
day
+
"天"
+
hour
+
"
小
时"
+
minute
+
"分"
;
}
else
if
(
second
==
0
&&
minute
==
0
&&
hour
>
0
)
{
outStr
=
day
+
"天"
+
hour
+
"时"
;
outStr
=
day
+
"天"
+
hour
+
"
小
时"
;
}
else
if
(
second
==
0
&&
minute
==
0
&&
hour
==
0
)
{
outStr
=
day
+
"天"
;
}
else
{
outStr
=
day
+
"天"
+
hour
+
"时"
+
minute
+
"分"
+
second
+
"秒"
;
outStr
=
day
+
"天"
+
hour
+
"
小
时"
+
minute
+
"分"
+
second
+
"秒"
;
}
return
outStr
;
}
else
{
if
(
hour
)
{
if
(
second
==
0
&&
minute
>
0
)
{
outStr
=
hour
+
"时"
+
minute
+
"分"
;
outStr
=
hour
+
"
小
时"
+
minute
+
"分"
;
}
else
if
(
second
==
0
&&
minute
==
0
)
{
outStr
=
hour
+
"时"
;
outStr
=
hour
+
"
小
时"
;
}
else
{
outStr
=
hour
+
"时"
+
minute
+
"分"
+
second
+
"秒"
;
outStr
=
hour
+
"
小
时"
+
minute
+
"分"
+
second
+
"秒"
;
}
return
outStr
;
}
else
{
...
...
pages/produce/execute/ProcessCase/index.vue
View file @
64a483e6
This diff is collapsed.
Click to expand it.
pages/produce/execute/execute.less
View file @
64a483e6
...
...
@@ -332,4 +332,61 @@
}
.wu_bg{
height: calc(100vh - 165px);
}
.case_top{
padding: 15px 40px 10px;
.sear_btn{
width: calc(100% - 50px);
display: inline-block;
.search_box{
width: 200px;
float: left;
}
a{
display: inline-block;
width: 65px;
height: 33px;
line-height: 40px;
text-align: center;
i{
font-size: 24px;
}
}
}
.slip{
i.ivu-icon{
font-size: 32px;
transform:rotate(90deg);
-ms-transform:rotate(90deg); /* Internet Explorer */
-moz-transform:rotate(90deg); /* Firefox */
-webkit-transform:rotate(90deg); /* Safari 和 Chrome */
-o-transform:rotate(90deg); /* Opera */
}
}
}
.case_box{
padding: 10px 20px;
height: calc(100vh - 210px);
overflow-y: auto;
.file_card{
background: #F5F6FA;
margin: 20px 20px;
width: calc(25% - 40px);//
padding: 18px;//
height: auto;
line-height: 20px;
.ivu-checkbox {
display: none;
}
.file {
display: block;
width: 60px;
height: 64px;
float: left;
margin: 0 8px 0 0;
i{
font-size: 58px;
}
}
}
}
\ No newline at end of file
pages/produce/execute/taskTime/index.vue
View file @
64a483e6
...
...
@@ -87,11 +87,11 @@ export default {
},
delItem
(){
this
.
$Modal
.
confirm
({
title
:
this
.
title
,
content
:
"<p>"
+
this
.
msg
+
"</p>"
,
onOk
:
()
=>
{
this
.
$Message
.
success
(
"删除工时..."
)
}
title
:
this
.
title
,
content
:
"<p>"
+
this
.
msg
+
"</p>"
,
onOk
:
()
=>
{
this
.
$Message
.
success
(
"删除工时..."
)
}
});
},
cancel
(){
...
...
pages/produce/orderlist.vue
0 → 100644
View file @
64a483e6
<
template
>
<div
class=
""
>
<div
class=
""
>
<Button
@
click=
"toExecute"
>
工单执行
</Button>
</div>
</div>
</
template
>
<
script
>
export
default
{
name
:
'starOrder'
,
data
(){
return
{
starmodal
:
false
,
}
},
created
()
{
},
async
fetch
({
store
,
params
})
{
await
store
.
dispatch
(
"loadDictionary"
);
// 加载数据字典
},
mounted
()
{
},
methods
:
{
toExecute
(){
this
.
$router
.
push
(
"/produce/execute"
);
},
},
}
</
script
>
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