Commit 6e718e20 by Mr. Lan

feat: 优化工单申请页面。

parent 3e1b5e3b
Showing with 14 additions and 5 deletions
...@@ -19,11 +19,18 @@ ...@@ -19,11 +19,18 @@
<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;">
<template v-for="buttonItem in item.process_list">
<el-tooltip :key="buttonItem.id" effect="dark" placement="top">
<div slot="content">
{{ buttonItem.name }}
<br>
{{ buttonItem.remarks }}
</div>
<el-button <el-button
v-for="buttonItem in item.process_list"
:key="buttonItem.id"
class="workflow-classify-button" class="workflow-classify-button"
plain plain
@click="submitWorkOrder(buttonItem.id)" @click="submitWorkOrder(buttonItem.id)"
...@@ -42,6 +49,8 @@ ...@@ -42,6 +49,8 @@
</div> </div>
</div> </div>
</el-button> </el-button>
</el-tooltip>
</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 {
......
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