feat: Enhance Outdoor Fair and Public Job Fair features

- Added QR code functionality for companies signing up for outdoor fairs.
- Implemented job management for outdoor fairs, including job listing and editing.
- Updated Public Job Fair detail view to reflect new data structure.
- Refactored EditModal to support dynamic lists for host, co-organizer, and organizing units.
- Introduced cross-domain city selection for job fairs.
- Enhanced API services for managing cross-domain jobs and cities.
- Improved data handling for outdoor fair items, including review status and QR code content.
- Updated type definitions to accommodate new fields and structures.
This commit is contained in:
2026-06-27 22:45:16 +08:00
parent 7b9e8426de
commit 9c8bfb617b
16 changed files with 1613 additions and 758 deletions

View File

@@ -2,7 +2,6 @@
* 户外招聘会详情管理类型定义
*/
declare namespace API.OutdoorFairDetail {
// ==================== 模块1: 招聘会管理 ====================
/** 参会企业 */
@@ -18,10 +17,33 @@ declare namespace API.OutdoorFairDetail {
boothId?: number;
boothNumber?: string;
jobCount?: number;
/** 绑定的设备码记录 ID。 */
deviceId?: number;
/** 绑定的设备码。 */
deviceCode?: string;
/** 企业公共 H5 页面链接。 */
h5Url?: string;
/** 二维码内容,通常与 h5Url 一致。 */
qrCodeContent?: string;
/** 报名审核状态0待审核 1通过 2驳回。 */
reviewStatus?: string;
reviewBy?: string;
reviewTime?: string;
reviewRemark?: string;
/** 仅兼容旧 mock 数据,真实企业接口不再返回岗位列表。 */
jobList?: PostedJob[];
}
/** 参会企业二维码信息 */
export interface CompanyQrCodeInfo {
fairId: number;
companyId: number;
deviceId?: number;
deviceCode?: string;
h5Url: string;
qrCodeContent: string;
}
/** 已发布岗位 */
export interface PostedJob {
/** 真实岗位主键;旧 mock 数据仅使用 id。 */
@@ -42,6 +64,10 @@ declare namespace API.OutdoorFairDetail {
description?: string;
isPublish?: number;
status?: string;
/** 户外招聘会岗位审核状态0待审核 1通过 2驳回。 */
fairReviewStatus?: string;
fairReviewRemark?: string;
fairReviewTime?: string;
jobContactList?: API.ManagementList.ContactPerson[];
}

View File

@@ -23,14 +23,16 @@ declare namespace API.PublicJobFair {
jobFairSignUpStartTime?: string;
jobFairSignUpEndTime?: string;
jobFairHostUnit?: string;
jobFairCoOrganizer?: string;
jobFairOrganizer?: string;
jobFairHelpUnit?: string;
jobFairOrganizeUnit?: string;
jobFairPhone?: string;
jobFairIntroduction?: string;
latitude?: number;
longitude?: number;
enterpriseNum?: string;
boothNum?: string;
isCrossDomain?: string;
crossDomainCities?: string;
createTime?: string;
}
@@ -86,12 +88,14 @@ declare namespace API.PublicJobFair {
jobFairSignUpStartTime?: string;
jobFairSignUpEndTime?: string;
jobFairHostUnit?: string;
jobFairCoOrganizer?: string;
jobFairOrganizer?: string;
jobFairHelpUnit?: string;
jobFairOrganizeUnit?: string;
jobFairPhone?: string;
jobFairIntroduction?: string;
latitude?: number;
longitude?: number;
isCrossDomain?: string;
crossDomainCities?: string;
}
/** 添加企业参数 */