hr-config.js 1.2 KB

12345678910111213141516
  1. // HR 模块静态配置
  2. // 来源:kd-aiot-frontend-hr-H5/src/data/mock.ts 中的 UI 元数据(非业务数据)。
  3. // 说明:这些是纯前端展示配置,不属于接口数据,因此保留在本地。
  4. // 申请类型元数据(key 对应 apply/form 的 type 参数)
  5. export const applicationTypes = {
  6. leave: { title: "请假申请", subtitle: "请选择假期类型与请假时间", icon: "假", color: "#157a2c" },
  7. overtime: { title: "加班申请", subtitle: "记录加班时间与工作内容", icon: "班", color: "#61cdbb" },
  8. field: { title: "外勤申请", subtitle: "填写外勤地点与工作事项", icon: "外", color: "#4b7902" },
  9. trip: { title: "出差申请", subtitle: "填写出差行程与事由", icon: "差", color: "#f6bd16" },
  10. check: { title: "补卡申请", subtitle: "选择异常日期并说明原因", icon: "卡", color: "#07a44d" },
  11. resign: { title: "离职申请", subtitle: "填写预计离职日期与原因", icon: "离", color: "#ee6666" },
  12. transfer: { title: "调岗申请", subtitle: "填写目标岗位与申请理由", icon: "岗", color: "#9270ca" },
  13. regular: { title: "转正申请", subtitle: "提交试用期工作总结", icon: "正", color: "#269a99" },
  14. };