|
|
@@ -73,16 +73,17 @@
|
|
|
|
|
|
<!-- 进度 -->
|
|
|
<template #table-column-currentFlow="{scope}">
|
|
|
- <div class="steps-wrap" style="width: 200px">
|
|
|
+ <div class="steps-wrap">
|
|
|
<el-steps
|
|
|
- :space="200"
|
|
|
+ :space="180"
|
|
|
:active="parseInt(scope.row.currentFlow)"
|
|
|
finish-status="success"
|
|
|
size="mini"
|
|
|
+ align-center=true
|
|
|
>
|
|
|
<el-step
|
|
|
title=""
|
|
|
- v-for="(item, index) in parseInt(scope.row.totalFlow)"
|
|
|
+ v-for="(item, index) in parseInt(5)"
|
|
|
:key="index"
|
|
|
></el-step>
|
|
|
</el-steps>
|
|
|
@@ -278,7 +279,7 @@ export default {
|
|
|
prop: 'currentFlow',
|
|
|
label: '进度',
|
|
|
align: 'center',
|
|
|
- width: 220
|
|
|
+ width: 180
|
|
|
},
|
|
|
{
|
|
|
prop: 'status',
|
|
|
@@ -351,8 +352,9 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
.steps-wrap {
|
|
|
- width: 200px;
|
|
|
+ width: 150px;
|
|
|
// height: 26px;
|
|
|
+ margin:0 auto;
|
|
|
}
|
|
|
</style>
|
|
|
|
|
|
@@ -370,9 +372,13 @@ export default {
|
|
|
border-color: #3385ff;
|
|
|
.el-step__icon.is-text {
|
|
|
background-color: #3385ff;
|
|
|
+ font-size:1px;
|
|
|
}
|
|
|
.el-step__line {
|
|
|
background-color: #3385ff;
|
|
|
+ .el-step__line-inner{
|
|
|
+ display:inline-block;
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
.el-step__head.is-wait {
|
|
|
@@ -380,15 +386,20 @@ export default {
|
|
|
background-color: #c0c4cc;
|
|
|
}
|
|
|
}
|
|
|
+ .el-step__icon-inner{
|
|
|
+ font-size:1px;
|
|
|
+ }
|
|
|
.el-step__icon {
|
|
|
- width: 12px;
|
|
|
- height: 12px;
|
|
|
+ width: 10px;
|
|
|
+ height: 10px;
|
|
|
}
|
|
|
.el-step.is-horizontal .el-step__line {
|
|
|
- height: 2px;
|
|
|
+ height: 1px;
|
|
|
left: 16px;
|
|
|
right: -16px;
|
|
|
- top: 9px;
|
|
|
+ top: 10px;
|
|
|
}
|
|
|
+
|
|
|
}
|
|
|
+
|
|
|
</style>
|