-
李文光 authored
新增 backend/app/services/jd_import.py: build_requirement_template 生成《招聘需求模板》(发给用人部门填写,含对内约束:性别/年龄/试用期/竞业/验证), parse_pasted_jd 把填好的模板或整段 JD 拆成结构化岗位字段(LLM 优先,无 Key/失败回退本地小节切分); 新增接口 /api/jd/parse-pasted 与 /api/jd/requirement-template。前端: 岗位管理列表 hero 新增「从 JD / 需求模板创建」直达(自动打开粘贴), 新建岗位页顶部两步引导卡(01 生成需求模板 / 02 粘贴自动创建), JobEdit JD 页保留编辑老岗位的小入口, 对内约束回填岗位字段持久化(不上对外 JD)。测试: test_jd_import.py, 全量 103 passed。文档 requirements/CONTEXT 同步。
22f1e111
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| alembic | ||
| app | ||
| modules | ||
| scripts | ||
| tests | ||
| .env.example | ||
| .gitignore | ||
| README.md | ||
| __init__.py | ||
| alembic.ini | ||
| pyproject.toml | ||
| requirements.txt | ||
| start-server.cmd |