fix: 修复用户维度统计表格列宽溢出问题,添加横向滚动
This commit is contained in:
parent
348e7ed71e
commit
3352469b3b
@ -680,6 +680,7 @@
|
||||
:columns="primaryDeptUserColumns"
|
||||
:data-source="primaryDeptUserRanking"
|
||||
:pagination="{ pageSize: 10 }"
|
||||
:scroll="{ x: 1400 }"
|
||||
row-key="userId"
|
||||
size="middle"
|
||||
class="dark-table"
|
||||
@ -1190,7 +1191,7 @@ const brandDistributionColumns = [
|
||||
const primaryDeptUserColumns = [
|
||||
{ title: '排名', key: 'rank', dataIndex: 'rank', align: 'center', width: 60 },
|
||||
{ title: '用户姓名', dataIndex: 'userName', key: 'userName', ellipsis: true, width: 120 },
|
||||
{ title: '部门名称', dataIndex: 'deptName', key: 'deptName', ellipsis: true },
|
||||
{ title: '部门名称', dataIndex: 'deptName', key: 'deptName', ellipsis: true, width: 150 },
|
||||
{ title: '一级部门', dataIndex: 'firstLevelDeptName', key: 'firstLevelDeptName', ellipsis: true, width: 120 },
|
||||
{ title: '二级部门', dataIndex: 'secondLevelDeptName', key: 'secondLevelDeptName', ellipsis: true, width: 120 },
|
||||
{ title: '发起任务数', dataIndex: 'taskCount', key: 'taskCount', align: 'center', width: 100 },
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user