punchin.js 513 B

12345678910111213141516171819202122232425262728293031323334
  1. // 打卡任务常量
  2. /**
  3. * 选项
  4. */
  5. export const statusRange = [
  6. {
  7. "value": 1,
  8. "text": "启用"
  9. },
  10. {
  11. "value": 0,
  12. "text": "关闭"
  13. }
  14. ];
  15. /**
  16. * 打卡类型
  17. */
  18. export const categoryRange = [
  19. { value: 0, text: "单次打卡" },
  20. { value: 1, text: "计数" },
  21. { value: 2, text: "计时" },
  22. ];
  23. /**
  24. * 比较规则
  25. */
  26. export const ruleRange = [
  27. { value: 0, text: "大于等于" },
  28. { value: 1, text: "小于等于" },
  29. { value: 2, text: "大于" },
  30. { value: 3, text: "小于" },
  31. ];