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
0f2c94f8
Commit
0f2c94f8
authored
May 10, 2021
by
YuleiLan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 调整工单申请页面样式。
parent
21daca93
Show 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 @
0f2c94f8
...
...
@@ -23,15 +23,19 @@
{{
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>
<div
class=
"workflow-classify-div"
:style=
"(buttonIndex + 1) % 5 === 0 ?
{'padding-right': 0} : {'padding-right': '12px'}"
>
<el-button
class=
"workflow-classify-button
"
style=
"width: 100%
"
plain
@
click=
"submitWorkOrder(buttonItem.id)"
>
...
...
@@ -49,6 +53,7 @@
</div>
</div>
</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