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
455988b4
Commit
455988b4
authored
May 15, 2020
by
康振飞
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
工艺案例
parent
19902dfd
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
14 deletions
+19
-14
index.vue
pages/aps/dispatch/index.vue
+0
-2
index.vue
pages/produce/execute/ProcessCase/index.vue
+14
-7
execute.less
pages/produce/execute/execute.less
+5
-5
No files found.
pages/aps/dispatch/index.vue
View file @
455988b4
...
@@ -178,10 +178,8 @@
...
@@ -178,10 +178,8 @@
<Col
span=
"8"
class=
"dispatch_card02"
v-for=
"(item,index) in listMan"
:key=
"index"
>
<Col
span=
"8"
class=
"dispatch_card02"
v-for=
"(item,index) in listMan"
:key=
"index"
>
<CheckboxGroup
class=
"man_body"
>
<CheckboxGroup
class=
"man_body"
>
<Checkbox
v-model=
"item.checked"
border
class=
"checkUser"
>
<Checkbox
v-model=
"item.checked"
border
class=
"checkUser"
>
<!--
<Tooltip
:content=
"item.userName"
placement=
"top-start"
>
-->
<span
class=
"svg_name"
:title=
"item.userName"
>
{{
item
.
userName
}}
</span>
<span
class=
"svg_name"
:title=
"item.userName"
>
{{
item
.
userName
}}
</span>
<!--
<span
class=
"svg"
>
{{
item
.
id
}}
</span>
-->
<!--
<span
class=
"svg"
>
{{
item
.
id
}}
</span>
-->
<!--
</Tooltip>
-->
</Checkbox>
</Checkbox>
</CheckboxGroup>
</CheckboxGroup>
</Col>
</Col>
...
...
pages/produce/execute/ProcessCase/index.vue
View file @
455988b4
...
@@ -5,13 +5,10 @@
...
@@ -5,13 +5,10 @@
<div
class=
"sear_btn"
>
<div
class=
"sear_btn"
>
<Input
search
class=
"search_box mr10"
enter-button
placeholder=
"请输入文件名"
/>
<Input
search
class=
"search_box mr10"
enter-button
placeholder=
"请输入文件名"
/>
<a
@
click=
"allChecked"
><Icon
type=
"md-checkbox-outline"
/>
全选
</a>
<a
@
click=
"allChecked"
><Icon
type=
"md-checkbox-outline"
/>
全选
</a>
<a
@
click=
"copyCard"
><Icon
type=
"ios-browsers-outline"
/>
复制
</a>
<!--
<a
@
click=
"copyCard"
><Icon
type=
"ios-browsers-outline"
/>
复制
</a>
-->
<a
@
click=
"deliteCard"
><Icon
type=
"ios-trash-outline"
/>
删除
</a>
<a
@
click=
"importCard"
><Icon
type=
"ios-log-in"
/>
导入
</a>
<a
@
click=
"importCard"
><Icon
type=
"ios-log-in"
/>
导入
</a>
<a
@
click=
"exportCard"
><Icon
type=
"ios-log-out"
/>
导出
</a>
<a
@
click=
"addCard"
><Icon
type=
"ios-add-circle-outline"
/>
新建
</a>
<a
@
click=
"addCard"
><Icon
type=
"ios-add-circle-outline"
/>
新建
</a>
<span>
共
{{
cardlist
.
length
}}
个案例;
</span>
<span>
共
{{
cardlist
.
length
}}
个案例;
</span>
<span>
已选择
{{
checkCards
}}
个案例
</span>
</div>
</div>
<a
class=
"slip fr"
@
click=
"starFun"
><Icon
type=
"md-swap"
/></a>
<a
class=
"slip fr"
@
click=
"starFun"
><Icon
type=
"md-swap"
/></a>
</div>
</div>
...
@@ -38,7 +35,8 @@
...
@@ -38,7 +35,8 @@
v-for=
"(item,index) in cardlist"
:label=
"item.id"
:key=
"index"
>
v-for=
"(item,index) in cardlist"
:label=
"item.id"
:key=
"index"
>
<div
class=
"file"
>
<div
class=
"file"
>
<Icon
type=
"ios-paper"
v-if=
"item.id%3==0"
/>
<Icon
type=
"ios-paper"
v-if=
"item.id%3==0"
/>
<Icon
type=
"ios-film"
v-else
/>
<!--
<Icon
type=
"ios-film"
v-else
/>
-->
<Icon
type=
"md-film"
v-else
/>
</div>
</div>
<div
class=
"list"
>
<div
class=
"list"
>
<ul>
<ul>
...
@@ -49,8 +47,13 @@
...
@@ -49,8 +47,13 @@
</div>
</div>
</Checkbox>
</Checkbox>
</CheckboxGroup>
</CheckboxGroup>
</div>
</div>
<FooterToolbar
style=
"height:65px"
v-show=
"checkCards!=0"
>
<span>
已选择
{{
checkCards
}}
个案例
</span>
<Button
class=
"span ml20"
type=
"primary"
@
click=
"deliteCard"
><Icon
type=
"ios-trash-outline"
/>
删除
</Button>
<Button
class=
"span ml20"
type=
"primary"
@
click=
"exportCard"
><Icon
type=
"ios-log-out"
/>
导出
</Button>
<Button
@
click=
"cancel"
>
取消
</Button>
</FooterToolbar>
</div>
</div>
</
template
>
</
template
>
<
script
>
<
script
>
...
@@ -60,6 +63,7 @@ export default {
...
@@ -60,6 +63,7 @@ export default {
return
{
return
{
caseLise
:[],
caseLise
:[],
checkCards
:
0
,
checkCards
:
0
,
footerToolbar
:
false
,
cardlist
:[
cardlist
:[
{
{
name
:
'工艺文档名称'
,
name
:
'工艺文档名称'
,
...
@@ -252,12 +256,15 @@ export default {
...
@@ -252,12 +256,15 @@ export default {
addCard
(){
addCard
(){
this
.
$Message
.
success
(
"新建工艺案例"
)
this
.
$Message
.
success
(
"新建工艺案例"
)
},
},
changeCards
(
list
){
changeCards
(
list
){
//多选方法
this
.
checkCards
=
list
.
length
this
.
checkCards
=
list
.
length
},
},
changeCard
(
value
){
changeCard
(
value
){
console
.
log
(
111
)
console
.
log
(
111
)
},
},
cancel
(){
//底部取消
this
.
checkCards
=
0
;
}
},
},
}
}
</
script
>
</
script
>
pages/produce/execute/execute.less
View file @
455988b4
...
@@ -355,7 +355,7 @@
...
@@ -355,7 +355,7 @@
}
}
}
}
.slip{
.slip{
margin-right:
2
0px;
margin-right:
1
0px;
i.ivu-icon{
i.ivu-icon{
font-size: 32px;
font-size: 32px;
transform:rotate(90deg);
transform:rotate(90deg);
...
@@ -367,13 +367,13 @@
...
@@ -367,13 +367,13 @@
}
}
}
}
.case_box{
.case_box{
padding: 10px 20px;
padding: 10px 20px
44px
;
height: calc(100vh - 210px);
height: calc(100vh - 210px);
overflow-y: auto;
overflow-y: auto;
.file_card{
.file_card{
background: #F5F6FA;
background: #F5F6FA;
margin: 1
0
px 50px;
margin: 1
5
px 50px;
width: 36
0
px;
width: 36
7
px;
padding: 18px;
padding: 18px;
height: 110px;
height: 110px;
line-height: 24px;
line-height: 24px;
...
@@ -387,7 +387,7 @@
...
@@ -387,7 +387,7 @@
float: left;
float: left;
margin: 0 8px 0 0;
margin: 0 8px 0 0;
i{
i{
font-size:
58
px;
font-size:
62
px;
}
}
}
}
}
}
...
...
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