| | |
| | | min-width="8%" |
| | | /> |
| | | <el-table-column |
| | | prop="condition" |
| | | prop="type" |
| | | label="状态" |
| | | min-width="8%" |
| | | > |
| | | <template slot-scope="scope"> |
| | | <span :style="{ color: scope.row.condition === 1 ? 'green' : 'red' }"> |
| | | {{ scope.row.condition === 1 ? '已检测':'未检测' }} |
| | | <span :style="{ color: scope.row.type === 1 ? 'green' : 'red' }"> |
| | | {{ scope.row.type === 1 ? '已检测':'未检测' }} |
| | | </span> |
| | | </template> |
| | | </el-table-column> |
| | |
| | | // console.log(res) |
| | | this.inspectionTable = res.data.row |
| | | this.data = res.data.row |
| | | console.log(res.data.row); |
| | | this.total = res.data.total |
| | | }, |
| | | async search(){ |