/** * 工作职位相关类型定义和数据 */ /** * 职位信息接口 */ 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[] } /** * 地点映射表 */ export const locationMap: Record = { 0: '沈阳' } /** * 工作类型映射表 */ export const workTypeMap: Record = { 1: '全职', 2: '兼职', 3: '实习', 4: '合同工', 5: '远程工作' } /** * 本地备用职位数据 */ export const localJobs: Job[] = []