1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465 |
- /**
- * 工作职位相关类型定义和数据
- */
-
- /**
- * 职位信息接口
- */
- export interface Job {
- id: string
- name: string
- jobResponsibilities: string
- benefits: string
- workTime: string
- location: number
- webSite: number
- email: string
- updateTime: string
- isDisabled: string
- createTime?: string
- jobRequirements?: string
- department?: string
- salary?: string
- }
-
- /**
- * API 列表响应接口
- */
- export interface JobsApiResponse {
- code: number
- msg: string
- total: number
- rows: Job[]
- }
-
- /**
- * API 单个职位响应接口
- */
- export interface JobApiResponse {
- code: number
- msg: string
- data: Job
- }
-
- /**
- * 地点映射表
- */
- export const locationMap: Record<number, string> = {
- 0: '沈阳'
- }
-
- /**
- * 工作类型映射表
- */
- export const workTypeMap: Record<number, string> = {
- 1: '全职',
- 2: '兼职',
- 3: '实习',
- 4: '合同工',
- 5: '远程工作'
- }
-
- /**
- * 本地备用职位数据
- */
- export const localJobs: Job[] = []
|