diff --git a/src/pages/JobPortal/JobFair/Detail/index.tsx b/src/pages/JobPortal/JobFair/Detail/index.tsx index c605bd1..d327e2c 100644 --- a/src/pages/JobPortal/JobFair/Detail/index.tsx +++ b/src/pages/JobPortal/JobFair/Detail/index.tsx @@ -247,6 +247,12 @@ const PortalJobFairDetailPage: React.FC = () => { 招聘会简介 {detail.jobFairIntroduction || '暂未提供招聘会简介。'} + {channel === 'outdoor' && ( +
+ 招聘会整体流程 + {detail.jobFairProcess || '暂未提供招聘会整体流程。'} +
+ )} ) : ( !loading && ( diff --git a/src/pages/Jobfair/Outdoorfair/Detail/components/FairInfoTab.tsx b/src/pages/Jobfair/Outdoorfair/Detail/components/FairInfoTab.tsx index 534d2a5..bc8c322 100644 --- a/src/pages/Jobfair/Outdoorfair/Detail/components/FairInfoTab.tsx +++ b/src/pages/Jobfair/Outdoorfair/Detail/components/FairInfoTab.tsx @@ -157,6 +157,12 @@ const FairInfoTab: React.FC = ({ fairInfo, onFairUpdate }) => { '--' )} + +
{fairInfo.fairIntroduction || '--'}
+
+ +
{fairInfo.fairProcess || '--'}
+
diff --git a/src/pages/Jobfair/Outdoorfair/components/EditModal.tsx b/src/pages/Jobfair/Outdoorfair/components/EditModal.tsx index b120138..85af73d 100644 --- a/src/pages/Jobfair/Outdoorfair/components/EditModal.tsx +++ b/src/pages/Jobfair/Outdoorfair/components/EditModal.tsx @@ -6,6 +6,7 @@ import { ProFormSwitch, ProFormSelect, ProFormText, + ProFormTextArea, } from '@ant-design/pro-components'; import { Button, Divider, Form, Image, Input, message, Modal, Space, Upload } from 'antd'; import { PlusOutlined, UploadOutlined } from '@ant-design/icons'; @@ -297,6 +298,18 @@ const EditModal: React.FC = ({ colProps={{ md: 24 }} initialValue={false} /> + + { holdTime?: string; endTime?: string; photoUrl?: string; + fairIntroduction?: string; + fairProcess?: string; } interface PortalOutdoorFairDetailResult { @@ -197,7 +200,8 @@ export async function getPortalJobFairDetail(channel: JobFairChannel, jobFairId: jobFairEndTime: fair.jobFairEndTime || fair.endTime, jobFairHostUnit: fair.jobFairHostUnit || fair.hostUnit, jobFairOrganizeUnit: fair.jobFairOrganizeUnit, - jobFairIntroduction: fair.jobFairIntroduction, + jobFairIntroduction: fair.jobFairIntroduction || fair.fairIntroduction, + jobFairProcess: fair.jobFairProcess || fair.fairProcess, jobFairPhone: fair.jobFairPhone, jobFairImage: fair.jobFairImage || fair.photoUrl, boothNum: diff --git a/src/services/jobportal/outdoorFair.ts b/src/services/jobportal/outdoorFair.ts index 19c88b4..580944f 100644 --- a/src/services/jobportal/outdoorFair.ts +++ b/src/services/jobportal/outdoorFair.ts @@ -33,6 +33,10 @@ export interface OutdoorFairItem { onlineApply: boolean; /** 招聘会照片 */ photoUrl: string; + /** 招聘会简介 */ + fairIntroduction?: string; + /** 招聘会整体流程 */ + fairProcess?: string; /** 当前企业ID */ companyId?: number; /** 当前企业名称 */ @@ -88,6 +92,10 @@ export interface OutdoorFairForm { applyEndTime: string; onlineApply: boolean; photoUrl: string; + /** 招聘会简介 */ + fairIntroduction?: string; + /** 招聘会整体流程 */ + fairProcess?: string; /** 更换场地时确认清空旧展位图与预定,并按新模板重建 */ resetBoothMap?: boolean; }