feat: implement participating companies and jobs tabs in outdoor fair detail

- Add ParticipatingCompaniesTab component to manage participating companies.
- Add ParticipatingJobsTab component to manage jobs associated with participating companies.
- Remove StatisticsTab component as it is no longer needed.
- Update OutdoorFairDetail to include new tabs for participating companies and jobs.
- Modify API services to support fetching and managing participating companies and jobs.
- Update types to reflect changes in job and company data structures.
This commit is contained in:
2026-06-25 23:13:42 +08:00
parent 5a8aaccb6c
commit b684b4e12d
16 changed files with 1069 additions and 1126 deletions

View File

@@ -17,21 +17,32 @@ declare namespace API.OutdoorFairDetail {
contactPhone: string;
boothId?: number;
boothNumber?: string;
jobList: PostedJob[];
jobCount?: number;
/** 仅兼容旧 mock 数据,真实企业接口不再返回岗位列表。 */
jobList?: PostedJob[];
}
/** 已发布岗位 */
export interface PostedJob {
id: number;
fairId: number;
/** 真实岗位主键;旧 mock 数据仅使用 id。 */
jobId?: number;
id?: number;
fairId?: number;
companyId: number;
companyName?: string;
jobTitle: string;
minSalary: number;
maxSalary: number;
education: string;
experience: string;
vacancies: number;
status: string; // 'active' | 'closed'
jobLocationAreaCode?: string;
jobType?: string;
jobLocation?: string;
description?: string;
isPublish?: number;
status?: string;
jobContactList?: API.ManagementList.ContactPerson[];
}
// ==================== 模块2: 展位管理 ====================