From 5af283eb935a68feab490560701d38899e19de0b Mon Sep 17 00:00:00 2001 From: wupengfei <834520024@qq.com> Date: 星期二, 12 八月 2025 17:42:02 +0800 Subject: [PATCH] feat: 接口 --- src/services/api/enterpriseEmployee.ts | 21 src/services/api/index.ts | 6 src/services/api/resource.ts | 15 .eslintrc-auto-import.json | 5 src/services/api/typings.d.ts | 933 +++++++++++++++++++++++++++++++++++- src/services/api/userResume.ts | 235 +++++++++ src/services/api/dictionary.ts | 15 auto-imports.d.ts | 12 src/constants/apiEnum.ts | 72 ++ src/services/api/taskUser.ts | 54 ++ src/services/api/auth.ts | 70 ++ src/services/api/user.ts | 15 12 files changed, 1,387 insertions(+), 66 deletions(-) diff --git a/.eslintrc-auto-import.json b/.eslintrc-auto-import.json index ce487ce..dbf12f6 100644 --- a/.eslintrc-auto-import.json +++ b/.eslintrc-auto-import.json @@ -22,6 +22,8 @@ "EnumMenuType": true, "EnumMenuVisitLevel": true, "EnumPagedListOrder": true, + "EnumPersonalFreeTime": true, + "EnumPersonalJobSeekingStatus": true, "EnumRealAccess": true, "EnumResourceController": true, "EnumResourceMethod": true, @@ -40,9 +42,12 @@ "EnumTaskSettlementStatus": true, "EnumTaskStatus": true, "EnumTaskStatusText": true, + "EnumTaskUserHireStatus": true, + "EnumTaskUserSignContractStatus": true, "EnumUserGender": true, "EnumUserGenderText": true, "EnumUserGenderTextForEdit": true, + "EnumUserRealMethod": true, "EnumUserStatus": true, "EnumUserType": true, "EnumUserTypeText": true, diff --git a/auto-imports.d.ts b/auto-imports.d.ts index 6e70521..9b96e0e 100644 --- a/auto-imports.d.ts +++ b/auto-imports.d.ts @@ -26,6 +26,8 @@ const EnumMenuType: typeof import('./src/constants/apiEnum')['EnumMenuType'] const EnumMenuVisitLevel: typeof import('./src/constants/apiEnum')['EnumMenuVisitLevel'] const EnumPagedListOrder: typeof import('./src/constants/apiEnum')['EnumPagedListOrder'] + const EnumPersonalFreeTime: typeof import('./src/constants/apiEnum')['EnumPersonalFreeTime'] + const EnumPersonalJobSeekingStatus: typeof import('./src/constants/apiEnum')['EnumPersonalJobSeekingStatus'] const EnumRealAccess: typeof import('./src/constants/apiEnum')['EnumRealAccess'] const EnumResourceController: typeof import('./src/constants/apiEnum')['EnumResourceController'] const EnumResourceMethod: typeof import('./src/constants/apiEnum')['EnumResourceMethod'] @@ -45,11 +47,14 @@ const EnumTaskSettlementStatus: typeof import('./src/constants/apiEnum')['EnumTaskSettlementStatus'] const EnumTaskStatus: typeof import('./src/constants/apiEnum')['EnumTaskStatus'] const EnumTaskStatusText: typeof import('./src/constants/task')['EnumTaskStatusText'] + const EnumTaskUserHireStatus: typeof import('./src/constants/apiEnum')['EnumTaskUserHireStatus'] + const EnumTaskUserSignContractStatus: typeof import('./src/constants/apiEnum')['EnumTaskUserSignContractStatus'] const EnumUserGender: typeof import('./src/constants/apiEnum')['EnumUserGender'] const EnumUserGenderText: typeof import('./src/constants/task')['EnumUserGenderText'] const EnumUserGenderTextForEdit: typeof import('./src/constants/task')['EnumUserGenderTextForEdit'] const EnumUserGenderWithAllText: typeof import('./src/constants/task')['EnumUserGenderWithAllText'] const EnumUserInfoStatus: typeof import('./src/constants/apiEnum')['EnumUserInfoStatus'] + const EnumUserRealMethod: typeof import('./src/constants/apiEnum')['EnumUserRealMethod'] const EnumUserStatus: typeof import('./src/constants/apiEnum')['EnumUserStatus'] const EnumUserType: typeof import('./src/constants/apiEnum')['EnumUserType'] const EnumUserTypeText: typeof import('./src/constants/apiEnumText')['EnumUserTypeText'] @@ -191,7 +196,7 @@ export type { Component, Slot, Slots, ComponentPublicInstance, ComputedRef, DirectiveBinding, ExtractDefaultPropTypes, ExtractPropTypes, ExtractPublicPropTypes, InjectionKey, PropType, Ref, MaybeRef, MaybeRefOrGetter, VNode, WritableComputedRef } from 'vue' import('vue') // @ts-ignore - export type { EnumBillingMethod, EnumClientType, EnumMenuType, EnumMenuVisitLevel, EnumPagedListOrder, EnumRealAccess, EnumResourceController, EnumResourceMethod, EnumRoleWebApiDataPower, EnumSettlementCycle, EnumSmsAccess, EnumTaskCheckReceiveStatus, EnumTaskRecommendStatus, EnumTaskReleaseStatus, EnumTaskSettlementStatus, EnumTaskStatus, EnumUserGender, EnumUserStatus, EnumUserType, EnumBillingMethod, EnumClientType, EnumMenuType, EnumMenuVisitLevel, EnumPagedListOrder, EnumRealAccess, EnumResourceController, EnumResourceMethod, EnumRoleWebApiDataPower, EnumSettlementCycle, EnumSmsAccess, EnumTaskCheckReceiveStatus, EnumTaskRecommendStatus, EnumTaskReleaseStatus, EnumTaskSettlementStatus, EnumTaskStatus, EnumUserGender, EnumUserStatus, EnumUserType } from './src/constants/apiEnum' + export type { EnumBillingMethod, EnumClientType, EnumMenuType, EnumMenuVisitLevel, EnumPagedListOrder, EnumPersonalFreeTime, EnumPersonalJobSeekingStatus, EnumRealAccess, EnumResourceController, EnumResourceMethod, EnumRoleWebApiDataPower, EnumSettlementCycle, EnumSmsAccess, EnumTaskCheckReceiveStatus, EnumTaskRecommendStatus, EnumTaskReleaseStatus, EnumTaskSettlementStatus, EnumTaskStatus, EnumTaskUserHireStatus, EnumTaskUserSignContractStatus, EnumUserGender, EnumUserRealMethod, EnumUserStatus, EnumUserType, EnumBillingMethod, EnumClientType, EnumMenuType, EnumMenuVisitLevel, EnumPagedListOrder, EnumPersonalFreeTime, EnumPersonalJobSeekingStatus, EnumRealAccess, EnumResourceController, EnumResourceMethod, EnumRoleWebApiDataPower, EnumSettlementCycle, EnumSmsAccess, EnumTaskCheckReceiveStatus, EnumTaskRecommendStatus, EnumTaskReleaseStatus, EnumTaskSettlementStatus, EnumTaskStatus, EnumTaskUserHireStatus, EnumTaskUserSignContractStatus, EnumUserGender, EnumUserRealMethod, EnumUserStatus, EnumUserType } from './src/constants/apiEnum' import('./src/constants/apiEnum') // @ts-ignore export type { CategoryCode, IdentityCodeEnum, EducationCodeEnum, CertificateTypeCodeEnum, WelfareCodeEnum } from './src/constants/dic' @@ -239,6 +244,8 @@ readonly EnumMenuType: UnwrapRef<typeof import('./src/constants/apiEnum')['EnumMenuType']> readonly EnumMenuVisitLevel: UnwrapRef<typeof import('./src/constants/apiEnum')['EnumMenuVisitLevel']> readonly EnumPagedListOrder: UnwrapRef<typeof import('./src/constants/apiEnum')['EnumPagedListOrder']> + readonly EnumPersonalFreeTime: UnwrapRef<typeof import('./src/constants/apiEnum')['EnumPersonalFreeTime']> + readonly EnumPersonalJobSeekingStatus: UnwrapRef<typeof import('./src/constants/apiEnum')['EnumPersonalJobSeekingStatus']> readonly EnumRealAccess: UnwrapRef<typeof import('./src/constants/apiEnum')['EnumRealAccess']> readonly EnumResourceController: UnwrapRef<typeof import('./src/constants/apiEnum')['EnumResourceController']> readonly EnumResourceMethod: UnwrapRef<typeof import('./src/constants/apiEnum')['EnumResourceMethod']> @@ -257,9 +264,12 @@ readonly EnumTaskSettlementStatus: UnwrapRef<typeof import('./src/constants/apiEnum')['EnumTaskSettlementStatus']> readonly EnumTaskStatus: UnwrapRef<typeof import('./src/constants/apiEnum')['EnumTaskStatus']> readonly EnumTaskStatusText: UnwrapRef<typeof import('./src/constants/task')['EnumTaskStatusText']> + readonly EnumTaskUserHireStatus: UnwrapRef<typeof import('./src/constants/apiEnum')['EnumTaskUserHireStatus']> + readonly EnumTaskUserSignContractStatus: UnwrapRef<typeof import('./src/constants/apiEnum')['EnumTaskUserSignContractStatus']> readonly EnumUserGender: UnwrapRef<typeof import('./src/constants/apiEnum')['EnumUserGender']> readonly EnumUserGenderText: UnwrapRef<typeof import('./src/constants/task')['EnumUserGenderText']> readonly EnumUserGenderTextForEdit: UnwrapRef<typeof import('./src/constants/task')['EnumUserGenderTextForEdit']> + readonly EnumUserRealMethod: UnwrapRef<typeof import('./src/constants/apiEnum')['EnumUserRealMethod']> readonly EnumUserStatus: UnwrapRef<typeof import('./src/constants/apiEnum')['EnumUserStatus']> readonly EnumUserType: UnwrapRef<typeof import('./src/constants/apiEnum')['EnumUserType']> readonly EnumUserTypeText: UnwrapRef<typeof import('./src/constants/apiEnumText')['EnumUserTypeText']> diff --git a/src/constants/apiEnum.ts b/src/constants/apiEnum.ts index f260f44..aec9be0 100644 --- a/src/constants/apiEnum.ts +++ b/src/constants/apiEnum.ts @@ -53,6 +53,30 @@ Desc = 1, } +/** 绌洪棽鏃堕棿 */ +export enum EnumPersonalFreeTime { + /**涓嶉檺 */ + NoLimit = 10, + /**瀵掓殤鍋� */ + WinterSummerVacations = 20, + /**鑺傚亣鏃� */ + FestivalAndHoliday = 30, + /**鍛ㄥ叚鏃� */ + Weekend = 40, + /**宸ヤ綔鏃� */ + Weekday = 50, +} + +/** 姹傝亴鐘舵�� */ +export enum EnumPersonalJobSeekingStatus { + /**绉瀬鎵句换鍔� */ + Active = 10, + /**闅忎究鐪嬬湅 */ + Whatever = 20, + /**鏆傛椂涓嶆壘浠诲姟 */ + Not = 30, +} + /** 瀹炲悕閫氶亾 */ export enum EnumRealAccess { /**涓婁笂绛� */ @@ -67,18 +91,24 @@ Dictionary = 0, /**浠诲姟 */ Task = 1, + /**浠诲姟闆囦剑 */ + TaskUser = 2, /**鐢ㄦ埛璁よ瘉 */ - Auth = 2, + Auth = 3, /**鐢ㄦ埛鑿滃崟 */ - Menu = 3, + Menu = 4, /**鐢ㄦ埛璧勬簮 */ - Resource = 4, + Resource = 5, /**鐢ㄦ埛瑙掕壊 */ - Role = 5, + Role = 6, /**鐢ㄦ埛淇℃伅 */ - User = 6, + User = 7, + /**鐢ㄦ埛绠�鍘� */ + UserResume = 8, /**浼佷笟淇℃伅 */ - Enterprise = 7, + Enterprise = 9, + /**鐏靛伐淇℃伅 */ + EnterpriseEmployee = 10, } /** 璧勬簮璇锋眰鏂瑰紡 */ @@ -165,6 +195,26 @@ Complete = 20, } +/** 浠诲姟褰曠敤鐘舵�� */ +export enum EnumTaskUserHireStatus { + /**寰呭綍鐢� */ + Wait = 10, + /**宸插綍鐢� */ + Pass = 20, + /**宸茶阿缁� */ + Refuse = 30, +} + +/** 浠诲姟鐢ㄦ埛绛剧害鐘舵�� */ +export enum EnumTaskUserSignContractStatus { + /**寰呯绾� */ + Wait = 10, + /**宸茬绾� */ + Pass = 20, + /**宸叉嫆绛� */ + Refuse = 30, +} + /** 鐢ㄦ埛鎬у埆 */ export enum EnumUserGender { /**鐢� */ @@ -173,6 +223,16 @@ Female = 20, } +/** 鐢ㄦ埛瀹炲悕鏂瑰紡 */ +export enum EnumUserRealMethod { + /**涓汉鎵嬫満鍙蜂笁瑕佺礌 */ + Identity3 = 10, + /**閾惰鍗″瑕佺礌 */ + Identity4 = 20, + /**鍒疯劯璁よ瘉 */ + Face = 30, +} + /** 鐢ㄦ埛淇℃伅鐘舵�� */ export enum EnumUserStatus { /**姝e父 */ diff --git a/src/services/api/auth.ts b/src/services/api/auth.ts index 6c5340a..331a423 100644 --- a/src/services/api/auth.ts +++ b/src/services/api/auth.ts @@ -2,12 +2,27 @@ // @ts-ignore import { request } from '@/utils/request'; -/** 缁戝畾鎵嬫満鍙� POST /api/user/auth/bindPhoneNumber */ -export async function bindPhoneNumber( - body: API.BindPhoneNumberCommand, +/** 缁戝畾寰俊灏忕▼搴忕敤鎴蜂俊鎭� POST /api/user/auth/bindWxmpUserInfo */ +export async function bindWxmpUserInfo( + body: API.BindWxmpUserInfoCommand, options?: API.RequestConfig ) { - return request<boolean>('/api/user/auth/bindPhoneNumber', { + return request<API.LoginCommandCallback>('/api/user/auth/bindWxmpUserInfo', { + method: 'POST', + headers: { + 'Content-Type': 'application/json-patch+json', + }, + data: body, + ...(options || {}), + }); +} + +/** 鏇存崲鎵嬫満鍙� POST /api/user/auth/changePhoneNumber */ +export async function changePhoneNumber( + body: API.ChangePhoneNumberCommand, + options?: API.RequestConfig +) { + return request<boolean>('/api/user/auth/changePhoneNumber', { method: 'POST', headers: { 'Content-Type': 'application/json-patch+json', @@ -66,9 +81,41 @@ }); } +/** 鏌ヨ涓汉鐢ㄦ埛鐧诲綍淇℃伅 GET /api/user/auth/getPersonalLoginInfo */ +export async function getPersonalLoginInfo( + // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄) + params: API.APIgetPersonalLoginInfoParams, + options?: API.RequestConfig +) { + return request<API.GetPersonalLoginInfoQueryResult>('/api/user/auth/getPersonalLoginInfo', { + method: 'GET', + params: { + ...params, + request: undefined, + ...params['request'], + }, + ...(options || {}), + }); +} + /** 瀵嗙爜鐧诲綍 POST /api/user/auth/passwordLogin */ export async function passwordLogin(body: API.PasswordLoginCommand, options?: API.RequestConfig) { return request<API.LoginCommandCallback>('/api/user/auth/passwordLogin', { + method: 'POST', + headers: { + 'Content-Type': 'application/json-patch+json', + }, + data: body, + ...(options || {}), + }); +} + +/** 娉ㄥ唽涓汉璐﹀彿 POST /api/user/auth/registerPersonalUser */ +export async function registerPersonalUser( + body: API.RegisterPersonalUserCommand, + options?: API.RequestConfig +) { + return request<boolean>('/api/user/auth/registerPersonalUser', { method: 'POST', headers: { 'Content-Type': 'application/json-patch+json', @@ -105,6 +152,21 @@ }); } +/** 鍙戦�佹洿鎹㈡墜鏈哄彿鐭俊 POST /api/user/auth/updatePhoneNumberVerifyCode */ +export async function updatePhoneNumberVerifyCode( + body: API.UpdatePhoneNumberVerifyCodeCommand, + options?: API.RequestConfig +) { + return request<string>('/api/user/auth/updatePhoneNumberVerifyCode', { + method: 'POST', + headers: { + 'Content-Type': 'application/json-patch+json', + }, + data: body, + ...(options || {}), + }); +} + /** 寰俊灏忕▼搴忕櫥褰� POST /api/user/auth/wxmpLogin */ export async function wxmpLogin(body: API.WxmpLoginCommand, options?: API.RequestConfig) { return request<API.LoginCommandCallback>('/api/user/auth/wxmpLogin', { diff --git a/src/services/api/dictionary.ts b/src/services/api/dictionary.ts index 4c74b85..eacd853 100644 --- a/src/services/api/dictionary.ts +++ b/src/services/api/dictionary.ts @@ -17,6 +17,21 @@ }); } +/** 鏌ヨ鍦板尯閫夋嫨鍣� GET /api/flexjob/dictionary/getAreaSelect */ +export async function getAreaSelect( + // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄) + params: API.APIgetAreaSelectParams, + options?: API.RequestConfig +) { + return request<API.GetAreaSelectQueryResultOption[]>('/api/flexjob/dictionary/getAreaSelect', { + method: 'GET', + params: { + ...params, + }, + ...(options || {}), + }); +} + /** 鑾峰彇鏁版嵁瀛楀吀绫诲埆鍒嗛〉鍒楄〃鏁版嵁 POST /api/flexjob/dictionary/getDictionaryCategories */ export async function getDictionaryCategories( body: API.GetDictionaryCategoriesQuery, diff --git a/src/services/api/enterpriseEmployee.ts b/src/services/api/enterpriseEmployee.ts new file mode 100644 index 0000000..8da2480 --- /dev/null +++ b/src/services/api/enterpriseEmployee.ts @@ -0,0 +1,21 @@ +/* eslint-disable */ +// @ts-ignore +import { request } from '@/utils/request'; + +/** 鏌ヨ鐏靛伐鍒嗛〉鍒楄〃鏁版嵁 POST /api/user/enterpriseEmployee/getEnterpriseEmployees */ +export async function getEnterpriseEmployees( + body: API.GetEnterpriseEmployeesQuery, + options?: API.RequestConfig +) { + return request<API.GetEnterpriseEmployeesQueryResult>( + '/api/user/enterpriseEmployee/getEnterpriseEmployees', + { + method: 'POST', + headers: { + 'Content-Type': 'application/json-patch+json', + }, + data: body, + ...(options || {}), + } + ); +} diff --git a/src/services/api/index.ts b/src/services/api/index.ts index 3671cc8..042f909 100644 --- a/src/services/api/index.ts +++ b/src/services/api/index.ts @@ -2,19 +2,25 @@ /* eslint-disable */ // API 鏇存柊鏃堕棿锛� // API 鍞竴鏍囪瘑锛� +import * as userResume from './userResume'; import * as resource from './resource'; +import * as enterpriseEmployee from './enterpriseEmployee'; import * as user from './user'; import * as dictionary from './dictionary'; import * as auth from './auth'; +import * as taskUser from './taskUser'; import * as task from './task'; import * as enterprise from './enterprise'; import * as role from './role'; import * as menu from './menu'; export default { + userResume, resource, + enterpriseEmployee, user, dictionary, auth, + taskUser, task, enterprise, role, diff --git a/src/services/api/resource.ts b/src/services/api/resource.ts index dc3ef94..5e25fe0 100644 --- a/src/services/api/resource.ts +++ b/src/services/api/resource.ts @@ -31,3 +31,18 @@ ...(options || {}), }); } + +/** 淇濆瓨浠诲姟璋冨害-浣滀笟 POST /api/user/resource/saveScheduleJobDetail */ +export async function saveScheduleJobDetail( + body: API.SaveScheduleJobDetailCommand, + options?: API.RequestConfig +) { + return request<boolean>('/api/user/resource/saveScheduleJobDetail', { + method: 'POST', + headers: { + 'Content-Type': 'application/json-patch+json', + }, + data: body, + ...(options || {}), + }); +} diff --git a/src/services/api/taskUser.ts b/src/services/api/taskUser.ts new file mode 100644 index 0000000..0b1d1b5 --- /dev/null +++ b/src/services/api/taskUser.ts @@ -0,0 +1,54 @@ +/* eslint-disable */ +// @ts-ignore +import { request } from '@/utils/request'; + +/** 鎶ュ悕浠诲姟 POST /api/flexjob/taskUser/applyTask */ +export async function applyTask(body: API.ApplyTaskCommand, options?: API.RequestConfig) { + return request<number>('/api/flexjob/taskUser/applyTask', { + method: 'POST', + headers: { + 'Content-Type': 'application/json-patch+json', + }, + data: body, + ...(options || {}), + }); +} + +/** 鏀惰棌浠诲姟 POST /api/flexjob/taskUser/collectTask */ +export async function collectTask(body: API.CollectTaskCommand, options?: API.RequestConfig) { + return request<number>('/api/flexjob/taskUser/collectTask', { + method: 'POST', + headers: { + 'Content-Type': 'application/json-patch+json', + }, + data: body, + ...(options || {}), + }); +} + +/** 鏌ヨ搴旇仒鎶ュ悕鍒嗛〉鍒楄〃淇℃伅 POST /api/flexjob/taskUser/getTaskUsers */ +export async function getTaskUsers(body: API.GetTaskUsersQuery, options?: API.RequestConfig) { + return request<API.GetTaskUsersQueryResult>('/api/flexjob/taskUser/getTaskUsers', { + method: 'POST', + headers: { + 'Content-Type': 'application/json-patch+json', + }, + data: body, + ...(options || {}), + }); +} + +/** 浠诲姟褰曠敤 PUT /api/flexjob/taskUser/setTaskUserHire */ +export async function setTaskUserHire( + body: API.SetTaskUserHireCommand, + options?: API.RequestConfig +) { + return request<string>('/api/flexjob/taskUser/setTaskUserHire', { + method: 'PUT', + headers: { + 'Content-Type': 'application/json-patch+json', + }, + data: body, + ...(options || {}), + }); +} diff --git a/src/services/api/typings.d.ts b/src/services/api/typings.d.ts index 17bba27..fe6ab58 100644 --- a/src/services/api/typings.d.ts +++ b/src/services/api/typings.d.ts @@ -8,6 +8,11 @@ request?: GetAliyunOSSAcsQuery; } + interface APIgetAreaSelectParams { + /** 鏈�澶ф繁搴� */ + maxDeep?: number; + } + interface APIgetCurrentLogierMenuParams { /** Id */ id?: string; @@ -36,6 +41,8 @@ all?: boolean; /** 鏈�澶ф繁搴� */ maxDeep?: number; + /** 鎼哄甫涓嬬骇 */ + withChildren?: boolean; } interface APIgetEnterpriseElectronSignSettingParams { @@ -67,6 +74,11 @@ clientType?: EnumClientType; /** 瑙掕壊Id */ roleId?: string; + } + + interface APIgetPersonalLoginInfoParams { + /** 鏌ヨ涓汉鐢ㄦ埛鐧诲綍淇℃伅 */ + request?: GetPersonalLoginInfoQuery; } interface APIgetResourceFieldsParams { @@ -105,16 +117,69 @@ clientType?: EnumClientType; } + interface APIgetUserResumeCredentialParams { + /** Id */ + id?: string; + } + + interface APIgetUserResumeCredentialsParams { + /** 鏌ヨ鐢ㄦ埛绠�鍘�-璧勬牸璇佷功鍒楄〃 */ + request?: GetUserResumeCredentialsQuery; + } + + interface APIgetUserResumeDetailParams { + /** 鏌ヨ鐢ㄦ埛绠�鍘�-璇︾粏淇℃伅 */ + request?: GetUserResumeDetailQuery; + } + + interface APIgetUserResumeJobSeekingParams { + /** 鏌ヨ鐢ㄦ埛绠�鍘�-姹傝亴鎰忓悜 */ + request?: GetUserResumeJobSeekingQuery; + } + interface APIgetUserResumeParams { /** 鐢ㄦ埛Id */ userId?: string; } - interface BindPhoneNumberCommand { + interface APIgetUserResumePersonalParams { + /** 鏌ヨ鐢ㄦ埛绠�鍘�-涓汉淇℃伅 */ + request?: GetUserResumePersonalQuery; + } + + interface APIgetUserResumeWorkExperienceParams { + /** 鏌ヨ鐢ㄦ埛绠�鍘�-宸ヤ綔缁忛獙 */ + request?: GetUserResumeWorkExperienceQuery; + } + + interface ApplyTaskCommand { + /** 浠诲姟Id */ + ids?: string[]; + } + + interface BindWxmpUserInfoCommand { + /** 璁块棶浠ょ墝 */ + accessToken: string; + /** 鍖呮嫭鏁忔劅鏁版嵁鍦ㄥ唴鐨勫畬鏁寸敤鎴蜂俊鎭殑鍔犲瘑鏁版嵁 */ + encryptedData: string; + /** 鍔犲瘑绠楁硶鐨勫垵濮嬪悜閲� */ + iv: string; + /** 鑾峰彇浼氳瘽瀵嗛挜 */ + sessionKey: string; + } + + interface ChangePhoneNumberCommand { /** 鎵嬫満鍙风爜 */ - phoneNumber?: string; + phoneNumber: string; /** 楠岃瘉鐮� */ - verifyCode?: string; + verifyCode: string; + } + + interface CollectTaskCommand { + /** 浠诲姟Id */ + ids?: string[]; + /** 鏄惁鏀惰棌 */ + isCollect?: boolean; } interface DeleteDictionaryCategoryCommand { @@ -130,6 +195,10 @@ } interface DeleteTaskInfoCommand { + ids: string[]; + } + + interface DeleteUserResumeCredentialCommand { ids: string[]; } @@ -180,6 +249,28 @@ Desc = 1, } + enum EnumPersonalFreeTime { + /**涓嶉檺 */ + NoLimit = 10, + /**瀵掓殤鍋� */ + WinterSummerVacations = 20, + /**鑺傚亣鏃� */ + FestivalAndHoliday = 30, + /**鍛ㄥ叚鏃� */ + Weekend = 40, + /**宸ヤ綔鏃� */ + Weekday = 50, + } + + enum EnumPersonalJobSeekingStatus { + /**绉瀬鎵句换鍔� */ + Active = 10, + /**闅忎究鐪嬬湅 */ + Whatever = 20, + /**鏆傛椂涓嶆壘浠诲姟 */ + Not = 30, + } + enum EnumRealAccess { /**涓婁笂绛� */ BestSign = 10, @@ -192,18 +283,24 @@ Dictionary = 0, /**浠诲姟 */ Task = 1, + /**浠诲姟闆囦剑 */ + TaskUser = 2, /**鐢ㄦ埛璁よ瘉 */ - Auth = 2, + Auth = 3, /**鐢ㄦ埛鑿滃崟 */ - Menu = 3, + Menu = 4, /**鐢ㄦ埛璧勬簮 */ - Resource = 4, + Resource = 5, /**鐢ㄦ埛瑙掕壊 */ - Role = 5, + Role = 6, /**鐢ㄦ埛淇℃伅 */ - User = 6, + User = 7, + /**鐢ㄦ埛绠�鍘� */ + UserResume = 8, /**浼佷笟淇℃伅 */ - Enterprise = 7, + Enterprise = 9, + /**鐏靛伐淇℃伅 */ + EnterpriseEmployee = 10, } enum EnumResourceMethod { @@ -281,11 +378,38 @@ Complete = 20, } + enum EnumTaskUserHireStatus { + /**寰呭綍鐢� */ + Wait = 10, + /**宸插綍鐢� */ + Pass = 20, + /**宸茶阿缁� */ + Refuse = 30, + } + + enum EnumTaskUserSignContractStatus { + /**寰呯绾� */ + Wait = 10, + /**宸茬绾� */ + Pass = 20, + /**宸叉嫆绛� */ + Refuse = 30, + } + enum EnumUserGender { /**鐢� */ Male = 10, /**濂� */ Female = 20, + } + + enum EnumUserRealMethod { + /**涓汉鎵嬫満鍙蜂笁瑕佺礌 */ + Identity3 = 10, + /**閾惰鍗″瑕佺礌 */ + Identity4 = 20, + /**鍒疯劯璁よ瘉 */ + Face = 30, } enum EnumUserStatus { @@ -359,6 +483,24 @@ timestamp?: number; } + interface FriendlyResultGetEnterpriseEmployeesQueryResult { + /** 璺熻釜Id */ + traceId?: string; + /** 鐘舵�佺爜 */ + code?: number; + /** 閿欒鐮� */ + errorCode?: string; + data?: GetEnterpriseEmployeesQueryResult; + /** 鎵ц鎴愬姛 */ + success?: boolean; + /** 閿欒淇℃伅 */ + msg?: any; + /** 闄勫姞鏁版嵁 */ + extras?: any; + /** 鏃堕棿鎴� */ + timestamp?: number; + } + interface FriendlyResultGetEnterpriseQueryResult { /** 璺熻釜Id */ traceId?: string; @@ -403,6 +545,24 @@ /** 閿欒鐮� */ errorCode?: string; data?: GetMenuQueryResult; + /** 鎵ц鎴愬姛 */ + success?: boolean; + /** 閿欒淇℃伅 */ + msg?: any; + /** 闄勫姞鏁版嵁 */ + extras?: any; + /** 鏃堕棿鎴� */ + timestamp?: number; + } + + interface FriendlyResultGetPersonalLoginInfoQueryResult { + /** 璺熻釜Id */ + traceId?: string; + /** 鐘舵�佺爜 */ + code?: number; + /** 閿欒鐮� */ + errorCode?: string; + data?: GetPersonalLoginInfoQueryResult; /** 鎵ц鎴愬姛 */ success?: boolean; /** 閿欒淇℃伅 */ @@ -467,6 +627,96 @@ timestamp?: number; } + interface FriendlyResultGetTaskUsersQueryResult { + /** 璺熻釜Id */ + traceId?: string; + /** 鐘舵�佺爜 */ + code?: number; + /** 閿欒鐮� */ + errorCode?: string; + data?: GetTaskUsersQueryResult; + /** 鎵ц鎴愬姛 */ + success?: boolean; + /** 閿欒淇℃伅 */ + msg?: any; + /** 闄勫姞鏁版嵁 */ + extras?: any; + /** 鏃堕棿鎴� */ + timestamp?: number; + } + + interface FriendlyResultGetUserResumeCredentialQueryResult { + /** 璺熻釜Id */ + traceId?: string; + /** 鐘舵�佺爜 */ + code?: number; + /** 閿欒鐮� */ + errorCode?: string; + data?: GetUserResumeCredentialQueryResult; + /** 鎵ц鎴愬姛 */ + success?: boolean; + /** 閿欒淇℃伅 */ + msg?: any; + /** 闄勫姞鏁版嵁 */ + extras?: any; + /** 鏃堕棿鎴� */ + timestamp?: number; + } + + interface FriendlyResultGetUserResumeDetailQueryResult { + /** 璺熻釜Id */ + traceId?: string; + /** 鐘舵�佺爜 */ + code?: number; + /** 閿欒鐮� */ + errorCode?: string; + data?: GetUserResumeDetailQueryResult; + /** 鎵ц鎴愬姛 */ + success?: boolean; + /** 閿欒淇℃伅 */ + msg?: any; + /** 闄勫姞鏁版嵁 */ + extras?: any; + /** 鏃堕棿鎴� */ + timestamp?: number; + } + + interface FriendlyResultGetUserResumeJobSeekingQueryResult { + /** 璺熻釜Id */ + traceId?: string; + /** 鐘舵�佺爜 */ + code?: number; + /** 閿欒鐮� */ + errorCode?: string; + data?: GetUserResumeJobSeekingQueryResult; + /** 鎵ц鎴愬姛 */ + success?: boolean; + /** 閿欒淇℃伅 */ + msg?: any; + /** 闄勫姞鏁版嵁 */ + extras?: any; + /** 鏃堕棿鎴� */ + timestamp?: number; + } + + interface FriendlyResultGetUserResumePersonalQueryResult { + /** 璺熻釜Id */ + traceId?: string; + /** 鐘舵�佺爜 */ + code?: number; + /** 閿欒鐮� */ + errorCode?: string; + data?: GetUserResumePersonalQueryResult; + /** 鎵ц鎴愬姛 */ + success?: boolean; + /** 閿欒淇℃伅 */ + msg?: any; + /** 闄勫姞鏁版嵁 */ + extras?: any; + /** 鏃堕棿鎴� */ + timestamp?: number; + } + interface FriendlyResultGetUserResumeQueryResult { /** 璺熻釜Id */ traceId?: string; @@ -475,6 +725,42 @@ /** 閿欒鐮� */ errorCode?: string; data?: GetUserResumeQueryResult; + /** 鎵ц鎴愬姛 */ + success?: boolean; + /** 閿欒淇℃伅 */ + msg?: any; + /** 闄勫姞鏁版嵁 */ + extras?: any; + /** 鏃堕棿鎴� */ + timestamp?: number; + } + + interface FriendlyResultGetUserResumesQueryResult { + /** 璺熻釜Id */ + traceId?: string; + /** 鐘舵�佺爜 */ + code?: number; + /** 閿欒鐮� */ + errorCode?: string; + data?: GetUserResumesQueryResult; + /** 鎵ц鎴愬姛 */ + success?: boolean; + /** 閿欒淇℃伅 */ + msg?: any; + /** 闄勫姞鏁版嵁 */ + extras?: any; + /** 鏃堕棿鎴� */ + timestamp?: number; + } + + interface FriendlyResultGetUserResumeWorkExperienceQueryResult { + /** 璺熻釜Id */ + traceId?: string; + /** 鐘舵�佺爜 */ + code?: number; + /** 閿欒鐮� */ + errorCode?: string; + data?: GetUserResumeWorkExperienceQueryResult; /** 鎵ц鎴愬姛 */ success?: boolean; /** 閿欒淇℃伅 */ @@ -513,6 +799,25 @@ errorCode?: string; /** 鏁版嵁 */ data?: number; + /** 鎵ц鎴愬姛 */ + success?: boolean; + /** 閿欒淇℃伅 */ + msg?: any; + /** 闄勫姞鏁版嵁 */ + extras?: any; + /** 鏃堕棿鎴� */ + timestamp?: number; + } + + interface FriendlyResultListGetAreaSelectQueryResultOption { + /** 璺熻釜Id */ + traceId?: string; + /** 鐘舵�佺爜 */ + code?: number; + /** 閿欒鐮� */ + errorCode?: string; + /** 鏁版嵁 */ + data?: GetAreaSelectQueryResultOption[]; /** 鎵ц鎴愬姛 */ success?: boolean; /** 閿欒淇℃伅 */ @@ -608,6 +913,25 @@ errorCode?: string; /** 鏁版嵁 */ data?: GetUserInfoRolesQueryResultItem[]; + /** 鎵ц鎴愬姛 */ + success?: boolean; + /** 閿欒淇℃伅 */ + msg?: any; + /** 闄勫姞鏁版嵁 */ + extras?: any; + /** 鏃堕棿鎴� */ + timestamp?: number; + } + + interface FriendlyResultListGetUserResumeCredentialsQueryResultItem { + /** 璺熻釜Id */ + traceId?: string; + /** 鐘舵�佺爜 */ + code?: number; + /** 閿欒鐮� */ + errorCode?: string; + /** 鏁版嵁 */ + data?: GetUserResumeCredentialsQueryResultItem[]; /** 鎵ц鎴愬姛 */ success?: boolean; /** 閿欒淇℃伅 */ @@ -774,12 +1098,31 @@ requestId?: string; } + interface GetAreaSelectQueryResultOption { + /** Id */ + areaCode?: string; + /** 鍦板尯鍚嶇О */ + areaName?: string; + /** 瀛愮骇 */ + children?: GetAreaSelectQueryResultOption[]; + /** Id */ + id?: string; + /** 涓婄骇缂栧彿 */ + parentCode?: string; + /** 灞傜骇 */ + leyer?: number; + /** 鎺掑簭 */ + sort?: number; + /** 蹇�熸煡璇� */ + quickQuery?: string; + } + type GetCurrentLogierMenusQuery = Record<string, any>; interface GetDictionaryCategoriesQuery { - pageModel?: PagedListQueryPageModel; /** 鍏抽敭瀛� */ keywords?: string; + pageModel?: PagedListQueryPageModel; } interface GetDictionaryCategoriesQueryResultItem { @@ -797,8 +1140,51 @@ type GetDictionaryCategorySelectQuery = Record<string, any>; + interface GetDictionaryCategorySelectQueryOption { + /** Id */ + id?: string; + /** 缂栧彿 */ + code?: string; + /** 鍚嶇О */ + name?: string; + /** 瀛楁鍚嶏紙閫楀彿闅斿紑锛� */ + fieldNames?: string; + /** 澶囨敞 */ + remark?: string; + } + + interface GetDictionaryDataSelectQueryResultOption { + /** Id */ + id?: string; + /** 涓婄骇Id */ + parentId?: string; + /** 涓婄骇缂栧彿 */ + parentCode?: string; + /** 瀛愮骇 */ + children?: SelectOptionStringGetDictionaryDataSelectQueryResultOption[]; + /** 瀛楀吀璺緞 */ + path?: string; + /** 娣卞害 */ + deep?: number; + /** 鎺掑簭 */ + sort?: number; + /** 缂栧彿 */ + code?: string; + /** 鏄剧ず鍐呭 */ + content: string; + /** 瀛楁1 */ + field1?: string; + /** 瀛楁2 */ + field2?: string; + /** 瀛楁3 */ + field3?: string; + /** 瀛楁4 */ + field4?: string; + /** 瀛楁5 */ + field5?: string; + } + interface GetDictionaryDatasQuery { - pageModel?: PagedListQueryPageModel; /** 绫诲埆Id锛圛d/缂栧彿浜岄�変竴锛� */ categoryId?: string; /** 绫诲埆缂栧彿锛圛d/缂栧彿浜岄�変竴锛� */ @@ -807,6 +1193,7 @@ parentId?: string; /** 鍏抽敭瀛� */ keywords?: string; + pageModel?: PagedListQueryPageModel; } interface GetDictionaryDatasQueryResultItem { @@ -850,6 +1237,58 @@ signCost?: number; /** 涓�鍙d环 */ mergeSignCost?: number; + } + + interface GetEnterpriseEmployeesQuery { + /** 鍏抽敭瀛楋紙濮撳悕/鎵嬫満/韬唤璇佸彿锛� */ + keywords?: string; + /** 鐧昏鏃堕棿-鏈�鏃╂椂闂� */ + createdTimeStart?: string; + /** 鐧昏鏃堕棿-鏈�鏅氭椂闂� */ + createdTimeEnd?: string; + /** 绛剧害鏃堕棿-鏈�鏃╂椂闂� */ + signContractTimeStart?: string; + /** 绛剧害鏃堕棿-鏈�鏅氭椂闂� */ + signContractTimeEnd?: string; + hireStatus?: EnumTaskUserHireStatus; + /** 鏄惁瀹炲悕 */ + isReal?: boolean; + userSignContractStatus?: EnumTaskUserSignContractStatus; + enterpriseSignContractStatus?: EnumTaskUserSignContractStatus; + pageModel?: PagedListQueryPageModel; + } + + interface GetEnterpriseEmployeesQueryResult { + pageModel?: PagedListQueryResultPageModel; + /** 鏁版嵁 */ + data?: GetEnterpriseEmployeesQueryResultItem[]; + } + + interface GetEnterpriseEmployeesQueryResultItem { + /** 鐏靛伐Id */ + id?: string; + /** 濮撳悕 */ + name?: string; + /** 韬唤璇佸彿 */ + identity?: string; + gender?: EnumUserGender; + /** 骞撮緞 */ + age?: number; + /** 鎵嬫満鍙� */ + contactPhoneNumber?: string; + hireStatus?: EnumTaskUserHireStatus; + /** 瀹炲悕鐘舵�� */ + userIsReal?: boolean; + userSignContractStatus?: EnumTaskUserSignContractStatus; + /** 褰曠敤鏃堕棿 */ + hireTime?: string; + /** 瀹炲悕鏃堕棿 */ + userRealTime?: string; + /** 绛剧害鏃堕棿 */ + userSignContractTime?: string; + enterpriseSignContractStatus?: EnumTaskUserSignContractStatus; + /** 浼佷笟绛剧害鏃堕棿 */ + enterpriseSignContractTime?: string; } interface GetEnterpriseQueryResult { @@ -898,11 +1337,11 @@ } interface GetEnterprisesQuery { - pageModel?: PagedListQueryPageModel; /** 鍏抽敭瀛� */ keywords?: string; /** 鏄惁宸查厤缃� */ isConfigured?: boolean; + pageModel?: PagedListQueryPageModel; } interface GetEnterprisesQueryResultItem { @@ -1047,9 +1486,9 @@ } interface GetOperationUserInfosQuery { - pageModel?: PagedListQueryPageModel; /** 鍏抽敭瀛� */ keywords?: string; + pageModel?: PagedListQueryPageModel; } interface GetOperationUserInfosQueryResultItem { @@ -1073,6 +1512,24 @@ id?: string; /** 鍚嶇О */ name?: string; + } + + type GetPersonalLoginInfoQuery = Record<string, any>; + + interface GetPersonalLoginInfoQueryResult { + /** Id */ + id?: string; + /** 濮撳悕 */ + name?: string; + /** 鏄惁瀹炲悕 */ + isReal?: boolean; + realMethod?: EnumUserRealMethod; + /** 鎴戠殑鎶ュ悕 */ + taskCount?: number; + /** 宸插綍鐢� */ + hirePassTaskCount?: number; + /** 宸插彇娑� */ + hireRefuseTaskCount?: number; } interface GetResourceFieldsQueryResultItem { @@ -1132,11 +1589,11 @@ } interface GetRolesQuery { - pageModel?: PagedListQueryPageModel; userType?: EnumUserType; clientType?: EnumClientType; /** 鍏抽敭瀛� */ keywords?: string; + pageModel?: PagedListQueryPageModel; } interface GetRolesQueryResultItem { @@ -1174,9 +1631,13 @@ /** 浼佷笟Id */ enterpriseId?: string; /** 浼佷笟鍏ㄧО */ - enterpriseEnterpriseName?: string; + enterpriseName?: string; + /** 鑱旂郴鐢佃瘽 */ + contactPhoneNumber?: string; /** 鍦ㄦ嫑宀椾綅鏁伴噺 */ taskCount?: number; + /** 鎶ュ悕浜烘暟 */ + applyCount?: number; /** 浠诲姟鍚嶇О */ name?: string; billingMethod?: EnumBillingMethod; @@ -1218,6 +1679,7 @@ isCollected?: boolean; status?: EnumTaskStatus; releaseStatus?: EnumTaskReleaseStatus; + hireStatus?: EnumTaskUserHireStatus; } interface GetTaskInfoQueryResultBenefit { @@ -1237,7 +1699,6 @@ } interface GetTaskInfosQuery { - pageModel?: PagedListQueryPageModel; /** 鍏抽敭瀛楋紙浠诲姟鍚嶇О锛� */ keywords?: string; /** 浼佷笟Id */ @@ -1255,13 +1716,17 @@ status?: EnumTaskStatus; releaseStatus?: EnumTaskReleaseStatus; recommendStatus?: EnumTaskRecommendStatus; + checkReceiveStatus?: EnumTaskCheckReceiveStatus; + /** 褰曠敤鐘舵�� */ + hireStatus?: EnumTaskUserHireStatus[]; + pageModel?: PagedListQueryPageModel; } interface GetTaskInfosQueryResult { + objectData?: GetTaskInfosQueryResultObjectData; pageModel?: PagedListQueryResultPageModel; /** 鏁版嵁 */ data?: GetTaskInfosQueryResultItem[]; - objectData?: GetTaskInfosQueryResultObjectData; } interface GetTaskInfosQueryResultItem { @@ -1309,6 +1774,7 @@ recommendStatus?: EnumTaskRecommendStatus; /** 鍒涘缓鏃堕棿 */ createdTime?: string; + hireStatus?: EnumTaskUserHireStatus; } interface GetTaskInfosQueryResultObjectData { @@ -1322,6 +1788,52 @@ stoppedReleaseCount?: number; } + interface GetTaskUsersQuery { + /** 浠诲姟Id */ + id?: string; + pageModel?: PagedListQueryPageModel; + } + + interface GetTaskUsersQueryResult { + pageModel?: PagedListQueryResultPageModel; + /** 鏁版嵁 */ + data?: GetTaskUsersQueryResultItem[]; + } + + interface GetTaskUsersQueryResultItem { + /** 浠诲姟闆囦剑Id */ + id?: string; + /** 澶村儚 */ + avatar?: string; + /** 濮撳悕 */ + name?: string; + /** 韬唤璇佸彿 */ + identity?: string; + /** 鎵嬫満鍙� */ + contactPhoneNumber?: string; + gender?: EnumUserGender; + /** 骞撮緞 */ + age?: number; + /** 鏄惁瀹炲悕 */ + isReal?: boolean; + realMethod?: EnumUserRealMethod; + /** 韬唤缂栧彿 */ + personalIdentityCode?: string; + /** 韬唤 */ + personalIdentityContent?: string; + /** 瀛﹀巻缂栧彿 */ + educationalBackgroundCode?: string; + /** 瀛﹀巻 */ + educationalBackgroundContent?: string; + /** 涓婂矖娆℃暟 */ + taskCount?: number; + /** 宸ヤ綔璧勫巻 */ + workSeniority?: string; + /** 宸ヤ綔缁忛獙 */ + workExperience?: string; + hireStatus?: EnumTaskUserHireStatus; + } + interface GetUserInfoRolesQueryResultItem { /** 瑙掕壊Id */ id?: string; @@ -1333,13 +1845,268 @@ isChecked?: boolean; } - type GetUserResumeQueryResult = Record<string, any>; + interface GetUserResumeCredentialQueryResult { + /** 璧勬牸璇佷功Id */ + id?: string; + /** 璇佷功绫诲瀷缂栧彿 */ + typeCode?: string; + /** 璇佷功绫诲瀷 */ + typeContent?: string; + /** 璇佷功缂栧彿 */ + code?: string; + /** 姘镐箙璇佷功 */ + isForever?: boolean; + /** 寮�濮嬫棩鏈� */ + startDate?: string; + /** 缁撴潫鏃ユ湡 */ + endDate?: string; + /** 鍙戣瘉鍗曚綅 */ + issueUnit?: string; + /** 璇佷功姝i潰鐓х墖 */ + img?: string; + /** 璇佷功鍙嶉潰鐓х墖 */ + backImg?: string; + } + + type GetUserResumeCredentialsQuery = Record<string, any>; + + interface GetUserResumeCredentialsQueryResultItem { + /** 璧勬牸璇佷功Id */ + id?: string; + /** 璇佷功绫诲瀷缂栧彿 */ + typeCode?: string; + /** 璇佷功绫诲瀷 */ + typeContent?: string; + } + + type GetUserResumeDetailQuery = Record<string, any>; + + interface GetUserResumeDetailQueryResult { + /** 韬珮 */ + height?: number; + /** 浣撻噸 */ + weight?: number; + /** 鐢熸椿鐓� */ + photos?: string[]; + } + + type GetUserResumeJobSeekingQuery = Record<string, any>; + + interface GetUserResumeJobSeekingQueryResult { + /** 鐢ㄦ埛淇℃伅鏈熸湜宀椾綅 */ + userExpectJobs?: GetUserResumeJobSeekingQueryResultExpectJob[]; + freeTime?: EnumPersonalFreeTime; + jobSeekingStatus?: EnumPersonalJobSeekingStatus; + } + + interface GetUserResumeJobSeekingQueryResultExpectJob { + /** 鏈熸湜宀椾綅涓婄骇缂栧彿 */ + expectJobParentCode?: string; + /** 鏈熸湜宀椾綅缂栧彿 */ + expectJobCode?: string; + /** 鏈熸湜宀椾綅 */ + expectJobContent?: string; + } + + type GetUserResumePersonalQuery = Record<string, any>; + + interface GetUserResumePersonalQueryResult { + /** 澶村儚 */ + avatar?: string; + /** 濮撳悕 */ + name?: string; + /** 鎵嬫満鍙� */ + contactPhoneNumber?: string; + /** 韬唤缂栧彿 */ + personalIdentityCode?: string; + /** 韬唤 */ + personalIdentityContent?: string; + /** 瀛﹀巻缂栧彿 */ + educationalBackgroundCode?: string; + /** 瀛﹀巻 */ + educationalBackgroundContent?: string; + /** 甯搁┗鐪佷唤缂栧彿 */ + provinceCode?: string; + /** 甯搁┗鐪佷唤 */ + provinceContent?: string; + /** 甯搁┗鍩庡競缂栧彿 */ + cityCode?: string; + /** 甯搁┗鍩庡競 */ + cityContent?: string; + } + + interface GetUserResumeQueryResult { + /** 鐢ㄦ埛Id */ + id?: string; + /** 瀹屽杽搴� */ + completeRate?: number; + /** 澶村儚 */ + avatar?: string; + /** 濮撳悕 */ + name?: string; + /** 鎵嬫満鍙� */ + contactPhoneNumber?: string; + /** 韬唤璇佸彿 */ + identity?: string; + gender?: EnumUserGender; + /** 骞撮緞 */ + age?: number; + /** 鏄惁瀹炲悕 */ + isReal?: boolean; + /** 涓婂矖娆℃暟 */ + taskCount?: number; + /** 甯搁┗鐪佷唤缂栧彿 */ + provinceCode?: string; + /** 甯搁┗鐪佷唤 */ + provinceContent?: string; + /** 甯搁┗鍩庡競缂栧彿 */ + cityCode?: string; + /** 甯搁┗鍩庡競 */ + cityContent?: string; + /** 韬唤缂栧彿 */ + personalIdentityCode?: string; + /** 韬唤 */ + personalIdentityContent?: string; + /** 瀛﹀巻缂栧彿 */ + educationalBackgroundCode?: string; + /** 瀛﹀巻 */ + educationalBackgroundContent?: string; + /** 鐢ㄦ埛淇℃伅鏈熸湜宀椾綅 */ + userExpectJobs?: GetUserResumeQueryResultExpectJob[]; + freeTime?: EnumPersonalFreeTime; + jobSeekingStatus?: EnumPersonalJobSeekingStatus; + /** 鐢ㄦ埛淇℃伅璧勬牸璇佷功 */ + userCredentials?: GetUserResumeQueryResultCredential[]; + /** 宸ヤ綔璧勫巻 */ + workSeniority?: string; + /** 宸ヤ綔缁忛獙 */ + workExperience?: string; + /** 韬珮 */ + height?: number; + /** 浣撻噸 */ + weight?: number; + /** 鐢熸椿鐓� */ + photos?: string[]; + /** 缁忓巻 */ + taskInfoUsers?: GetUserResumeQueryResultExperience[]; + } + + interface GetUserResumeQueryResultCredential { + /** 璇佷功绫诲瀷缂栧彿 */ + typeCode?: string; + /** 璇佷功绫诲瀷 */ + typeContent?: string; + /** 璇佷功缂栧彿 */ + code?: string; + /** 姘镐箙璇佷功 */ + isForever?: boolean; + /** 寮�濮嬫棩鏈� */ + startDate?: string; + /** 缁撴潫鏃ユ湡 */ + endDate?: string; + /** 鍙戣瘉鍗曚綅 */ + issueUnit?: string; + /** 璇佷功姝i潰鐓х墖 */ + img?: string; + /** 璇佷功鍙嶉潰鐓х墖 */ + backImg?: string; + } + + interface GetUserResumeQueryResultExpectJob { + /** 鏈熸湜宀椾綅涓婄骇缂栧彿 */ + expectJobParentCode?: string; + /** 鏈熸湜宀椾綅缂栧彿 */ + expectJobCode?: string; + /** 鏈熸湜宀椾綅 */ + expectJobContent?: string; + } + + interface GetUserResumeQueryResultExperience { + /** 绛剧害鏃堕棿 */ + signContractTime?: string; + /** 浼佷笟鍏ㄧО */ + enterpriseName?: string; + /** 浠诲姟鍚嶇О */ + name?: string; + } + + interface GetUserResumesQuery { + /** 浠诲姟Id */ + taskInfoId?: string; + /** 鏈熸湜宀椾綅缂栧彿 */ + userExpectJobs?: string[]; + gender?: EnumUserGender; + /** 韬唤缂栧彿 */ + personalIdentityCode?: string; + /** 骞撮緞鑼冨洿鏈�灏� */ + ageMin?: number; + /** 骞撮緞鑼冨洿澶� */ + ageMax?: number; + /** 璧勬牸璇佷功缂栧彿 */ + userCredentials?: string[]; + pageModel?: PagedListQueryPageModel; + } + + interface GetUserResumesQueryResult { + pageModel?: PagedListQueryResultPageModel; + /** 鏁版嵁 */ + data?: GetUserResumesQueryResultItem[]; + } + + interface GetUserResumesQueryResultItem { + /** 鐢ㄦ埛Id */ + id?: string; + /** 澶村儚 */ + avatar?: string; + /** 濮撳悕 */ + name?: string; + /** 鎵嬫満鍙� */ + contactPhoneNumber?: string; + /** 韬唤璇佸彿 */ + identity?: string; + /** 骞撮緞 */ + age?: number; + gender?: EnumUserGender; + /** 鏄惁瀹炲悕 */ + isReal?: boolean; + /** 瀹炲悕鏃堕棿 */ + realTime?: string; + /** 韬唤缂栧彿 */ + personalIdentityCode?: string; + /** 韬唤 */ + personalIdentityContent?: string; + /** 瀛﹀巻缂栧彿 */ + educationalBackgroundCode?: string; + /** 瀛﹀巻 */ + educationalBackgroundContent?: string; + /** 涓婂矖娆℃暟 */ + taskCount?: number; + /** 宸ヤ綔璧勫巻 */ + workSeniority?: string; + /** 宸ヤ綔缁忛獙 */ + workExperience?: string; + } + + type GetUserResumeWorkExperienceQuery = Record<string, any>; + + interface GetUserResumeWorkExperienceQueryResult { + /** 宸ヤ綔璧勫巻 */ + workSeniority?: string; + /** 宸ヤ綔缁忛獙 */ + workExperience?: string; + } interface LoginCommandCallback { + /** 鐢ㄦ埛Id */ + id?: string; /** 鐢ㄦ埛璁块棶浠ょ墝 */ accessToken?: string; /** 鍒锋柊浠ょ墝 */ refreshToken?: string; + /** 浼氳瘽绉橀挜锛堜粎鐢ㄤ簬寰俊灏忕▼搴忔巿鏉冪櫥褰曪級 */ + sessionKey?: string; + /** 鏄惁宸茬粦瀹氭墜鏈哄彿锛堜粎鐢ㄤ簬寰俊灏忕▼搴忔巿鏉冪櫥褰曪級 */ + isBindPhoneNumber?: boolean; } interface PagedListQueryPageModel { @@ -1388,16 +2155,16 @@ } interface PagedListQueryResultPageModel { + /** 鎬绘暟 */ + totalCount?: number; + /** 椤垫暟 */ + totalPage?: number; /** 琛屾暟 */ rows?: number; /** 椤电爜 */ page?: number; /** 鎺掑簭 */ orderInput?: PagedListQueryPageModelOrderInput[]; - /** 鎬绘暟 */ - totalCount?: number; - /** 椤垫暟 */ - totalPage?: number; } interface PasswordLoginCommand { @@ -1409,9 +2176,14 @@ clientType?: EnumClientType; } + interface RegisterPersonalUserCommand { + /** 鎵嬫満鍙风爜 */ + phoneNumber: string; + /** 楠岃瘉鐮� */ + verifyCode: string; + } + interface SaveDictionaryCategoryCommand { - /** Id */ - id?: string; /** 缂栧彿 */ code: string; /** 鍚嶇О */ @@ -1420,11 +2192,11 @@ fieldNames?: string; /** 鎺掑簭 */ sort?: number; + /** Id */ + id?: string; } interface SaveDictionaryDataCommand { - /** Id */ - id?: string; /** 绫诲埆Id锛圛d/缂栧彿浜岄�変竴锛� */ categoryId?: string; /** 绫诲埆缂栧彿锛圛d/缂栧彿浜岄�変竴锛� */ @@ -1449,11 +2221,11 @@ sort?: number; /** 鏄惁绂佺敤 */ isDisabled?: boolean; + /** Id */ + id?: string; } interface SaveEnterpriseCommand { - /** Id */ - id?: string; /** 浼佷笟鍏ㄧО */ enterpriseName: string; /** 缁熶竴绀句細淇$敤浠g爜 */ @@ -1480,11 +2252,11 @@ userName?: string; /** 瀵嗙爜 */ password?: string; + /** Id */ + id?: string; } interface SaveMenuButtonCommand { - /** Id */ - id?: string; /** 鑿滃崟Id */ parentId?: string; /** 缂栧彿 */ @@ -1503,11 +2275,11 @@ sort?: number; /** 澶囨敞 */ remark?: string; + /** Id */ + id?: string; } interface SaveMenuCommand { - /** Id */ - id?: string; userType?: EnumUserType; clientType?: EnumClientType; /** 涓婄骇Id */ @@ -1532,6 +2304,8 @@ remark?: string; /** 鍒嗙粍 */ groups?: SaveMenuCommandGroup[]; + /** Id */ + id?: string; } interface SaveMenuCommandButton { @@ -1583,8 +2357,6 @@ } interface SaveMenuFieldCommand { - /** Id */ - id?: string; /** 鑿滃崟Id */ parentId?: string; /** 缂栧彿 */ @@ -1603,6 +2375,8 @@ sort?: number; /** 澶囨敞 */ remark?: string; + /** Id */ + id?: string; } interface SaveRoleCommand { @@ -1623,9 +2397,16 @@ resources?: GetRoleQueryResultResource[]; } + interface SaveScheduleJobDetailCommand { + /** 璧勬簮Id */ + resourceId?: string; + /** 璇锋眰鏁版嵁 */ + body?: string; + /** Cron琛ㄨ揪寮� */ + cron?: string; + } + interface SaveTaskInfoCommand { - /** Id */ - id?: string; /** 浠诲姟鍚嶇О */ name: string; billingMethod: EnumBillingMethod; @@ -1657,6 +2438,69 @@ beginTime: string; /** 浠诲姟缁撴潫鏃堕棿 */ endTime: string; + /** Id */ + id?: string; + } + + interface SaveUserResumeCredentialCommand { + /** 璇佷功绫诲瀷缂栧彿 */ + typeCode: string; + /** 璇佷功缂栧彿 */ + code?: string; + /** 姘镐箙璇佷功 */ + isForever?: boolean; + /** 寮�濮嬫棩鏈� */ + startDate: string; + /** 缁撴潫鏃ユ湡 */ + endDate: string; + /** 鍙戣瘉鍗曚綅 */ + issueUnit?: string; + /** 璇佷功姝i潰鐓х墖 */ + img: string; + /** 璇佷功鍙嶉潰鐓х墖 */ + backImg?: string; + /** Id */ + id?: string; + } + + interface SaveUserResumeDetailCommand { + /** 韬珮 */ + height?: number; + /** 浣撻噸 */ + weight?: number; + /** 鐢熸椿鐓� */ + photos?: string[]; + } + + interface SaveUserResumeJobSeekingCommand { + /** 鐢ㄦ埛淇℃伅鏈熸湜宀椾綅 */ + userExpectJobs: string[]; + freeTime: EnumPersonalFreeTime; + jobSeekingStatus: EnumPersonalJobSeekingStatus; + } + + interface SaveUserResumePersonalCommand { + /** 澶村儚 */ + avatar?: string; + /** 濮撳悕 */ + name?: string; + /** 鎵嬫満鍙� */ + contactPhoneNumber?: string; + /** 韬唤缂栧彿 */ + personalIdentityCode: string; + /** 瀛﹀巻缂栧彿 */ + educationalBackgroundCode: string; + /** 甯搁┗鐪佷唤缂栧彿 */ + provinceCode: string; + /** 甯搁┗鍩庡競缂栧彿 */ + cityCode: string; + } + + interface SaveUserResumeWorkExperienceCommand { + /** 宸ヤ綔璧勫巻 */ + workSeniority?: string; + /** 宸ヤ綔缁忛獙 */ + workExperience?: string; } interface SelectOptionGuidGetDictionaryCategorySelectQueryOption { @@ -1664,8 +2508,7 @@ value?: string; /** 鏍囩 */ label?: string; - /** 鏁版嵁 */ - data?: any; + data?: GetDictionaryCategorySelectQueryOption; } interface SelectOptionStringGetDictionaryDataSelectQueryResultOption { @@ -1673,8 +2516,7 @@ value?: string; /** 鏍囩 */ label?: string; - /** 鏁版嵁 */ - data?: any; + data?: GetDictionaryDataSelectQueryResultOption; } interface SendLoginOrRegisterVerifyCodeCommand { @@ -1743,6 +2585,12 @@ releaseStatus?: EnumTaskReleaseStatus; } + interface SetTaskUserHireCommand { + /** 浠诲姟闆囦剑Id */ + id?: string; + hireStatus?: EnumTaskUserHireStatus; + } + interface SetUserInfoRolesCommand { /** 鐢ㄦ埛Id */ userInfoId?: string; @@ -1767,6 +2615,11 @@ type SyncHumanResourcesAreaDictionaryDataCommand = Record<string, any>; + interface UpdatePhoneNumberVerifyCodeCommand { + /** 鎵嬫満鍙风爜 */ + phoneNumber: string; + } + interface WxmpLoginCommand { /** 鐢ㄦ埛鐧诲綍鍑瘉 */ code: string; diff --git a/src/services/api/user.ts b/src/services/api/user.ts index a398d43..3d4e6e0 100644 --- a/src/services/api/user.ts +++ b/src/services/api/user.ts @@ -35,21 +35,6 @@ }); } -/** 鏌ヨ鐢ㄦ埛绠�鍘� GET /api/user/user/getUserResume */ -export async function getUserResume( - // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄) - params: API.APIgetUserResumeParams, - options?: API.RequestConfig -) { - return request<API.GetUserResumeQueryResult>('/api/user/user/getUserResume', { - method: 'GET', - params: { - ...params, - }, - ...(options || {}), - }); -} - /** 璁剧疆鐢ㄦ埛淇℃伅瑙掕壊 PUT /api/user/user/setUserInfoRoles */ export async function setUserInfoRoles( body: API.SetUserInfoRolesCommand, diff --git a/src/services/api/userResume.ts b/src/services/api/userResume.ts new file mode 100644 index 0000000..e708586 --- /dev/null +++ b/src/services/api/userResume.ts @@ -0,0 +1,235 @@ +/* eslint-disable */ +// @ts-ignore +import { request } from '@/utils/request'; + +/** 鍒犻櫎鐢ㄦ埛绠�鍘�-璧勬牸璇佷功 DELETE /api/user/userResume/deleteUserResumeCredential */ +export async function deleteUserResumeCredential( + body: API.DeleteUserResumeCredentialCommand, + options?: API.RequestConfig +) { + return request<number>('/api/user/userResume/deleteUserResumeCredential', { + method: 'DELETE', + headers: { + 'Content-Type': 'application/json-patch+json', + }, + data: body, + ...(options || {}), + }); +} + +/** 鏌ヨ鐢ㄦ埛绠�鍘� GET /api/user/userResume/getUserResume */ +export async function getUserResume( + // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄) + params: API.APIgetUserResumeParams, + options?: API.RequestConfig +) { + return request<API.GetUserResumeQueryResult>('/api/user/userResume/getUserResume', { + method: 'GET', + params: { + ...params, + }, + ...(options || {}), + }); +} + +/** 鏌ヨ鐢ㄦ埛绠�鍘�-璧勬牸璇佷功 GET /api/user/userResume/getUserResumeCredential */ +export async function getUserResumeCredential( + // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄) + params: API.APIgetUserResumeCredentialParams, + options?: API.RequestConfig +) { + return request<API.GetUserResumeCredentialQueryResult>( + '/api/user/userResume/getUserResumeCredential', + { + method: 'GET', + params: { + ...params, + }, + ...(options || {}), + } + ); +} + +/** 鏌ヨ鐢ㄦ埛绠�鍘�-璧勬牸璇佷功鍒楄〃 GET /api/user/userResume/getUserResumeCredentials */ +export async function getUserResumeCredentials( + // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄) + params: API.APIgetUserResumeCredentialsParams, + options?: API.RequestConfig +) { + return request<API.GetUserResumeCredentialsQueryResultItem[]>( + '/api/user/userResume/getUserResumeCredentials', + { + method: 'GET', + params: { + ...params, + request: undefined, + ...params['request'], + }, + ...(options || {}), + } + ); +} + +/** 鏌ヨ鐢ㄦ埛绠�鍘�-璇︾粏淇℃伅 GET /api/user/userResume/getUserResumeDetail */ +export async function getUserResumeDetail( + // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄) + params: API.APIgetUserResumeDetailParams, + options?: API.RequestConfig +) { + return request<API.GetUserResumeDetailQueryResult>('/api/user/userResume/getUserResumeDetail', { + method: 'GET', + params: { + ...params, + request: undefined, + ...params['request'], + }, + ...(options || {}), + }); +} + +/** 鏌ヨ鐢ㄦ埛绠�鍘�-姹傝亴鎰忓悜 GET /api/user/userResume/getUserResumeJobSeeking */ +export async function getUserResumeJobSeeking( + // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄) + params: API.APIgetUserResumeJobSeekingParams, + options?: API.RequestConfig +) { + return request<API.GetUserResumeJobSeekingQueryResult>( + '/api/user/userResume/getUserResumeJobSeeking', + { + method: 'GET', + params: { + ...params, + request: undefined, + ...params['request'], + }, + ...(options || {}), + } + ); +} + +/** 鏌ヨ鐢ㄦ埛绠�鍘�-涓汉淇℃伅 GET /api/user/userResume/getUserResumePersonal */ +export async function getUserResumePersonal( + // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄) + params: API.APIgetUserResumePersonalParams, + options?: API.RequestConfig +) { + return request<API.GetUserResumePersonalQueryResult>( + '/api/user/userResume/getUserResumePersonal', + { + method: 'GET', + params: { + ...params, + request: undefined, + ...params['request'], + }, + ...(options || {}), + } + ); +} + +/** 鏌ヨ鐏靛伐鍒嗛〉鍒楄〃鏁版嵁 POST /api/user/userResume/getUserResumes */ +export async function getUserResumes(body: API.GetUserResumesQuery, options?: API.RequestConfig) { + return request<API.GetUserResumesQueryResult>('/api/user/userResume/getUserResumes', { + method: 'POST', + headers: { + 'Content-Type': 'application/json-patch+json', + }, + data: body, + ...(options || {}), + }); +} + +/** 鏌ヨ鐢ㄦ埛绠�鍘�-宸ヤ綔缁忛獙 GET /api/user/userResume/getUserResumeWorkExperience */ +export async function getUserResumeWorkExperience( + // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄) + params: API.APIgetUserResumeWorkExperienceParams, + options?: API.RequestConfig +) { + return request<API.GetUserResumeWorkExperienceQueryResult>( + '/api/user/userResume/getUserResumeWorkExperience', + { + method: 'GET', + params: { + ...params, + request: undefined, + ...params['request'], + }, + ...(options || {}), + } + ); +} + +/** 淇濆瓨鐢ㄦ埛绠�鍘�-璧勬牸璇佷功 POST /api/user/userResume/saveUserResumeCredential */ +export async function saveUserResumeCredential( + body: API.SaveUserResumeCredentialCommand, + options?: API.RequestConfig +) { + return request<string>('/api/user/userResume/saveUserResumeCredential', { + method: 'POST', + headers: { + 'Content-Type': 'application/json-patch+json', + }, + data: body, + ...(options || {}), + }); +} + +/** 淇濆瓨鐢ㄦ埛绠�鍘�-璇︾粏淇℃伅 POST /api/user/userResume/saveUserResumeDetail */ +export async function saveUserResumeDetail( + body: API.SaveUserResumeDetailCommand, + options?: API.RequestConfig +) { + return request<string>('/api/user/userResume/saveUserResumeDetail', { + method: 'POST', + headers: { + 'Content-Type': 'application/json-patch+json', + }, + data: body, + ...(options || {}), + }); +} + +/** 淇濆瓨鐢ㄦ埛绠�鍘�-姹傝亴鎰忓悜 POST /api/user/userResume/saveUserResumeJobSeeking */ +export async function saveUserResumeJobSeeking( + body: API.SaveUserResumeJobSeekingCommand, + options?: API.RequestConfig +) { + return request<string>('/api/user/userResume/saveUserResumeJobSeeking', { + method: 'POST', + headers: { + 'Content-Type': 'application/json-patch+json', + }, + data: body, + ...(options || {}), + }); +} + +/** 淇濆瓨鐢ㄦ埛绠�鍘�-涓汉淇℃伅 POST /api/user/userResume/saveUserResumePersonal */ +export async function saveUserResumePersonal( + body: API.SaveUserResumePersonalCommand, + options?: API.RequestConfig +) { + return request<string>('/api/user/userResume/saveUserResumePersonal', { + method: 'POST', + headers: { + 'Content-Type': 'application/json-patch+json', + }, + data: body, + ...(options || {}), + }); +} + +/** 淇濆瓨鐢ㄦ埛绠�鍘�-宸ヤ綔缁忛獙 POST /api/user/userResume/saveUserResumeWorkExperience */ +export async function saveUserResumeWorkExperience( + body: API.SaveUserResumeWorkExperienceCommand, + options?: API.RequestConfig +) { + return request<string>('/api/user/userResume/saveUserResumeWorkExperience', { + method: 'POST', + headers: { + 'Content-Type': 'application/json-patch+json', + }, + data: body, + ...(options || {}), + }); +} -- Gitblit v1.9.1