Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
W
work-order-web
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
张圳龙
work-order-web
Commits
6e718e20
Commit
6e718e20
authored
Sep 24, 2020
by
Mr. Lan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 优化工单申请页面。
parent
3e1b5e3b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
31 additions
and
22 deletions
+31
-22
apply-process-list.vue
src/views/process/list/apply-process-list.vue
+31
-22
No files found.
src/views/process/list/apply-process-list.vue
View file @
6e718e20
...
@@ -19,29 +19,38 @@
...
@@ -19,29 +19,38 @@
<div
v-for=
"item in processLists"
:key=
"item.id"
>
<div
v-for=
"item in processLists"
:key=
"item.id"
>
<div
v-if=
"item.process_list.length!==0"
>
<div
v-if=
"item.process_list.length!==0"
>
<div
class=
"workflow-classify-title"
>
{{
item
.
name
}}
</div>
<div
class=
"workflow-classify-title"
>
{{
item
.
name
}}
</div>
<div
style=
"margin-bottom: 15px;"
>
<div
style=
"margin-bottom: 15px;"
>
<el-button
<template
v-for=
"buttonItem in item.process_list"
>
v-for=
"buttonItem in item.process_list"
<el-tooltip
:key=
"buttonItem.id"
effect=
"dark"
placement=
"top"
>
:key=
"buttonItem.id"
<div
slot=
"content"
>
class=
"workflow-classify-button"
{{
buttonItem
.
name
}}
plain
<br>
@
click=
"submitWorkOrder(buttonItem.id)"
{{
buttonItem
.
remarks
}}
>
<div
class=
"process-button-div"
>
<div
class=
"process-div-icon"
>
<e-icon
class=
"process-div-el-icon"
:icon-name=
"buttonItem.icon"
/>
</div>
</div>
<div
class=
"process-div-body"
>
<el-button
<div
class=
"process-div-title ellipsis"
>
class=
"workflow-classify-button"
{{
buttonItem
.
name
}}
plain
</div>
@
click=
"submitWorkOrder(buttonItem.id)"
<div
class=
"process-div-remarks ellipsis"
>
>
{{
buttonItem
.
remarks
}}
<div
class=
"process-button-div"
>
<div
class=
"process-div-icon"
>
<e-icon
class=
"process-div-el-icon"
:icon-name=
"buttonItem.icon"
/>
</div>
<div
class=
"process-div-body"
>
<div
class=
"process-div-title ellipsis"
>
{{
buttonItem
.
name
}}
</div>
<div
class=
"process-div-remarks ellipsis"
>
{{
buttonItem
.
remarks
}}
</div>
</div>
</div>
</div>
</
div
>
</
el-button
>
</
div
>
</
el-tooltip
>
</
el-button
>
</
template
>
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -81,8 +90,8 @@ export default {
...
@@ -81,8 +90,8 @@ export default {
<
style
scoped
>
<
style
scoped
>
.workflow-classify-title
{
.workflow-classify-title
{
border-
bottom
:
1px
solid
#dddddd
;
border-
left
:
3px
solid
rgb
(
64
,
158
,
255
)
;
padding-
bottom
:
5px
;
padding-
left
:
5px
;
}
}
.workflow-classify-button
{
.workflow-classify-button
{
...
...
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