This commit is contained in:
zmj 2024-05-30 10:43:07 +08:00
parent 048380d297
commit 347152ad88

View File

@ -10,9 +10,8 @@
</el-form-item>
<el-form-item label="组织状态">
<el-select class="w-[280px]" v-model="queryParams.status">
<el-option label="全部" value />
<el-option label="正常" :value="1" />
<el-option label="停用" :value="0" />
<el-option label="正常" :value="0" />
<el-option label="停用" :value="1" />
</el-select>
</el-form-item>
<el-form-item>
@ -37,7 +36,7 @@
<el-table-column label="状态" prop="status" min-width="100">
<template #default="{ row }">
<el-tag class="ml-2" :type="row.status ? '' : 'danger'">
{{ row.status == 1 ? "正常" : "禁用" }}
{{ row.status == 0 ? "正常" : "禁用" }}
</el-tag>
</template>
</el-table-column>