关键代码
<el-table-column header-align="center" align="center" v-for="item in notFixedData" :key="item.prop"
v-if="item.isTrue" :prop="item.prop" :label="item.title" :min-width="item.width">
<template slot-scope="scope">
<span v-if="scope.row[item.prop] !== '缺'">{{scope.row[item.prop]}}</span>
<span v-else style="color: red;">{{scope.row[item.prop]}}</span>
</template>
</el-table-column>