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
f16aa7be
Unverified
Commit
f16aa7be
authored
May 10, 2021
by
lanyulei
Committed by
GitHub
May 10, 2021
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #69 from lanyulei/dev
fix: 调整工单申请页面样式。
parents
21daca93
0f2c94f8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
18 deletions
+24
-18
apply-process-list.vue
src/views/process/list/apply-process-list.vue
+24
-18
No files found.
src/views/process/list/apply-process-list.vue
View file @
f16aa7be
...
...
@@ -23,32 +23,37 @@
{{
item
.
name
}}
</div>
<div
style=
"margin-bottom: 15px;"
>
<template
v-for=
"
buttonItem
in item.process_list"
>
<template
v-for=
"
(buttonItem, buttonIndex)
in item.process_list"
>
<el-tooltip
:key=
"buttonItem.id"
effect=
"dark"
placement=
"top"
>
<div
slot=
"content"
>
{{
buttonItem
.
name
}}
<br>
{{
buttonItem
.
remarks
}}
</div>
<el-button
class=
"workflow-classify-button"
plain
@
click=
"submitWorkOrder(buttonItem.id)"
<div
class=
"workflow-classify-div"
:style=
"(buttonIndex + 1) % 5 === 0 ?
{'padding-right': 0} : {'padding-right': '12px'}"
>
<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
}}
<el-button
style=
"width: 100%"
plain
@
click=
"submitWorkOrder(buttonItem.id)"
>
<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-remarks ellipsis"
>
{{
buttonItem
.
remarks
}}
<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
>
</
el-button
>
</
el-button
>
</
div
>
</el-tooltip>
</
template
>
</div>
...
...
@@ -94,9 +99,10 @@ export default {
padding-left
:
5px
;
}
.workflow-classify-button
{
.workflow-classify-div
{
width
:
20%
;
display
:
inline-block
;
margin-left
:
0
;
margin-right
:
12px
;
margin-top
:
12px
;
}
...
...
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