feat: Enhance Company and Job Portal functionality

- Added company nature selection to ManagementList and JobDetailPage.
- Implemented detailed tags for job benefits and schedules in JobDetailPage and JobListPage.
- Introduced CompanyInfoPage for managing company details, including nature, scale, and contacts.
- Enhanced ManagementList to support salary composition, welfare benefits, and work schedule fields.
- Created utility functions for parsing and serializing comma-separated tags.
- Updated API services to fetch and update current company information.
- Added tests for new utility functions to ensure correct parsing and serialization of tags.
This commit is contained in:
2026-07-20 11:53:43 +08:00
parent 4d48d33476
commit ed0ac7c4c2
17 changed files with 681 additions and 47 deletions

View File

@@ -23,6 +23,9 @@ declare namespace API.ManagementList {
longitude?: number;
maxSalary?: number;
minSalary?: number;
salaryComposition?: string;
welfareBenefits?: string;
workSchedule?: string;
postingDate?: string;
vacancies?: number;
view?: number;
@@ -32,6 +35,7 @@ declare namespace API.ManagementList {
jobContactList?: ContactPerson[];
createTime?: string;
jobCategory?: string;
description?: string;
}
export interface AddParams {
@@ -52,6 +56,9 @@ declare namespace API.ManagementList {
longitude?: number;
maxSalary?: number;
minSalary?: number;
salaryComposition?: string;
welfareBenefits?: string;
workSchedule?: string;
postingDate?: string;
vacancies?: number;
view?: number;
@@ -60,6 +67,7 @@ declare namespace API.ManagementList {
jobType?: string;
jobContactList?: ContactPerson[];
jobCategory?: string;
description?: string;
}
export interface ListParams {

View File

@@ -9,7 +9,6 @@ declare namespace API.CompanyList {
export interface CompanyContact {
contactPerson: string;
contactPersonPhone: string;
position?: string;
}
export interface Company {
@@ -19,8 +18,12 @@ declare namespace API.CompanyList {
location?: any;
industry: string;
scale: string;
companyNature?: string;
code: string;
description: string;
registeredAddress?: string;
legalPerson?: string;
legalPhone?: string;
companyContactList?: CompanyContact[];
contactPerson?: string;
contactPersonPhone?: string;
@@ -36,7 +39,13 @@ declare namespace API.CompanyList {
location?: any;
industry?: string;
scale?: string;
companyNature?: string;
code?: string;
description?: string;
registeredAddress?: string;
legalPerson?: string;
legalPhone?: string;
companyContactList?: CompanyContact[];
status?: 0 | 1 | 2;
startDate?: string;
endDate?: string;