样式调整

This commit is contained in:
GYYM
2024-12-05 21:33:52 +08:00
parent b1c9375873
commit 9c0b9a7c93
11 changed files with 315 additions and 175 deletions

View File

@@ -36,9 +36,13 @@
</el-table-column>
<el-table-column prop="Result" label="检测结果">
<template #default="scope">
<!-- <template #default="scope">
<el-tag :type="scope.row.Result === '合格' ? 'success' : 'danger'">{{ scope.row.Result }}</el-tag>
</template>
</template> -->
<template #default="scope">
<el-tag type="danger" v-if="scope.row.Result === '不合格'">{{ scope.row.Result }}</el-tag>
<span v-if="scope.row.Result != '不合格'">{{ scope.row.Result }}</span>
</template>
</el-table-column>
</el-table>