|
|
@ -23,7 +23,11 @@ |
|
|
|
<el-table-column prop="name" label="部门名称" /> |
|
|
|
<el-table-column prop="name" label="部门名称" /> |
|
|
|
<el-table-column prop="leader" label="负责人" width="120" /> |
|
|
|
<el-table-column prop="leader" label="负责人" width="120" /> |
|
|
|
<el-table-column prop="sort" label="排序" width="200" /> |
|
|
|
<el-table-column prop="sort" label="排序" width="200" /> |
|
|
|
<el-table-column prop="status" label="状态" width="100" /> |
|
|
|
<el-table-column prop="status" label="状态" width="100"> |
|
|
|
|
|
|
|
<template #default="{ row }"> |
|
|
|
|
|
|
|
{{ ['启用', '禁用'][row.status] }} |
|
|
|
|
|
|
|
</template> |
|
|
|
|
|
|
|
</el-table-column> |
|
|
|
<el-table-column label="创建时间" prop="createTime" width="180" :formatter="dateFormatter" /> |
|
|
|
<el-table-column label="创建时间" prop="createTime" width="180" :formatter="dateFormatter" /> |
|
|
|
<el-table-column label="操作" class-name="fixed-width" width="240"> |
|
|
|
<el-table-column label="操作" class-name="fixed-width" width="240"> |
|
|
|
<template #default="scope"> |
|
|
|
<template #default="scope"> |
|
|
|