Hanye官网
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

jobs.ts 853B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. /**
  2. * 工作职位相关类型定义和数据
  3. */
  4. /**
  5. * 职位信息接口
  6. */
  7. export interface Job {
  8. id: string
  9. name: string
  10. jobResponsibilities: string
  11. benefits: string
  12. workTime: string
  13. location: number
  14. webSite: number
  15. email: string
  16. updateTime: string
  17. isDisabled: string
  18. createTime?: string
  19. jobRequirements?: string
  20. department?: string
  21. salary?: string
  22. }
  23. /**
  24. * API 响应接口
  25. */
  26. export interface JobsApiResponse {
  27. code: number
  28. msg: string
  29. total: number
  30. rows: Job[]
  31. }
  32. /**
  33. * 地点映射表
  34. */
  35. export const locationMap: Record<number, string> = {
  36. 0: '沈阳'
  37. }
  38. /**
  39. * 工作类型映射表
  40. */
  41. export const workTypeMap: Record<number, string> = {
  42. 1: '全职',
  43. 2: '兼职',
  44. 3: '实习',
  45. 4: '合同工',
  46. 5: '远程工作'
  47. }
  48. /**
  49. * 本地备用职位数据
  50. */
  51. export const localJobs: Job[] = []