add
This commit is contained in:
parent
26d2bbacc0
commit
034219cab1
@ -32,7 +32,7 @@
|
||||
<el-table-column label="部门名称" prop="name" min-width="150" show-overflow-tooltip />
|
||||
<el-table-column label="部门状态" prop="status" min-width="100">
|
||||
<template #default="{ row }">
|
||||
<el-tag class="ml-2" :type="row.status ? '' : 'danger'">{{
|
||||
<el-tag class="ml-2" :type="row.status ? 'danger' : ''">{{
|
||||
row.status == 0 ? "正常" : "禁用"
|
||||
}}</el-tag>
|
||||
</template>
|
||||
|
@ -35,7 +35,7 @@
|
||||
<el-table-column label="组织名称" prop="name" min-width="100" />
|
||||
<el-table-column label="状态" prop="status" min-width="100">
|
||||
<template #default="{ row }">
|
||||
<el-tag class="ml-2" :type="row.status ? '' : 'danger'">
|
||||
<el-tag class="ml-2" :type="row.status ? 'danger' : ''">
|
||||
{{ row.status == 0 ? "正常" : "禁用" }}
|
||||
</el-tag>
|
||||
</template>
|
||||
|
@ -41,7 +41,7 @@
|
||||
<el-table-column label="添加时间" prop="create_time" min-width="180" />
|
||||
<el-table-column label="状态" prop="status" min-width="100">
|
||||
<template #default="{ row }">
|
||||
<el-tag class="ml-2" :type="row.status ? '' : 'danger'">
|
||||
<el-tag class="ml-2" :type="row.status ? 'danger' : ''">
|
||||
{{ row.status == 0 ? "正常" : "禁用" }}
|
||||
</el-tag>
|
||||
</template>
|
||||
|
Loading…
x
Reference in New Issue
Block a user