| | |
| | | userCredentials: queryMenuState.certificateType ? [queryMenuState.certificateType] : null, |
| | | }; |
| | | |
| | | return userResumeServices.getUserResumes(params, { |
| | | return userResumeServices.getOpenUserResumes(params, { |
| | | showLoading: false, |
| | | }); |
| | | }, |
| | | { |
| | | queryKey: ['userResumeServices/getUserResumes', queryState, queryMenuState, queryPositionState], |
| | | queryKey: [ |
| | | 'userResumeServices/getOpenUserResumes', |
| | | queryState, |
| | | queryMenuState, |
| | | queryPositionState, |
| | | ], |
| | | } |
| | | ); |
| | | |
| | |
| | | try { |
| | | this.setUserInfoAction(res); |
| | | this.setTokenAction(res); |
| | | console.log('22', 22); |
| | | myClient.refetchQueries(); |
| | | // await this.getCurrentUserInfo(); |
| | | } catch (error) {} |
| | | }, |
| | |
| | | */ |
| | | logout() { |
| | | this.resetState(); |
| | | myClient.removeQueries(); |
| | | // myClient.removeQueries(); |
| | | goAuthorization(); |
| | | }, |
| | | |
| | |
| | | try { |
| | | this.setUserInfoAction(res); |
| | | this.setTokenAction(res); |
| | | myClient.refetchQueries(); |
| | | await this.getCurrentUserInfo(); |
| | | } catch (error) {} |
| | | }, |
| | |
| | | */ |
| | | logout() { |
| | | this.resetState(); |
| | | myClient.removeQueries(); |
| | | // myClient.removeQueries(); |
| | | goAuthorization(); |
| | | }, |
| | | |
| | |
| | | body: API.ImportEnterpriseEmployeesCommand, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<number>('/api/user/enterpriseEmployee/importEnterpriseEmployees', { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json-patch+json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | }); |
| | | return request<API.ImportEnterpriseEmployeesCommandResult>( |
| | | '/api/user/enterpriseEmployee/importEnterpriseEmployees', |
| | | { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json-patch+json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | } |
| | | ); |
| | | } |
| | |
| | | import * as role from './role'; |
| | | import * as enterprise from './enterprise'; |
| | | import * as task from './task'; |
| | | import * as taskCheckReceive from './taskCheckReceive'; |
| | | import * as dictionary from './dictionary'; |
| | | import * as userResume from './userResume'; |
| | | import * as auth from './auth'; |
| | | import * as taskCheckReceive from './taskCheckReceive'; |
| | | import * as resource from './resource'; |
| | | import * as taskUser from './taskUser'; |
| | | import * as menu from './menu'; |
| | |
| | | role, |
| | | enterprise, |
| | | task, |
| | | taskCheckReceive, |
| | | dictionary, |
| | | userResume, |
| | | auth, |
| | | taskCheckReceive, |
| | | resource, |
| | | taskUser, |
| | | menu, |
| | |
| | | |
| | | interface EditEnterpriseEmployeeCommand { |
| | | /** 姓名 */ |
| | | name?: string; |
| | | name: string; |
| | | /** 身份证号 */ |
| | | identity?: string; |
| | | identity: string; |
| | | /** 手机号 */ |
| | | contactPhoneNumber?: string; |
| | | contactPhoneNumber: string; |
| | | gender?: EnumUserGender; |
| | | /** 年龄 */ |
| | | age?: number; |
| | |
| | | timestamp?: number; |
| | | } |
| | | |
| | | interface FriendlyResultGetPersonalUserInfoSignContractsQueryResult { |
| | | /** 跟踪Id */ |
| | | traceId?: string; |
| | | /** 状态码 */ |
| | | code?: number; |
| | | /** 错误码 */ |
| | | errorCode?: string; |
| | | data?: GetPersonalUserInfoSignContractsQueryResult; |
| | | /** 执行成功 */ |
| | | success?: boolean; |
| | | /** 错误信息 */ |
| | | msg?: any; |
| | | /** 附加数据 */ |
| | | extras?: any; |
| | | /** 时间戳 */ |
| | | timestamp?: number; |
| | | } |
| | | |
| | | interface FriendlyResultGetPersonalUserInfosQueryResult { |
| | | /** 跟踪Id */ |
| | | traceId?: string; |
| | |
| | | errorCode?: string; |
| | | /** 数据 */ |
| | | data?: string; |
| | | /** 执行成功 */ |
| | | success?: boolean; |
| | | /** 错误信息 */ |
| | | msg?: any; |
| | | /** 附加数据 */ |
| | | extras?: any; |
| | | /** 时间戳 */ |
| | | timestamp?: number; |
| | | } |
| | | |
| | | interface FriendlyResultImportEnterpriseEmployeesCommandResult { |
| | | /** 跟踪Id */ |
| | | traceId?: string; |
| | | /** 状态码 */ |
| | | code?: number; |
| | | /** 错误码 */ |
| | | errorCode?: string; |
| | | data?: ImportEnterpriseEmployeesCommandResult; |
| | | /** 执行成功 */ |
| | | success?: boolean; |
| | | /** 错误信息 */ |
| | |
| | | pageModel?: PagedListQueryPageModel; |
| | | } |
| | | |
| | | interface GetOpenUserResumesQuery { |
| | | /** 任务Id */ |
| | | taskInfoId?: string; |
| | | /** 期望岗位编号 */ |
| | | userExpectJobs?: string[]; |
| | | gender?: EnumUserGender; |
| | | /** 身份编号 */ |
| | | personalIdentityCode?: string; |
| | | /** 年龄范围最小 */ |
| | | ageMin?: number; |
| | | /** 年龄范围大 */ |
| | | ageMax?: number; |
| | | /** 资格证书编号 */ |
| | | userCredentials?: string[]; |
| | | /** 是否已收藏 */ |
| | | isCollected?: boolean; |
| | | /** 是否已联系 */ |
| | | isContacted?: boolean; |
| | | pageModel?: PagedListQueryPageModel; |
| | | } |
| | | |
| | | interface GetOperationUserInfosQuery { |
| | | /** 关键字 */ |
| | | keywords?: string; |
| | |
| | | hireRefuseTaskCount?: number; |
| | | } |
| | | |
| | | interface GetPersonalUserInfoSignContractsQuery { |
| | | /** 用户Id */ |
| | | id?: string; |
| | | pageModel?: PagedListQueryPageModel; |
| | | } |
| | | |
| | | interface GetPersonalUserInfoSignContractsQueryResult { |
| | | pageModel?: PagedListQueryResultPageModel; |
| | | /** 数据 */ |
| | | data?: GetPersonalUserInfoSignContractsQueryResultItem[]; |
| | | } |
| | | |
| | | interface GetPersonalUserInfoSignContractsQueryResultItem { |
| | | /** 灵工Id */ |
| | | id?: string; |
| | | /** 所属商户 */ |
| | | enterpriseName?: string; |
| | | /** 报名时间 */ |
| | | applyTime?: string; |
| | | hireStatus?: EnumTaskUserHireStatus; |
| | | /** 录用时间 */ |
| | | hireTime?: string; |
| | | userSignContractStatus?: EnumTaskUserSignContractStatus; |
| | | enterpriseSignContractStatus?: EnumTaskUserSignContractStatus; |
| | | /** 企业签约时间 */ |
| | | enterpriseSignContractTime?: string; |
| | | /** 电子合同 */ |
| | | contractUrl?: string; |
| | | } |
| | | |
| | | interface GetPersonalUserInfosQuery { |
| | | /** 关键字(姓名/手机/身份证号/客户) */ |
| | | keywords?: string; |
| | |
| | | contactPhoneNumber?: string; |
| | | /** 身份证号 */ |
| | | identity?: string; |
| | | /** 身份证人像面 */ |
| | | identityImg?: string; |
| | | /** 身份证国徽面 */ |
| | | identityBackImg?: string; |
| | | gender?: EnumUserGender; |
| | | /** 年龄 */ |
| | | age?: number; |
| | |
| | | excelUrl?: string; |
| | | } |
| | | |
| | | interface ImportEnterpriseEmployeesCommandResult { |
| | | /** 总数 */ |
| | | totalCount?: number; |
| | | /** 成功数量 */ |
| | | successCount?: number; |
| | | /** 失败数量 */ |
| | | failCount?: number; |
| | | /** 错误信息 */ |
| | | errors?: ImportEnterpriseEmployeesCommandResultError[]; |
| | | } |
| | | |
| | | interface ImportEnterpriseEmployeesCommandResultError { |
| | | /** 错误信息 */ |
| | | errorMessage?: string; |
| | | /** 姓名 */ |
| | | name?: string; |
| | | /** 手机号 */ |
| | | contactPhoneNumber?: string; |
| | | /** 身份证号 */ |
| | | identity?: string; |
| | | } |
| | | |
| | | interface LoginCommandCallback { |
| | | /** 用户Id */ |
| | | id?: string; |
| | |
| | | }); |
| | | } |
| | | |
| | | /** 查询C端人员签约详情分页列表数据 POST /api/user/user/getPersonalUserInfoSignContracts */ |
| | | export async function getPersonalUserInfoSignContracts( |
| | | body: API.GetPersonalUserInfoSignContractsQuery, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<API.GetPersonalUserInfoSignContractsQueryResult>( |
| | | '/api/user/user/getPersonalUserInfoSignContracts', |
| | | { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json-patch+json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | } |
| | | ); |
| | | } |
| | | |
| | | /** 查询用户角色列表 GET /api/user/user/getUserInfoRoles */ |
| | | export async function getUserInfoRoles( |
| | | // 叠加生成的Param类型 (非body参数swagger默认没有生成对象) |
| | |
| | | }); |
| | | } |
| | | |
| | | /** 查询开放简历分页列表数据 POST /api/user/userResume/getOpenUserResumes */ |
| | | export async function getOpenUserResumes( |
| | | body: API.GetOpenUserResumesQuery, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<API.GetUserResumesQueryResult>('/api/user/userResume/getOpenUserResumes', { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json-patch+json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** 查询用户简历 GET /api/user/userResume/getUserResume */ |
| | | export async function getUserResume( |
| | | // 叠加生成的Param类型 (非body参数swagger默认没有生成对象) |