Commit Graph

6 Commits

Author SHA1 Message Date
Claude 1823b95819 feat: 管理后台央企红门户风格重构 + 职位编制字段及启动脚本
- 管理后台改用央企红(#C60C1E)门户风格:红顶白底、扁平务实、
  金色点缀;侧栏导航加图标与分组,Dialog 红标题栏,表格/卡片/按钮统一
- 后端 jobs 新增 headcount(编制)字段及迁移、school_data 学校数据、
  组织序列化调整
- 新增 start.bat / dev.bat 一键启动前后端,.gitignore 规范化

Co-Authored-By: Claude <noreply@anthropic.com>
2026-06-26 15:02:50 +08:00
TianyangZhang 819ad3e7f1 fix(portal): 修复组织架构图连接线及子公司详情页空白问题
- 架构图横线改用 border-top 方式,连线准确对齐
- 后端 OrganizationPublicViewSet 支持按 ID 查询任意组织(不限顶级)
- CompanyDetailView 添加 try-catch 防止 Promise.all 失败导致空白

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-26 13:48:39 +08:00
TianyangZhang 11d1cec192 feat(backend): 组织序列化器添加在招岗位数统计
- JobListSerializer 和 JobDetailSerializer 新增 job_count 字段
- 统计 status='published' 的岗位数量
- 前端展示每个公司/子公司的在招岗位数

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-03-25 13:12:43 +08:00
TianyangZhang cc2cd40532 fix: fix organizations view queryset and add API tests
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-24 17:37:54 +08:00
TianyangZhang 7e089bd5ec feat: add Organization model with tree structure
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-24 17:34:56 +08:00
TianyangZhang c3466f4866 feat: add custom User model with role-based permissions
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-24 17:11:40 +08:00