招聘会
Some checks failed
Node CI / build (14.x, macOS-latest) (push) Has been cancelled
Node CI / build (14.x, ubuntu-latest) (push) Has been cancelled
Node CI / build (14.x, windows-latest) (push) Has been cancelled
Node CI / build (16.x, macOS-latest) (push) Has been cancelled
Node CI / build (16.x, ubuntu-latest) (push) Has been cancelled
Node CI / build (16.x, windows-latest) (push) Has been cancelled
CodeQL / Analyze (javascript) (push) Has been cancelled
coverage CI / build (push) Has been cancelled
Node pnpm CI / build (16.x, macOS-latest) (push) Has been cancelled
Node pnpm CI / build (16.x, ubuntu-latest) (push) Has been cancelled
Node pnpm CI / build (16.x, windows-latest) (push) Has been cancelled

This commit is contained in:
2026-01-11 10:00:56 +08:00
parent caa72e1b76
commit b7d252fcf9
11 changed files with 1076 additions and 2 deletions

133
src/types/jobfair/publicJobFair.d.ts vendored Normal file
View File

@@ -0,0 +1,133 @@
/**
* 公共招聘会管理类型定义
*/
declare namespace API.PublicJobFair {
/** 招聘会列表查询参数 */
export interface ListParams {
pageNum?: number;
pageSize?: number;
jobFairTitle?: string;
jobFairType?: string;
}
/** 招聘会列表项 */
export interface JobFairItem {
jobFairId: string;
jobFairTitle: string;
jobFairAddress: string;
jobFairType: string;
jobFairStartTime: string;
jobFairEndTime: string;
jobFairSignUpStartTime?: string;
jobFairSignUpEndTime?: string;
jobFairHostUnit?: string;
jobFairCoOrganizer?: string;
jobFairOrganizer?: string;
jobFairPhone?: string;
jobFairIntroduction?: string;
latitude?: number;
longitude?: number;
enterpriseNum?: string;
boothNum?: string;
}
/** 招聘会列表响应 */
export interface ListResult {
code: number;
msg?: string;
rows: JobFairItem[];
total: number;
}
/** 岗位信息 */
export interface JobInfo {
id?: string;
jobId: number;
jobTitle: string;
minSalary?: number;
maxSalary?: number;
education?: string;
experience?: string;
vacancies?: number;
}
/** 企业信息 */
export interface CompanyInfo {
id: string;
companyId: number;
companyName: string;
scale?: string;
industry?: string;
companyType?: string;
jobInfoList?: JobInfo[];
}
/** 招聘会详情响应 */
export interface DetailResult {
code: number;
msg?: string;
data: JobFairItem & {
companyList?: CompanyInfo[];
};
}
/** 新增/编辑招聘会参数 */
export interface JobFairForm {
jobFairId?: string;
jobFairTitle: string;
jobFairAddress: string;
jobFairType: string;
jobFairStartTime: string;
jobFairEndTime: string;
jobFairSignUpStartTime?: string;
jobFairSignUpEndTime?: string;
jobFairHostUnit?: string;
jobFairCoOrganizer?: string;
jobFairOrganizer?: string;
jobFairPhone?: string;
jobFairIntroduction?: string;
latitude?: number;
longitude?: number;
}
/** 添加企业参数 */
export interface AddCompanyParams {
jobFairId: string;
companyId: number;
}
/** 添加岗位参数 */
export interface AddJobParams {
jobFairId: string;
jobId: number;
companyId: number;
}
/** 报名人员 */
export interface SignupItem {
id: number;
jobFairId: number;
userId: number;
userName: string;
realName?: string;
phone?: string;
signUpTime: string;
status: string;
}
/** 报名人员列表响应 */
export interface SignupListResult {
code: number;
msg?: string;
rows: SignupItem[];
total: number;
}
/** 通用响应 */
export interface CommonResult {
code: number;
msg?: string;
data?: any;
}
}