From 186234cb3833e620aa0ae46212fe337eb2d6e77d Mon Sep 17 00:00:00 2001 From: wupengfei <834520024@qq.com> Date: 星期四, 13 三月 2025 13:07:02 +0800 Subject: [PATCH] feat: 接口对接 --- packages/services/api/typings.d.ts | 190 +++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 189 insertions(+), 1 deletions(-) diff --git a/packages/services/api/typings.d.ts b/packages/services/api/typings.d.ts index b48eac8..3b11f05 100644 --- a/packages/services/api/typings.d.ts +++ b/packages/services/api/typings.d.ts @@ -184,6 +184,10 @@ moduleId?: string; } + interface APIgetFlexTaskDetailParams { + id?: string; + } + interface APIgetFlexTaskDtoParams { id?: string; } @@ -799,6 +803,7 @@ id?: string; aideType?: FlexTaskAideEnum; name?: string; + imageUrl?: string; } type FlexTaskAideEnum = 10 | 20; @@ -806,6 +811,38 @@ type FlexTaskCheckAcceptStatusEnum = 10 | 20 | 30; type FlexTaskFeeTypeEnum = 10 | 20 | 30 | 40; + + interface FlexTaskListOutput { + taskId?: string; + /** 浠诲姟鍚嶇О */ + taskName?: string; + releaseStatus?: FlexTaskReleaseStatusEnum; + /** 瀹夋帓鐘舵�� */ + arrangeStatus?: boolean; + /** 鍙戝竷鏃ユ湡 */ + startDate?: string; + /** 缁撴潫鏃ユ湡 */ + endDate?: string; + feeType?: FlexTaskFeeTypeEnum; + settleType?: FlexTaskSettleTypeEnum; + settleStatus?: SettleStatusEnum; + /** 鏄惁鎺ㄨ崘 */ + isRecommend?: boolean; + /** 缁撶畻鏂瑰紡 */ + fee?: number; + /** 鎶ュ悕浜烘暟 */ + applyWorkerCount?: number; + /** 鏄惁宸插畬鎴愰獙鏀� */ + isOverCheck?: boolean; + overCheckStatus?: OverCheckStatusEnum; + creationTime?: string; + } + + interface FlexTaskListOutputPageOutput { + pageModel?: Pagination; + objectData?: any; + data?: FlexTaskListOutput[]; + } type FlexTaskReleaseStatusEnum = 10 | 20; @@ -869,6 +906,44 @@ signStatus?: FlexWorkerEleSignEnum; } + interface GetFlexTaskDetailForBackOutput { + /** 浠诲姟Id */ + taskId?: string; + /** 浠诲姟鍚嶇О */ + taskName?: string; + isArrange?: boolean; + startDate?: string; + endDate?: string; + feeType?: FlexTaskFeeTypeEnum; + feeTypeName?: string; + settleType?: FlexTaskSettleTypeEnum; + /** 缁撶畻鏂瑰紡 */ + settleTypeName?: string; + /** 绂忓埄 */ + taskWeals?: FlexTaskAideDto[]; + /** 璇佷功 */ + taskCerts?: FlexTaskAideDto[]; + /** 鏈嶅姟璐� */ + fee?: number; + provinceId?: number; + cityId?: number; + areaId?: number; + /** 鐪� */ + provinceName?: string; + /** 甯� */ + cityName?: string; + /** 鍖哄煙 */ + areaName?: string; + /** 浠诲姟鍦扮偣 */ + address?: string; + creationDate?: string; + /** 鏈�灏忓勾榫� */ + minAge?: number; + /** 鏈�澶у勾榫� */ + maxAge?: number; + sexType?: GenderTypeEnum; + } + interface GetFlexTaskDtoOutput { taskId?: string; taskName?: string; @@ -893,6 +968,19 @@ minAge?: number; maxAge?: number; sexType?: GenderTypeEnum; + } + + interface GetFlexTaskForBackInput { + pageModel?: Pagination; + /** 浠诲姟鍚嶇О */ + taskName?: string; + /** 鍙戝竷寮�濮嬫棩鏈� */ + startBeginDate?: string; + /** 鍙戝竷缁撴潫鏃ユ湡 */ + startEndDate?: string; + releaseStatus?: FlexTaskReleaseStatusEnum; + /** 鏄惁鎺ㄨ崘 */ + isRecommend?: boolean; } interface GetFlexTaskListByStatusInput { @@ -961,6 +1049,11 @@ /** 浠诲姟Id */ flexTaskId?: string; checkAcceptStatus?: FlexTaskCheckAcceptStatusEnum; + } + + interface GetFlexTaskWorkerListInput { + pageModel?: Pagination; + flexTaskId?: string; } interface GetFlexWorkerRecordOutput { @@ -1102,6 +1195,27 @@ interface GetTypeSearchSettingListInput { searchType: number; belongType?: number; + } + + interface GetWorkerListForBackOutput { + userId?: string; + /** 濮撳悕 */ + name?: string; + /** 韬唤璇佸彿鐮� */ + idNumber?: string; + /** 鐢佃瘽鍙风爜 */ + contactPhone?: string; + /** 骞撮緞 */ + age?: number; + genderType?: GenderTypeEnum; + eduLevelName?: string; + hireStatus?: FlexTaskWorkerHireEnum; + } + + interface GetWorkerListForBackOutputPageOutput { + pageModel?: Pagination; + objectData?: any; + data?: GetWorkerListForBackOutput[]; } interface IanaTimeZone { @@ -1393,6 +1507,7 @@ resumeCertifiDetail?: UserResumeCertificateDetailOutput; resumeDetailInfo?: UserResumeDetailInfoOutput; resumeWorkExperience?: UserResumeWorkExperienceOutput; + /** 宸ヤ綔璁板綍 */ resumeWorkRecordList?: UserResumeWorkerRecordOutput[]; } @@ -1441,6 +1556,8 @@ securityToken?: string; requestId?: string; } + + type OverCheckStatusEnum = 10 | 20 | -10; interface PageInput { pageModel?: Pagination; @@ -1597,6 +1714,13 @@ typeSimple?: string; } + interface RoleDto { + /** 瑙掕壊Id */ + id?: string; + /** 瑙掕壊鍚� */ + name?: string; + } + interface SaveUserResumeBaseInfoInput { name?: string; socialIdentity?: string; @@ -1693,10 +1817,18 @@ preViewData?: string; } + interface SetRecommendInput { + id?: string; + /** 鏄惁鎺ㄨ崘 */ + isRecommend?: boolean; + } + interface SetRoleUserInput { userId?: string[]; roleId?: string; } + + type SettleStatusEnum = 10 | 20 | -10; interface SetUserRoleInput { userId?: string; @@ -1828,51 +1960,102 @@ items?: UserData[]; } - interface UserResumeBaseInfoOutput { + interface UserDto { + /** 鐢ㄦ埛Id */ + id?: string; + /** 鐧诲綍鐢ㄦ埛鍚嶏紙璐﹀彿锛� */ + userName?: string; + /** 鍚嶇О */ name?: string; + /** 鐢ㄦ埛鎵嬫満鍙� */ phoneNumber?: string; + /** 璐︽埛鏄惁閿佷綇锛堟槸鍚︾鐢級 */ + isLocked?: boolean; + /** 瑙掕壊淇℃伅 */ + roles?: RoleDto[]; + /** 澶囨敞 */ + remark?: string; + /** 缁勭粐鏋舵瀯鍏徃id */ + companyOrgId?: string; + /** 缁勭粐鏋舵瀯閮ㄩ棬id */ + departmentOrgId?: string; + } + + interface UserResumeBaseInfoOutput { + /** 濮撳悕 */ + name?: string; + /** 鐢佃瘽鍙风爜 */ + phoneNumber?: string; + /** 澶村儚 */ avatarUrl?: string; genderType?: GenderTypeEnum; + /** 骞撮緞 */ age?: number; + /** 涓婂矖娆℃暟 */ arrangeCount?: number; + /** 韬唤璇佸彿鐮� */ idNumber?: string; + /** 韬唤 */ socialIdentity?: string; + /** 韬唤鍚嶇О */ socialIdentityName?: string; + /** 瀛﹀巻 */ educationalLevel?: string; + /** 瀛﹀巻鍚嶇О */ educationalLevelName?: string; + /** 甯搁┗鐪佷唤Code */ residentProvinceCode?: number; + /** 甯搁┗鍩庡競code */ residentCityCode?: number; + /** 甯搁┗鐪佷唤鍚嶇О */ residentProvinceName?: string; + /** 甯搁┗鍩庡競鍚嶇О */ residentCityName?: string; } interface UserResumeCertificateDetailOutput { + /** 绠�鍘嗚璇佽鎯匢d */ id?: string; + /** 鐢ㄦ埛绠�鍘咺d */ userResumeId?: string; + /** 璁よ瘉绫诲埆Id */ certificateTypeId?: string; + /** 璁よ瘉璇佷欢鍙烽粯璁よ韩浠借瘉 */ certificateNo?: string; + /** 璇佷欢寮�濮嬫椂闂� */ beginTime?: string; + /** 璇佷欢缁撴潫鏃堕棿 */ endTime?: string; + /** 鏄惁姘镐箙 */ isPermanent?: boolean; certificateUnit?: string; + /** 韬唤璇佹闈� */ certificateFrontImgUrl?: string; + /** 韬唤璇佸弽闈� */ certificateBackImgUrl?: string; } interface UserResumeCertificateListOutput { id?: string; + /** 璇佷功Id */ certificateTypeId?: string; + /** 璇佷功鍚嶇О */ certificateTypeName?: string; + /** 宸ヤ綔绠�鍘咺d */ userResumeId?: string; } interface UserResumeDetailInfoOutput { + /** 韬珮 */ height?: string; + /** 浣撻噸 */ weight?: string; + /** 涓汉鐢熸椿鐓� */ lifeCircleImgUrlList?: string[]; } interface UserResumeExpectationJobOutput { + /** 鏈熸湜宀椾綅鍒楄〃 */ jobIdList?: IdNameOutput[]; freeTime?: UserResumeFreeTimeEnum; jobSeekingStatus?: UserResumeJobSeekingStatusEnum; @@ -1883,13 +2066,18 @@ type UserResumeJobSeekingStatusEnum = 1 | 2 | 3; interface UserResumeWorkerRecordOutput { + /** 宸ヤ綔鏃堕棿 */ workTime?: string; + /** 宸ヤ綔鍦扮偣 */ workAddress?: string; + /** 宸ヤ綔鍚嶇О */ workName?: string; } interface UserResumeWorkExperienceOutput { + /** 宸ヤ綔骞撮檺 */ workingSeniority?: string; + /** 宸ヤ綔缁忛獙 */ workExperience?: string; } -- Gitblit v1.9.1