This commit is contained in:
weiz 2024-04-09 10:39:48 +08:00
parent 8d418fd8de
commit 418327044c

View File

@ -35,8 +35,13 @@
<el-table-column label="组织名称" prop="name" min-width="100" /> <el-table-column label="组织名称" prop="name" min-width="100" />
<el-table-column label="组织负责人" prop="master" min-width="100" /> <el-table-column label="组织负责人" prop="master" min-width="100" />
<el-table-column label="状态" prop="status" min-width="100" show-overflow-tooltip /> <el-table-column label="状态" prop="status" min-width="100">
<template #default="{ row }">
<el-tag class="ml-2" :type="row.status ? '' : 'danger'">
{{ row.status == 1 ? "正常" : "禁用" }}
</el-tag>
</template>
</el-table-column>
<el-table-column label="操作" width="120" fixed="right"> <el-table-column label="操作" width="120" fixed="right">
<template #default="{ row }"> <template #default="{ row }">
<el-button v-perms="['dept.jobs/edit']" type="primary" link @click="handleEdit(row)"> <el-button v-perms="['dept.jobs/edit']" type="primary" link @click="handleEdit(row)">