Merge branch 'master' of http://124.243.245.42:3000/sh/shz-admin
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:
francis-fh
2026-07-23 12:32:33 +08:00
50 changed files with 4767 additions and 603 deletions

View File

@@ -23,15 +23,22 @@ declare namespace API.ManagementList {
longitude?: number;
maxSalary?: number;
minSalary?: number;
salaryComposition?: string;
welfareBenefits?: string;
workSchedule?: string;
postingDate?: string;
vacancies?: number;
view?: number;
release?: number;
isPublish?: number;
jobType?: string;
dataSource?: string;
externalSourceCode?: string;
externalSourceName?: string;
jobContactList?: ContactPerson[];
createTime?: string;
jobCategory?: string;
description?: string;
}
export interface AddParams {
@@ -52,6 +59,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 +70,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;
@@ -30,13 +33,21 @@ declare namespace API.CompanyList {
}
export interface Params {
current?: number;
pageSize?: number;
createTime?: string;
companyId?: number;
name?: string;
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;

View File

@@ -8,6 +8,7 @@ declare namespace API.PublicJobFair {
pageSize?: number;
jobFairTitle?: string;
jobFairType?: string;
jobFairRegionType?: string;
startDate?: string;
endDate?: string;
}
@@ -18,8 +19,10 @@ declare namespace API.PublicJobFair {
jobFairTitle: string;
jobFairAddress: string;
jobFairType: string;
jobFairRegionType?: string;
jobFairStartTime: string;
jobFairEndTime: string;
jobFairStatus?: '未举办' | '正在举办' | '已举办';
jobFairSignUpStartTime?: string;
jobFairSignUpEndTime?: string;
jobFairHostUnit?: string;
@@ -101,6 +104,7 @@ declare namespace API.PublicJobFair {
jobFairTitle: string;
jobFairAddress: string;
jobFairType: string;
jobFairRegionType: string;
jobFairStartTime: string;
jobFairEndTime: string;
jobFairSignUpStartTime?: string;

54
src/types/news-info.d.ts vendored Normal file
View File

@@ -0,0 +1,54 @@
declare namespace API.NewsInfo {
export interface NewsInfoItem {
id: number;
module: string;
moduleName?: string;
title: string;
content?: string;
status: '0' | '1';
createBy?: string;
createTime?: string;
updateBy?: string;
updateTime?: string;
remark?: string;
}
export interface NewsInfoPayload {
id?: number;
module: string;
title: string;
content: string;
status?: '0' | '1';
remark?: string;
}
export interface NewsInfoListParams {
pageNum?: number;
pageSize?: number;
title?: string;
keyword?: string;
module?: string;
status?: '0' | '1';
}
export interface NewsInfoPageResult {
code: number;
msg?: string;
total: number;
rows: NewsInfoItem[];
}
export interface NewsInfoDetailResult {
code: number;
msg?: string;
data: NewsInfoItem;
}
export interface NewsInfoUploadResult {
code: number;
msg?: string;
url?: string;
fileName?: string;
data?: { url?: string; fileName?: string };
}
}