apply-config.js 1.6 KB

1234567891011121314151617181920212223242526
  1. // 申请类型元数据(key 决定 apply/form 渲染哪种字段)
  2. export const applicationTypes = {
  3. leave: { title: "请假申请", subtitle: "请选择假期类型与请假时间", icon: "假", color: "#157a2c" },
  4. overtime: { title: "加班申请", subtitle: "记录加班时间与工作内容", icon: "班", color: "#61cdbb" },
  5. field: { title: "外勤申请", subtitle: "填写外勤地点与工作事项", icon: "外", color: "#4b7902" },
  6. trip: { title: "出差申请", subtitle: "填写出差行程与事由", icon: "差", color: "#f6bd16" },
  7. check: { title: "补卡申请", subtitle: "选择异常日期并说明原因", icon: "卡", color: "#07a44d" },
  8. resign: { title: "离职申请", subtitle: "填写预计离职日期与原因", icon: "离", color: "#ee6666" },
  9. transfer: { title: "调岗申请", subtitle: "填写目标岗位与申请理由", icon: "岗", color: "#9270ca" },
  10. regular: { title: "转正申请", subtitle: "提交试用期工作总结", icon: "正", color: "#269a99" },
  11. };
  12. // 以下拉选项形式出现在表单里的字典
  13. export const LEAVE_TYPE_OPTIONS = ["年假", "事假", "病假", "调休假", "婚假"];
  14. // 离职申请「待归还资产」多选项
  15. export const ASSET_RETURN_OPTIONS = ["工牌", "门禁卡", "办公电脑", "测量仪器", "其他"];
  16. export const RESIGN_TYPE_OPTIONS = ["主动离职", "协商离职", "辞退", "合同到期", "退休"];
  17. export const RESIGN_REASON_OPTIONS = [
  18. "个人发展",
  19. "家庭原因",
  20. "薪资待遇",
  21. "职业转型",
  22. "公司调整",
  23. "健康原因",
  24. ];
  25. export const COMPENSATION_OPTIONS = ["不适用", "N+1", "N", "按公司制度执行"];