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
0d7177c1
Commit
0d7177c1
authored
May 08, 2020
by
周远喜
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'product' of
http://git.mes123.com/zhouyx/mes-ui
into product
parents
362484b3
630bffc8
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
160 additions
and
0 deletions
+160
-0
execute.less
pages/produce/execute/execute.less
+72
-0
index.vue
pages/produce/execute/index.vue
+88
-0
starbg.png
pages/produce/image/starbg.png
+0
-0
No files found.
pages/produce/execute/execute.less
0 → 100644
View file @
0d7177c1
.execute_box{
.top_title{
height: 50px;
line-height: 49px;
text-align: center;
font-weight: 600;
border-bottom: 1px solid #CACBD0;
}
.star{
height: 33vh;
padding: 6vh 0;
border-bottom: 1px solid #CACBD0;
.start{
width: 177px;
height: 177px;
background: url("../image/starbg.png")no-repeat center;
background-size: 100%;
display: block;
margin: 0 auto;
text-align: center;
line-height: 176px;
font-size: 22px;
color: #fff;
}
}
.gd_list{
position: absolute;
top: 45%;
left: 1px;
background: #2680EB;
color: #fff;
width: 32px;
padding: 8px;
border-top-right-radius: 5px;
border-bottom-right-radius: 5px;
}
.gn_area{
position: absolute;
top: 45%;
right: 1px;
background: #515A6E;
color: #fff;
width: 32px;
padding: 8px;
border-top-left-radius: 5px;
border-bottom-left-radius: 5px;
}
.footer_box{
height: calc( 66vh - 142px);
padding: 40px 40px 40px 40px;
.ul_box{
padding: 35px 60px;
min-width: 380px;
min-height: 370px;
border-right: 1px solid #CACBD0;
ul li{
height: 30px;
line-height: 29px;
}
}
.img_box {
text-align: center;
line-height: 350px;
font-size: 32px;
width: 750px;
height: 350px;
background: #ddd;
margin: 10px 0 0 170px;
}
}
}
\ No newline at end of file
pages/produce/execute/index.vue
0 → 100644
View file @
0d7177c1
<
style
lang=
"less"
>
@import "./execute.less";
</
style
>
<
template
>
<div
class=
"execute_box"
>
<div
class=
"top_title"
>
<span
class=
"fl"
>
进度汇报
</span>
<div>
工单编号: 12001011
</div>
</div>
<div
class=
"star"
v-if=
"starmodal"
>
<a
class=
"start"
>
<Icon
type=
"md-play"
/>
开工
</a>
</div>
<div
class=
"star"
v-else-if=
"!starmodal"
>
执行
</div>
<a
class=
"gd_list"
@
click=
"value1 = true"
>
工单列表
</a>
<a
class=
"gn_area"
@
click=
"value2 = true"
>
功能区
</a>
<div
class=
"footer_box"
>
<div
class=
"ul_box fl"
>
<ul>
<li>
名称:名称1
</li>
<li>
图号:UIGT-763245
</li>
<li>
状态:未开工
</li>
<li>
订单编号:097543346
</li>
<li>
订单属性1:
</li>
<li>
订单属性2:
</li>
<li>
订单属性3:
</li>
<li>
计划数量:10
</li>
<li>
节点日期:2020-02-25
</li>
</ul>
</div>
<div
class=
"ul_box fl"
>
<ul>
<li>
工序名称:名称1
</li>
<li>
工序序号:UIGT-763245
</li>
<li>
派工数量:66
</li>
<li>
资源名称:23366
</li>
<li>
资源编号:986732038
</li>
<li>
人员信息:
</li>
<li>
开始时间:
</li>
<li>
结束时间:
</li>
<li>
单件工时:10
</li>
<li>
准备工时:2020-02-25
</li>
</ul>
</div>
<div
class=
"img_box fl"
>
图片区
</div>
</div>
<Drawer
title=
"Basic Drawer"
:closable=
"false"
v-model=
"value2"
>
<p>
Some contents...
</p>
<p>
Some contents...
</p>
<p>
Some contents...
</p>
</Drawer>
<Drawer
title=
"Basic Drawer"
placement=
"left"
:closable=
"false"
v-model=
"value1"
>
<p>
Some contents...
</p>
<p>
Some contents...
</p>
<p>
Some contents...
</p>
</Drawer>
</div>
</
template
>
<
script
>
export
default
{
// components: { ProductTree, Search },
data
(){
return
{
starmodal
:
true
,
value1
:
false
,
value2
:
false
,
}
},
created
()
{
// this.treeHeight = window.innerHeight - 120;
},
async
fetch
({
store
,
params
})
{
await
store
.
dispatch
(
"loadDictionary"
);
// 加载数据字典
},
mounted
()
{
window
.
onresize
=
()
=>
{
///浏览器窗口大小变化
return
(()
=>
{
this
.
treeHeight
=
window
.
innerHeight
-
120
;
})();
};
},
methods
:
{},
}
</
script
>
pages/produce/image/starbg.png
0 → 100644
View file @
0d7177c1
9.57 KB
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