// 岗位申请 - 枚举与静态兜底数据 // 页面主数据来自 /hr/position/apply 系列接口,此处仅保留选项枚举与合同模板兜底。 // 岗位层级:1-5(后端 positionLevel 取值范围) export const positionLevels = [1, 2, 3, 4, 5]; // 岗位类型:对应后端 positionType 枚举 export const positionTypes = [ { value: "core_positions", label: "核心岗" }, { value: "key_positions", label: "关键岗" }, { value: "general_positions", label: "一般岗" }, { value: "auxiliary_positions", label: "辅助岗" }, ]; // 申请状态:对应后端 status 枚举 export const statusOptions = [ { value: "DRAFT", label: "未提交" }, { value: "PENDING", label: "待审核" }, { value: "APPROVED", label: "已审核" }, { value: "REJECTED", label: "已驳回" }, ]; // 岗位绑定合同模板兜底(优先从 /hr/contracts/templates 接口加载) export const contractTemplates = [ { id: 1, name: "固定期限劳动合同", type: "FIXED" }, { id: 2, name: "无固定期限劳动合同", type: "NON_FIXED" }, { id: 3, name: "劳务派遣合同", type: "DISPATCH" }, { id: 4, name: "实习协议", type: "INTERN" }, { id: 5, name: "竞业限制协议", type: "NON_COMPETE" }, ]; // 学历要求 export const educationOptions = [ "不限", "初中及以上", "高中/中专及以上", "大专及以上", "本科及以上", "硕士及以上", ]; // 技能等级 export const skillLevelOptions = ["初级", "中级", "高级", "技师", "高级技师"]; // 资质证书类型 export const certificateTypes = ["准入类", "评价类", "管理类"]; // 岗位序列兜底(优先从 /hr/positionSequence/sequences 接口加载) export const sequenceFallback = ["管理", "专业", "技术", "操作"];