diff --git a/frontend/src/views/Analytics.vue b/frontend/src/views/Analytics.vue index 2a5f50b..f8edcd4 100644 --- a/frontend/src/views/Analytics.vue +++ b/frontend/src/views/Analytics.vue @@ -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 },