@@ -50,9 +50,8 @@
>
-
- {{ slotProps.row.status === 1 ? '已检测' : '待检测' }}
-
+ 待检测
+ 已检测
@@ -154,7 +153,6 @@ const resetForm = () => {
const tableData = ref([]);
// 列配置
const columns = ref([
- { prop: 'id', label: 'ID', width: '80' },
{ prop: 'productName', label: '产品名称', width: '180px' },
{ prop: 'applyTime', label: '申请时间', width: '180px' },
{ prop: 'status', label: '申请状态', slotName: 'status' },
@@ -483,5 +481,15 @@ onBeforeUnmount(() => {
cursor: pointer;
transition: all 0.3s;
}
+ // 表格中文本的颜色
+ .color-gray {
+ color: $color-5a;
+ }
+ .color-green {
+ color: $color-success;
+ }
+ .color-red {
+ color: $color-danger;
+ }
}