This commit is contained in:
zmj 2024-05-30 10:44:54 +08:00
parent 347152ad88
commit 26d2bbacc0
2 changed files with 6 additions and 7 deletions

View File

@ -7,9 +7,8 @@
</el-form-item>
<el-form-item label="部门状态" prop="status">
<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>
@ -34,7 +33,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>

View File

@ -11,8 +11,8 @@
<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>
@ -42,7 +42,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>