|
@ -32,6 +32,7 @@ |
|
|
<ContentWrap> |
|
|
<ContentWrap> |
|
|
<el-table v-loading="loading" :data="list" row-key="id" :default-expand-all="isExpandAll" v-if="refreshTable"> |
|
|
<el-table v-loading="loading" :data="list" row-key="id" :default-expand-all="isExpandAll" v-if="refreshTable"> |
|
|
<el-table-column prop="name" label="部门名称" /> |
|
|
<el-table-column prop="name" label="部门名称" /> |
|
|
|
|
|
<el-table-column prop="id" label="部门编号" /> |
|
|
<el-table-column prop="leader" align="center" label="负责人"> |
|
|
<el-table-column prop="leader" align="center" label="负责人"> |
|
|
<template #default="scope"> |
|
|
<template #default="scope"> |
|
|
{{ userList.find((user) => user.id === scope.row.leaderUserId)?.nickname }} |
|
|
{{ userList.find((user) => user.id === scope.row.leaderUserId)?.nickname }} |
|
|