feat(安全培训): 新增员工安全培训相关功能

This commit is contained in:
runny committed 2026-08-12 11:56:35 +08:00
1 parent cbc3cb959f
commit 8e5c57790c
50 files changed
+3769 -87

No files matched your search

+4
View File
@@ -160,6 +160,10 @@ PDF 证据锚定优先使用现有 `pypdfium2` 逐字文本坐标定位,并由
## 1. 架构目标
### 1.x 培训资料级别与知识库边界
`training_config_resources.training_level` 通过独立 Alembic 迁移新增,非题目资源必须绑定 `company`、`department` 或 `team`。候选查询使用 `KbGroup.name = 员工培训`、分组启用、文档未软删除和版本 `is_current = true` 四项条件;员工端发布配置按 `safetyStage` 只消费当前级别资料。
在现有 `hxops` 项目基础上,扩展一个可落地的智能 HR 请假管理架构,实现:
- 聊天侧承接假期查询、请假申请、状态查询