上线:用户管理页面中加入部门树,根据部门过滤用户,前后端接口数据完成调试

This commit is contained in:
zhangtao
2025-01-11 01:18:27 +08:00
parent 01c3cb1368
commit f5819f91b2
13 changed files with 135 additions and 116 deletions
+4 -3
View File
@@ -57,15 +57,16 @@
</a-space>
</template>
<a-table
<a-table v-if="dataSource.length"
:defaultExpandAllRows="true"
:rowKey="record => record.id"
:columns="columns"
:data-source="dataSource"
:loading="tableLoading"
:scroll="{ x: 500, y: 'calc(100vh - 500px)' }"
:scroll="{ x: 500, y: 'calc(100vh - 300px)' }"
:row-selection="rowSelection"
:pagination="false"
:style="{ minHeight: '500px' }"
:style="{ minHeight: '300px' }"
>
<template #bodyCell="{ column, record }">