|
|
@ -131,7 +131,11 @@ |
|
|
:min-width="item.columnWidth" |
|
|
:min-width="item.columnWidth" |
|
|
:label="item.columnLabel"> |
|
|
:label="item.columnLabel"> |
|
|
<template slot-scope="scope"> |
|
|
<template slot-scope="scope"> |
|
|
<span v-if="!item.columnHidden"> {{ scope.row[item.columnProp] }}</span> |
|
|
|
|
|
|
|
|
<span |
|
|
|
|
|
v-if="!item.columnHidden" |
|
|
|
|
|
:style="item.columnProp === 'inspectionResult' && scope.row.inspectionResult === '不合格' ? { color: 'red', fontWeight: 'bold' } : {}"> |
|
|
|
|
|
{{ scope.row[item.columnProp] }} |
|
|
|
|
|
</span> |
|
|
<span v-if="item.columnImage"><img :src="scope.row[item.columnProp]" style="width: 100px; height: 80px"/></span> |
|
|
<span v-if="item.columnImage"><img :src="scope.row[item.columnProp]" style="width: 100px; height: 80px"/></span> |
|
|
</template> |
|
|
</template> |
|
|
</el-table-column> |
|
|
</el-table-column> |
|
|
|