Commit f16aa7be by lanyulei Committed by GitHub

Merge pull request #69 from lanyulei/dev

fix: 调整工单申请页面样式。
parents 21daca93 0f2c94f8
Showing with 10 additions and 4 deletions
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment