|
|
@ -43,7 +43,7 @@ |
|
|
|
<div class="span_onerow">{{scope.row.workTypeName}}</div> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column prop="isNormalShow" |
|
|
|
<el-table-column prop="isNormal" |
|
|
|
label="有无异常" |
|
|
|
align="center" |
|
|
|
min-width="80"> |
|
|
@ -204,13 +204,13 @@ export default { |
|
|
|
if (code === 0) { |
|
|
|
this.total = data.total |
|
|
|
this.tableData = data.list |
|
|
|
this.tableData.forEach(element => { |
|
|
|
if (element.isNormal) { |
|
|
|
element.isNormalShow = '有' |
|
|
|
} else { |
|
|
|
element.isNormalShow = '无' |
|
|
|
} |
|
|
|
}); |
|
|
|
// this.tableData.forEach(element => { |
|
|
|
// if (element.isNormal) { |
|
|
|
// element.isNormalShow = '有' |
|
|
|
// } else { |
|
|
|
// element.isNormalShow = '无' |
|
|
|
// } |
|
|
|
// }); |
|
|
|
|
|
|
|
|
|
|
|
} else { |
|
|
|