feat(log、post、user、project、work-report): 添加用户姓名字段并实现岗位用户导出功能

- 在API访问日志、API错误日志中新增用户姓名字段显示
- 优化日志管理页面布局样式,修复高度自适应问题
- 添加系统岗位数据导出功能及相应API接口
- 添加系统用户数据导出功能及相应API接口
- 新增通用文件下载和导出文件名生成工具函数
- 修复工作报表删除确认提示文案
- 调整项目列表默认展开状态逻辑
- 完善岗位和用户管理页面导出按钮权限控制
- 更新日志实体类型定义,增加用户昵称字段
This commit is contained in:
dk
2026-07-01 17:15:12 +08:00
parent a650f6e96d
commit a8e2bac65a
15 changed files with 172 additions and 13 deletions

View File

@@ -67,9 +67,11 @@ watch(
</ElCard>
<div v-if="activeTabMeta" class="log-management-page__content">
<KeepAlive>
<component :is="componentMap[activeTab]" />
</KeepAlive>
<div class="log-management-page__pane">
<KeepAlive>
<component :is="componentMap[activeTab]" class="log-management-page__tab" />
</KeepAlive>
</div>
</div>
</div>
</template>
@@ -157,8 +159,26 @@ watch(
}
.log-management-page__content {
display: flex;
flex: 1;
min-height: 0;
overflow: hidden;
}
.log-management-page__pane {
display: flex;
flex: 1;
min-width: 0;
min-height: 0;
overflow: hidden;
}
:deep(.log-management-page__tab) {
display: flex;
width: 100%;
flex: 1;
min-width: 0;
min-height: 0;
}
@media (width <= 1200px) {