Browse Source

部门编号居中

master_hella_20240701
yufei0306 7 months ago
parent
commit
475e3ce2de
  1. 2
      src/views/system/dept/index.vue

2
src/views/system/dept/index.vue

@ -32,7 +32,7 @@
<ContentWrap>
<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="id" label="部门编号" />
<el-table-column prop="id" align="center" label="部门编号" />
<el-table-column prop="leader" align="center" label="负责人">
<template #default="scope">
{{ userList.find((user) => user.id === scope.row.leaderUserId)?.nickname }}

Loading…
Cancel
Save