<el-table-column align="center" prop="submitState" label="报送状态" > <template slot-scope="scope"> <div :style="scope.row.submitState=== '已上报'?'color:#01b79d;':'color:#ec5656;'">{{scope.row.submitState}}</div> </template> </el-table-column>