| | |
| | | "EnumTaskUserHireStatusText": true, |
| | | "EnumTaskUserSignContractStatus": true, |
| | | "EnumTaskUserSignContractStatusText": true, |
| | | "EnumTaskUserSubmitCheckReceiveStatus": true, |
| | | "EnumUserGender": true, |
| | | "EnumUserGenderText": true, |
| | | "EnumUserGenderTextForPerson": true, |
| | |
| | | const EnumTaskUserHireStatusText: typeof import('./src/constants/enterpriseEmployee')['EnumTaskUserHireStatusText'] |
| | | const EnumTaskUserSignContractStatus: typeof import('./src/constants/apiEnum')['EnumTaskUserSignContractStatus'] |
| | | const EnumTaskUserSignContractStatusText: typeof import('./src/constants/enterpriseEmployee')['EnumTaskUserSignContractStatusText'] |
| | | const EnumTaskUserSubmitCheckReceiveStatus: typeof import('./src/constants/apiEnum')['EnumTaskUserSubmitCheckReceiveStatus'] |
| | | const EnumUserGender: typeof import('./src/constants/apiEnum')['EnumUserGender'] |
| | | const EnumUserGenderText: typeof import('./src/constants/task')['EnumUserGenderText'] |
| | | const EnumUserGenderTextForPerson: typeof import('./src/constants/task')['EnumUserGenderTextForPerson'] |
| | |
| | | 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, EnumPersonalFreeTime, EnumPersonalJobSeekingStatus, EnumRealAccess, EnumResourceController, EnumResourceMethod, EnumRoleWebApiDataPower, EnumSettlementCycle, EnumSmsAccess, EnumTaskCheckReceiveStatus, EnumTaskRecommendStatus, EnumTaskReleaseStatus, EnumTaskSettlementStatus, EnumTaskStatus, EnumTaskUserArrangeStatus, EnumTaskUserHireStatus, EnumTaskUserSignContractStatus, EnumUserGender, EnumUserRealMethod, EnumUserStatus, EnumUserType, GetPersonalApplyTaskInfosQueryStatus, GetPersonalHireTaskInfosQueryStatus, GetTaskInfoQueryResultApplyButton, GetTaskInfoQueryResultHireButton, EnumBillingMethod, EnumClientType, EnumMenuType, EnumMenuVisitLevel, EnumPagedListOrder, EnumPersonalFreeTime, EnumPersonalJobSeekingStatus, EnumRealAccess, EnumResourceController, EnumResourceMethod, EnumRoleWebApiDataPower, EnumSettlementCycle, EnumSmsAccess, EnumTaskCheckReceiveStatus, EnumTaskRecommendStatus, EnumTaskReleaseStatus, EnumTaskSettlementStatus, EnumTaskStatus, EnumTaskUserArrangeStatus, EnumTaskUserHireStatus, EnumTaskUserSignContractStatus, EnumUserGender, EnumUserRealMethod, EnumUserStatus, EnumUserType, GetPersonalApplyTaskInfosQueryStatus, GetPersonalHireTaskInfosQueryStatus, GetTaskInfoQueryResultApplyButton, GetTaskInfoQueryResultHireButton } from './src/constants/apiEnum' |
| | | export type { EnumBillingMethod, EnumClientType, EnumMenuType, EnumMenuVisitLevel, EnumPagedListOrder, EnumPersonalFreeTime, EnumPersonalJobSeekingStatus, EnumRealAccess, EnumResourceController, EnumResourceMethod, EnumRoleWebApiDataPower, EnumSettlementCycle, EnumSmsAccess, EnumTaskCheckReceiveStatus, EnumTaskRecommendStatus, EnumTaskReleaseStatus, EnumTaskSettlementStatus, EnumTaskStatus, EnumTaskUserArrangeStatus, EnumTaskUserHireStatus, EnumTaskUserSignContractStatus, EnumTaskUserSubmitCheckReceiveStatus, EnumUserGender, EnumUserRealMethod, EnumUserStatus, EnumUserType, GetPersonalApplyTaskInfosQueryStatus, GetPersonalHireTaskInfosQueryStatus, GetTaskInfoQueryResultApplyButton, GetTaskInfoQueryResultHireButton, EnumBillingMethod, EnumClientType, EnumMenuType, EnumMenuVisitLevel, EnumPagedListOrder, EnumPersonalFreeTime, EnumPersonalJobSeekingStatus, EnumRealAccess, EnumResourceController, EnumResourceMethod, EnumRoleWebApiDataPower, EnumSettlementCycle, EnumSmsAccess, EnumTaskCheckReceiveStatus, EnumTaskRecommendStatus, EnumTaskReleaseStatus, EnumTaskSettlementStatus, EnumTaskStatus, EnumTaskUserArrangeStatus, EnumTaskUserHireStatus, EnumTaskUserSignContractStatus, EnumTaskUserSubmitCheckReceiveStatus, EnumUserGender, EnumUserRealMethod, EnumUserStatus, EnumUserType, GetPersonalApplyTaskInfosQueryStatus, GetPersonalHireTaskInfosQueryStatus, GetTaskInfoQueryResultApplyButton, GetTaskInfoQueryResultHireButton } from './src/constants/apiEnum' |
| | | import('./src/constants/apiEnum') |
| | | // @ts-ignore |
| | | export type { FlexWorkerEleSignEnum, FlexTaskWorkerHireEnum, FlexWorkerEleSignEnum, FlexTaskWorkerHireEnum } from './src/constants/cPerson' |
| | |
| | | readonly EnumTaskUserHireStatusText: UnwrapRef<typeof import('./src/constants/enterpriseEmployee')['EnumTaskUserHireStatusText']> |
| | | readonly EnumTaskUserSignContractStatus: UnwrapRef<typeof import('./src/constants/apiEnum')['EnumTaskUserSignContractStatus']> |
| | | readonly EnumTaskUserSignContractStatusText: UnwrapRef<typeof import('./src/constants/enterpriseEmployee')['EnumTaskUserSignContractStatusText']> |
| | | readonly EnumTaskUserSubmitCheckReceiveStatus: UnwrapRef<typeof import('./src/constants/apiEnum')['EnumTaskUserSubmitCheckReceiveStatus']> |
| | | readonly EnumUserGender: UnwrapRef<typeof import('./src/constants/apiEnum')['EnumUserGender']> |
| | | readonly EnumUserGenderText: UnwrapRef<typeof import('./src/constants/task')['EnumUserGenderText']> |
| | | readonly EnumUserGenderTextForPerson: UnwrapRef<typeof import('./src/constants/task')['EnumUserGenderTextForPerson']> |
| | |
| | | export enum EnumTaskCheckReceiveStatus { |
| | | /**待提交 */ |
| | | WaitSubmit = 10, |
| | | /**待验收 */ |
| | | WaitCheckReceive = 20, |
| | | /**已验收 */ |
| | | Completed = 30, |
| | | } |
| | |
| | | Refuse = 30, |
| | | } |
| | | |
| | | /** 任务验收状态 */ |
| | | export enum EnumTaskUserSubmitCheckReceiveStatus { |
| | | /**待提交 */ |
| | | WaitSubmit = 10, |
| | | /**待验收 */ |
| | | WaitCheckReceive = 20, |
| | | /**验收通过 */ |
| | | Success = 30, |
| | | /**验收未通过 */ |
| | | Fail = 40, |
| | | } |
| | | |
| | | /** 用户性别 */ |
| | | export enum EnumUserGender { |
| | | /**男 */ |
| | |
| | | }); |
| | | } |
| | | |
| | | /** 查询企业用户登录信息 GET /api/user/auth/getEnterpriseLoginInfo */ |
| | | export async function getEnterpriseLoginInfo( |
| | | // 叠加生成的Param类型 (非body参数swagger默认没有生成对象) |
| | | params: API.APIgetEnterpriseLoginInfoParams, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<API.GetEnterpriseLoginInfoQueryResult>('/api/user/auth/getEnterpriseLoginInfo', { |
| | | method: 'GET', |
| | | params: { |
| | | ...params, |
| | | request: undefined, |
| | | ...params['request'], |
| | | }, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** 查询个人用户登录信息 GET /api/user/auth/getPersonalLoginInfo */ |
| | | export async function getPersonalLoginInfo( |
| | | // 叠加生成的Param类型 (非body参数swagger默认没有生成对象) |
| | |
| | | // @ts-ignore |
| | | import { request } from '@/utils/request'; |
| | | |
| | | /** 编辑灵工信息 POST /api/user/enterpriseEmployee/editEnterpriseEmployee */ |
| | | export async function editEnterpriseEmployee( |
| | | body: API.EditEnterpriseEmployeeCommand, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<string>('/api/user/enterpriseEmployee/editEnterpriseEmployee', { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json-patch+json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** 查询灵工详情 GET /api/user/enterpriseEmployee/getEnterpriseEmployee */ |
| | | export async function getEnterpriseEmployee( |
| | | // 叠加生成的Param类型 (非body参数swagger默认没有生成对象) |
| | |
| | | } |
| | | ); |
| | | } |
| | | |
| | | /** 导入灵工信息 POST /api/user/enterpriseEmployee/importEnterpriseEmployees */ |
| | | export async function importEnterpriseEmployees( |
| | | body: API.ImportEnterpriseEmployeesCommand, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<API.ImportEnterpriseEmployeesCommandResult>( |
| | | '/api/user/enterpriseEmployee/importEnterpriseEmployees', |
| | | { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json-patch+json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | } |
| | | ); |
| | | } |
| | |
| | | // API 更新时间: |
| | | // API 唯一标识: |
| | | import * as enterpriseEmployee from './enterpriseEmployee'; |
| | | import * as user from './user'; |
| | | import * as role from './role'; |
| | | import * as enterprise from './enterprise'; |
| | | import * as task from './task'; |
| | | import * as dictionary from './dictionary'; |
| | | import * as user from './user'; |
| | | 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 taskCheckReceive from './taskCheckReceive'; |
| | | import * as menu from './menu'; |
| | | export default { |
| | | enterpriseEmployee, |
| | | user, |
| | | role, |
| | | enterprise, |
| | | task, |
| | | dictionary, |
| | | user, |
| | | userResume, |
| | | auth, |
| | | taskCheckReceive, |
| | | resource, |
| | | taskUser, |
| | | taskCheckReceive, |
| | | menu, |
| | | }; |
| | |
| | | }); |
| | | } |
| | | |
| | | /** 查询开放任务分页列表 POST /api/flexjob/task/getOpenTaskInfos */ |
| | | export async function getOpenTaskInfos( |
| | | body: API.GetOpenTaskInfosQuery, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<API.GetTaskInfosQueryResult>('/api/flexjob/task/getOpenTaskInfos', { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json-patch+json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** 我的报名分页列表 POST /api/flexjob/task/getPersonalApplyTaskInfos */ |
| | | export async function getPersonalApplyTaskInfos( |
| | | body: API.GetPersonalApplyTaskInfosQuery, |
| | |
| | | // @ts-ignore |
| | | import { request } from '@/utils/request'; |
| | | |
| | | /** 查询验收任务分页列表 POST /api/flexjob/taskCheckReceive/getCheckReceiveTask */ |
| | | /** 任务验收 POST /api/flexjob/taskCheckReceive/checkReceiveTask */ |
| | | export async function checkReceiveTask( |
| | | body: API.CheckReceiveTaskCommand, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<string>('/api/flexjob/taskCheckReceive/checkReceiveTask', { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json-patch+json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** 导出验收记录 POST /api/flexjob/taskCheckReceive/exportTaskCheckReceiveTaskUsers */ |
| | | export async function exportTaskCheckReceiveTaskUsers( |
| | | body: API.ExportTaskCheckReceiveTaskUsersCommand, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<string>('/api/flexjob/taskCheckReceive/exportTaskCheckReceiveTaskUsers', { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json-patch+json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** 查询验收任务详情 POST /api/flexjob/taskCheckReceive/getCheckReceiveTask */ |
| | | export async function getCheckReceiveTask( |
| | | body: API.GetCheckReceiveTaskQuery, |
| | | options?: API.RequestConfig |
| | |
| | | ); |
| | | } |
| | | |
| | | /** 查询验收分页列表 POST /api/flexjob/taskCheckReceive/getCheckReceiveTaskUser */ |
| | | export async function getCheckReceiveTaskUser( |
| | | body: API.GetCheckReceiveTaskUserQuery, |
| | | /** 查询验收任务分页列表 POST /api/flexjob/taskCheckReceive/getCheckReceiveTasks */ |
| | | export async function getCheckReceiveTasks( |
| | | body: API.GetCheckReceiveTasksQuery, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<API.GetCheckReceiveTaskUserQueryResult>( |
| | | '/api/flexjob/taskCheckReceive/getCheckReceiveTaskUser', |
| | | return request<API.GetCheckReceiveTasksQueryResult>( |
| | | '/api/flexjob/taskCheckReceive/getCheckReceiveTasks', |
| | | { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json-patch+json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | } |
| | | ); |
| | | } |
| | | |
| | | /** 查询验收提交详情 GET /api/flexjob/taskCheckReceive/getCheckReceiveTaskUserSubmit */ |
| | | export async function getCheckReceiveTaskUserSubmit( |
| | | // 叠加生成的Param类型 (非body参数swagger默认没有生成对象) |
| | | params: API.APIgetCheckReceiveTaskUserSubmitParams, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<API.GetCheckReceiveTaskUserSubmitQueryResult>( |
| | | '/api/flexjob/taskCheckReceive/getCheckReceiveTaskUserSubmit', |
| | | { |
| | | method: 'GET', |
| | | params: { |
| | | ...params, |
| | | }, |
| | | ...(options || {}), |
| | | } |
| | | ); |
| | |
| | | } |
| | | ); |
| | | } |
| | | |
| | | /** 任务提交验收 POST /api/flexjob/taskCheckReceive/submitCheckReceiveTask */ |
| | | export async function submitCheckReceiveTask( |
| | | body: API.SubmitCheckReceiveTaskCommand, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<string>('/api/flexjob/taskCheckReceive/submitCheckReceiveTask', { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json-patch+json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | |
| | | }); |
| | | } |
| | | |
| | | /** 查询应聘报名人员录用状态 GET /api/flexjob/taskUser/getTaskUserHireStatus */ |
| | | export async function getTaskUserHireStatus( |
| | | // 叠加生成的Param类型 (非body参数swagger默认没有生成对象) |
| | | params: API.APIgetTaskUserHireStatusParams, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<API.GetTaskUserHireStatusQueryResult>( |
| | | '/api/flexjob/taskUser/getTaskUserHireStatus', |
| | | { |
| | | method: 'GET', |
| | | params: { |
| | | ...params, |
| | | }, |
| | | ...(options || {}), |
| | | } |
| | | ); |
| | | } |
| | | |
| | | /** B端查询应聘报名分页列表信息 POST /api/flexjob/taskUser/getTaskUsers */ |
| | | export async function getTaskUsers(body: API.GetTaskUsersQuery, options?: API.RequestConfig) { |
| | | return request<API.GetTaskUsersQueryResult>('/api/flexjob/taskUser/getTaskUsers', { |
| | |
| | | maxDeep?: number; |
| | | } |
| | | |
| | | interface APIgetCheckReceiveTaskUserSubmitParams { |
| | | /** 提交Id(用于B端客户端) */ |
| | | submitId?: string; |
| | | /** 任务Id(用于C端小程序编辑提交 和日期一起传) */ |
| | | taskInfoId?: string; |
| | | /** 任务人员Id(用于B端小程序验收 和日期一起传) */ |
| | | taskInfoUserId?: string; |
| | | /** 日期(用于两个小程序 跟某一个Id一起传) */ |
| | | date?: string; |
| | | } |
| | | |
| | | interface APIgetCurrentLogierMenuParams { |
| | | /** Id */ |
| | | id?: string; |
| | |
| | | id?: string; |
| | | /** 任务Id */ |
| | | taskInfoId?: string; |
| | | } |
| | | |
| | | interface APIgetEnterpriseLoginInfoParams { |
| | | /** 查询企业用户登录信息 */ |
| | | request?: GetEnterpriseLoginInfoQuery; |
| | | } |
| | | |
| | | interface APIgetEnterpriseParams { |
| | |
| | | id?: string; |
| | | } |
| | | |
| | | interface APIgetTaskUserHireStatusParams { |
| | | /** 任务Id */ |
| | | taskInfoId?: string; |
| | | /** 用户Id(C端用户可不填) */ |
| | | userId?: string; |
| | | } |
| | | |
| | | interface APIgetUserInfoRolesParams { |
| | | /** 用户Id */ |
| | | userInfoId?: string; |
| | |
| | | interface APIgetUserResumeParams { |
| | | /** 用户Id */ |
| | | userId?: string; |
| | | /** 灵工Id */ |
| | | enterpriseEmployeeId?: string; |
| | | } |
| | | |
| | | interface APIgetUserResumePersonalParams { |
| | |
| | | verifyCode: string; |
| | | } |
| | | |
| | | interface CheckReceiveTaskCommand { |
| | | /** 提交Id */ |
| | | id?: string; |
| | | checkReceiveStatus?: EnumTaskUserSubmitCheckReceiveStatus; |
| | | } |
| | | |
| | | interface CollectTaskCommand { |
| | | /** 任务Id */ |
| | | ids?: string[]; |
| | | /** 是否收藏 */ |
| | | isCollect?: boolean; |
| | | } |
| | | |
| | | interface CollectUserResumeCommand { |
| | | /** 用户Id */ |
| | | id?: string; |
| | | /** 是否已收藏 */ |
| | | isCollected?: boolean; |
| | | } |
| | | |
| | | interface ContactUserResumeCommand { |
| | | /** 用户Id */ |
| | | id?: string; |
| | | } |
| | | |
| | | interface DeleteDictionaryCategoryCommand { |
| | |
| | | |
| | | interface DeleteUserResumeCredentialCommand { |
| | | ids: string[]; |
| | | } |
| | | |
| | | interface EditEnterpriseEmployeeCommand { |
| | | /** 姓名 */ |
| | | name: string; |
| | | /** 身份证号 */ |
| | | identity: string; |
| | | /** 手机号 */ |
| | | contactPhoneNumber: string; |
| | | gender?: EnumUserGender; |
| | | /** 年龄 */ |
| | | age?: number; |
| | | /** 身份证人像面 */ |
| | | identityImg?: string; |
| | | /** 身份证国徽面 */ |
| | | identityBackImg?: string; |
| | | /** Id */ |
| | | id?: string; |
| | | } |
| | | |
| | | enum EnumBillingMethod { |
| | |
| | | enum EnumTaskCheckReceiveStatus { |
| | | /**待提交 */ |
| | | WaitSubmit = 10, |
| | | /**待验收 */ |
| | | WaitCheckReceive = 20, |
| | | /**已验收 */ |
| | | Completed = 30, |
| | | } |
| | |
| | | Refuse = 30, |
| | | } |
| | | |
| | | enum EnumTaskUserSubmitCheckReceiveStatus { |
| | | /**待提交 */ |
| | | WaitSubmit = 10, |
| | | /**待验收 */ |
| | | WaitCheckReceive = 20, |
| | | /**验收通过 */ |
| | | Success = 30, |
| | | /**验收未通过 */ |
| | | Fail = 40, |
| | | } |
| | | |
| | | enum EnumUserGender { |
| | | /**男 */ |
| | | Male = 10, |
| | |
| | | Enterprise = 20, |
| | | /**运营 */ |
| | | Operation = 100, |
| | | } |
| | | |
| | | interface ExportTaskCheckReceiveTaskUsersCommand { |
| | | /** 任务Id */ |
| | | id?: string; |
| | | } |
| | | |
| | | interface FriendlyResultBoolean { |
| | |
| | | timestamp?: number; |
| | | } |
| | | |
| | | interface FriendlyResultGetCheckReceiveTaskUserQueryResult { |
| | | interface FriendlyResultGetCheckReceiveTasksQueryResult { |
| | | /** 跟踪Id */ |
| | | traceId?: string; |
| | | /** 状态码 */ |
| | | code?: number; |
| | | /** 错误码 */ |
| | | errorCode?: string; |
| | | data?: GetCheckReceiveTaskUserQueryResult; |
| | | data?: GetCheckReceiveTasksQueryResult; |
| | | /** 执行成功 */ |
| | | success?: boolean; |
| | | /** 错误信息 */ |
| | | msg?: any; |
| | | /** 附加数据 */ |
| | | extras?: any; |
| | | /** 时间戳 */ |
| | | timestamp?: number; |
| | | } |
| | | |
| | | interface FriendlyResultGetCheckReceiveTaskUserSubmitQueryResult { |
| | | /** 跟踪Id */ |
| | | traceId?: string; |
| | | /** 状态码 */ |
| | | code?: number; |
| | | /** 错误码 */ |
| | | errorCode?: string; |
| | | data?: GetCheckReceiveTaskUserSubmitQueryResult; |
| | | /** 执行成功 */ |
| | | success?: boolean; |
| | | /** 错误信息 */ |
| | |
| | | /** 错误码 */ |
| | | errorCode?: string; |
| | | data?: GetEnterpriseEmployeesQueryResult; |
| | | /** 执行成功 */ |
| | | success?: boolean; |
| | | /** 错误信息 */ |
| | | msg?: any; |
| | | /** 附加数据 */ |
| | | extras?: any; |
| | | /** 时间戳 */ |
| | | timestamp?: number; |
| | | } |
| | | |
| | | interface FriendlyResultGetEnterpriseLoginInfoQueryResult { |
| | | /** 跟踪Id */ |
| | | traceId?: string; |
| | | /** 状态码 */ |
| | | code?: number; |
| | | /** 错误码 */ |
| | | errorCode?: string; |
| | | data?: GetEnterpriseLoginInfoQueryResult; |
| | | /** 执行成功 */ |
| | | success?: boolean; |
| | | /** 错误信息 */ |
| | |
| | | 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; |
| | | /** 状态码 */ |
| | | code?: number; |
| | | /** 错误码 */ |
| | | errorCode?: string; |
| | | data?: GetPersonalUserInfosQueryResult; |
| | | /** 执行成功 */ |
| | | success?: boolean; |
| | | /** 错误信息 */ |
| | | msg?: any; |
| | | /** 附加数据 */ |
| | | extras?: any; |
| | | /** 时间戳 */ |
| | | timestamp?: number; |
| | | } |
| | | |
| | | interface FriendlyResultGetRoleQueryResult { |
| | | /** 跟踪Id */ |
| | | traceId?: string; |
| | |
| | | /** 错误码 */ |
| | | errorCode?: string; |
| | | data?: GetTaskInfosQueryResult; |
| | | /** 执行成功 */ |
| | | success?: boolean; |
| | | /** 错误信息 */ |
| | | msg?: any; |
| | | /** 附加数据 */ |
| | | extras?: any; |
| | | /** 时间戳 */ |
| | | timestamp?: number; |
| | | } |
| | | |
| | | interface FriendlyResultGetTaskUserHireStatusQueryResult { |
| | | /** 跟踪Id */ |
| | | traceId?: string; |
| | | /** 状态码 */ |
| | | code?: number; |
| | | /** 错误码 */ |
| | | errorCode?: string; |
| | | data?: GetTaskUserHireStatusQueryResult; |
| | | /** 执行成功 */ |
| | | success?: boolean; |
| | | /** 错误信息 */ |
| | |
| | | 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; |
| | | /** 错误信息 */ |
| | |
| | | timestamp?: number; |
| | | } |
| | | |
| | | interface FriendlyResultString { |
| | | /** 跟踪Id */ |
| | | traceId?: string; |
| | | /** 状态码 */ |
| | | code?: number; |
| | | /** 错误码 */ |
| | | errorCode?: string; |
| | | /** 数据 */ |
| | | data?: string; |
| | | /** 执行成功 */ |
| | | success?: boolean; |
| | | /** 错误信息 */ |
| | | msg?: any; |
| | | /** 附加数据 */ |
| | | extras?: any; |
| | | /** 时间戳 */ |
| | | timestamp?: number; |
| | | } |
| | | |
| | | type GetAliyunOSSAcsQuery = Record<string, any>; |
| | | |
| | | interface GetAliyunOSSAcsQueryResult { |
| | |
| | | } |
| | | |
| | | interface GetCheckReceiveTaskQuery { |
| | | /** 验收日期-最早时间 */ |
| | | dateBegin?: string; |
| | | /** 验收日期-最晚时间 */ |
| | | dateEnd?: string; |
| | | /** 任务Id */ |
| | | taskInfoId?: string; |
| | | checkReceiveStatus?: EnumTaskCheckReceiveStatus; |
| | | /** 日期(B端小程序专用) */ |
| | | date?: string; |
| | | pageModel?: PagedListQueryPageModel; |
| | | } |
| | | |
| | | interface GetCheckReceiveTaskQueryResult { |
| | | objectData?: GetCheckReceiveTaskQueryResultObjectData; |
| | | pageModel?: PagedListQueryResultPageModel; |
| | | /** 数据 */ |
| | | data?: GetCheckReceiveTaskQueryResultItem[]; |
| | | } |
| | | |
| | | interface GetCheckReceiveTaskQueryResultItem { |
| | | /** 任务Id */ |
| | | /** 任务人员Id */ |
| | | id?: string; |
| | | /** 任务名称 */ |
| | | name?: string; |
| | | /** 任务开始时间 */ |
| | | beginTime?: string; |
| | | /** 任务结束时间 */ |
| | | endTime?: string; |
| | | /** 任务地点名称 */ |
| | | addressName?: string; |
| | | } |
| | | |
| | | interface GetCheckReceiveTaskUserQuery { |
| | | /** 任务Id */ |
| | | taskInfoId?: string; |
| | | /** 关键字 */ |
| | | keywords?: string; |
| | | /** 验收日期-最早时间 */ |
| | | dateBegin?: string; |
| | | /** 验收日期-最晚时间 */ |
| | | dateEnd?: string; |
| | | checkReceiveStatus?: EnumTaskCheckReceiveStatus; |
| | | pageModel?: PagedListQueryPageModel; |
| | | } |
| | | |
| | | interface GetCheckReceiveTaskUserQueryResult { |
| | | pageModel?: PagedListQueryResultPageModel; |
| | | /** 数据 */ |
| | | data?: GetCheckReceiveTaskUserQueryResultItem[]; |
| | | } |
| | | |
| | | interface GetCheckReceiveTaskUserQueryResultItem { |
| | | /** 任务Id */ |
| | | id?: string; |
| | | /** 任务名称 */ |
| | | taskName?: string; |
| | | /** 任务开始时间 */ |
| | | beginTime?: string; |
| | | /** 任务结束时间 */ |
| | | endTime?: string; |
| | | /** 任务地点名称 */ |
| | | addressName?: string; |
| | | taskInfoName?: string; |
| | | /** 任务单号 */ |
| | | taskInfoCode?: string; |
| | | /** 头像 */ |
| | | avatar?: string; |
| | | /** 姓名 */ |
| | | name?: string; |
| | | /** 身份证号 */ |
| | |
| | | age?: number; |
| | | /** 手机号 */ |
| | | contactPhoneNumber?: string; |
| | | /** 提交时间 */ |
| | | /** 是否实名 */ |
| | | isReal?: boolean; |
| | | realMethod?: EnumUserRealMethod; |
| | | /** 最近提交时间 */ |
| | | lastSubmitTime?: string; |
| | | checkReceiveStatus?: EnumTaskCheckReceiveStatus; |
| | | } |
| | | |
| | | interface GetCheckReceiveTaskUserSubmitsQuery { |
| | | interface GetCheckReceiveTaskQueryResultObjectData { |
| | | /** 任务名称 */ |
| | | name?: string; |
| | | /** 任务单号 */ |
| | | code?: string; |
| | | billingMethod?: EnumBillingMethod; |
| | | /** 服务费 */ |
| | | serviceFee?: number; |
| | | settlementCycle?: EnumSettlementCycle; |
| | | /** 任务开始时间 */ |
| | | beginTime?: string; |
| | | /** 任务结束时间 */ |
| | | endTime?: string; |
| | | /** 任务地点名称 */ |
| | | addressName?: string; |
| | | } |
| | | |
| | | interface GetCheckReceiveTasksQuery { |
| | | /** 日期(小程序-验收管理专用) */ |
| | | date?: string; |
| | | /** 关键字(姓名/手机/身份证号) */ |
| | | keywords?: string; |
| | | /** 验收日期-最早时间(B端客户端-验收管理专用) */ |
| | | checkReceiveTimeBegin?: string; |
| | | /** 验收日期-最晚时间(B端客户端-验收管理专用) */ |
| | | checkReceiveTimeEnd?: string; |
| | | checkReceiveStatus?: EnumTaskCheckReceiveStatus; |
| | | pageModel?: PagedListQueryPageModel; |
| | | } |
| | | |
| | | interface GetCheckReceiveTasksQueryResult { |
| | | pageModel?: PagedListQueryResultPageModel; |
| | | /** 数据 */ |
| | | data?: GetCheckReceiveTasksQueryResultItem[]; |
| | | } |
| | | |
| | | interface GetCheckReceiveTasksQueryResultItem { |
| | | /** 任务Id */ |
| | | id?: string; |
| | | /** 任务名称 */ |
| | | name?: string; |
| | | /** 任务单号 */ |
| | | code?: string; |
| | | billingMethod?: EnumBillingMethod; |
| | | /** 服务费 */ |
| | | serviceFee?: number; |
| | | settlementCycle?: EnumSettlementCycle; |
| | | /** 发布时间 */ |
| | | createdTime?: string; |
| | | /** 任务开始时间 */ |
| | | beginTime?: string; |
| | | /** 任务结束时间 */ |
| | | endTime?: string; |
| | | /** 任务地点名称 */ |
| | | addressName?: string; |
| | | checkReceiveStatus?: EnumTaskCheckReceiveStatus; |
| | | /** 最近验收时间 */ |
| | | lastCheckReceiveTime?: string; |
| | | } |
| | | |
| | | interface GetCheckReceiveTaskUserSubmitQueryResult { |
| | | /** 提交Id */ |
| | | id?: string; |
| | | enterpriseEmployeeUser?: GetCheckReceiveTaskUserSubmitsQueryResultObjectDataEnterpriseEmployeeUser; |
| | | /** 提交时间 */ |
| | | createdTime?: string; |
| | | /** 验收照片 */ |
| | | files?: string[]; |
| | | } |
| | | |
| | | interface GetCheckReceiveTaskUserSubmitsQuery { |
| | | /** 任务人员Id */ |
| | | id?: string; |
| | | /** 任务Id */ |
| | | taskInfoId?: string; |
| | | pageModel?: PagedListQueryPageModel; |
| | | } |
| | | |
| | | interface GetCheckReceiveTaskUserSubmitsQueryResult { |
| | | objectData?: GetCheckReceiveTaskUserSubmitsQueryResultObjectData; |
| | | pageModel?: PagedListQueryResultPageModel; |
| | | /** 数据 */ |
| | | data?: GetCheckReceiveTaskUserSubmitsQueryResultItem[]; |
| | | } |
| | | |
| | | type GetCheckReceiveTaskUserSubmitsQueryResultItem = Record<string, any>; |
| | | interface GetCheckReceiveTaskUserSubmitsQueryResultItem { |
| | | /** 提交Id */ |
| | | id?: string; |
| | | /** 提交时间 */ |
| | | createdTime?: string; |
| | | /** 验收照片 */ |
| | | files?: string[]; |
| | | checkReceiveStatus?: EnumTaskUserSubmitCheckReceiveStatus; |
| | | /** 验收时间 */ |
| | | checkReceiveTime?: string; |
| | | } |
| | | |
| | | interface GetCheckReceiveTaskUserSubmitsQueryResultObjectData { |
| | | taskInfo?: GetCheckReceiveTaskUserSubmitsQueryResultObjectDataTaskInfo; |
| | | enterpriseEmployeeUser?: GetCheckReceiveTaskUserSubmitsQueryResultObjectDataEnterpriseEmployeeUser; |
| | | } |
| | | |
| | | interface GetCheckReceiveTaskUserSubmitsQueryResultObjectDataEnterpriseEmployeeUser { |
| | | /** 用户Id */ |
| | | id?: string; |
| | | /** 头像 */ |
| | | avatar?: string; |
| | | /** 姓名 */ |
| | | name?: string; |
| | | /** 身份证号 */ |
| | | identity?: string; |
| | | gender?: EnumUserGender; |
| | | /** 年龄 */ |
| | | age?: number; |
| | | /** 手机号 */ |
| | | contactPhoneNumber?: string; |
| | | /** 是否实名 */ |
| | | isReal?: boolean; |
| | | realMethod?: EnumUserRealMethod; |
| | | /** 是否绑定银行卡 */ |
| | | isBindBankCard?: boolean; |
| | | } |
| | | |
| | | interface GetCheckReceiveTaskUserSubmitsQueryResultObjectDataTaskInfo { |
| | | /** 任务名称 */ |
| | | name?: string; |
| | | /** 任务开始时间 */ |
| | | beginTime?: string; |
| | | /** 任务结束时间 */ |
| | | endTime?: string; |
| | | /** 任务地点名称 */ |
| | | addressName?: string; |
| | | } |
| | | |
| | | type GetCurrentLogierMenusQuery = Record<string, any>; |
| | | |
| | |
| | | applyTime?: string; |
| | | /** 实名时间 */ |
| | | userRealTime?: string; |
| | | /** 签约时间 */ |
| | | userSignContractTime?: string; |
| | | /** 企业签约时间 */ |
| | | enterpriseSignContractTime?: string; |
| | | /** 电子合同 */ |
| | |
| | | enterpriseSignContractStatus?: EnumTaskUserSignContractStatus; |
| | | /** 企业签约时间 */ |
| | | enterpriseSignContractTime?: string; |
| | | } |
| | | |
| | | type GetEnterpriseLoginInfoQuery = Record<string, any>; |
| | | |
| | | interface GetEnterpriseLoginInfoQueryResult { |
| | | /** Id */ |
| | | id?: string; |
| | | /** 头像 */ |
| | | avatar?: string; |
| | | /** 姓名 */ |
| | | name?: string; |
| | | /** 企业全称 */ |
| | | enterpriseName?: string; |
| | | /** 角色 */ |
| | | roles?: string[]; |
| | | /** 是否实名 */ |
| | | isReal?: boolean; |
| | | /** 我的收藏 */ |
| | | collectedUserCount?: number; |
| | | /** 联系记录 */ |
| | | contactedRecordCount?: number; |
| | | } |
| | | |
| | | interface GetEnterpriseQueryResult { |
| | |
| | | remark?: string; |
| | | } |
| | | |
| | | interface GetOpenTaskInfosQuery { |
| | | /** 关键字(任务名称) */ |
| | | keywords?: string; |
| | | /** 企业Id */ |
| | | enterpriseId?: string; |
| | | /** 发布时间-开始 */ |
| | | beginTime?: string; |
| | | /** 发布时间-结束 */ |
| | | endTime?: string; |
| | | /** 任务地点所属城市编号 */ |
| | | cityCode?: string; |
| | | settlementCycle?: EnumSettlementCycle; |
| | | /** 员工福利 */ |
| | | benefitCodes?: string[]; |
| | | genderLimit?: EnumUserGender; |
| | | status?: EnumTaskStatus; |
| | | releaseStatus?: EnumTaskReleaseStatus; |
| | | recommendStatus?: EnumTaskRecommendStatus; |
| | | checkReceiveStatus?: EnumTaskCheckReceiveStatus; |
| | | 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; |
| | | /** 最近录用时间-最早时间 */ |
| | | hireTimeBegin?: string; |
| | | /** 最近录用时间-最晚时间 */ |
| | | hireTimeEnd?: string; |
| | | /** 最近签约时间-最早时间 */ |
| | | signContractBegin?: string; |
| | | /** 最近签约时间-最晚时间 */ |
| | | signContractEnd?: string; |
| | | /** 是否已实名 */ |
| | | isReal?: boolean; |
| | | pageModel?: PagedListQueryPageModel; |
| | | } |
| | | |
| | | interface GetPersonalUserInfosQueryResult { |
| | | pageModel?: PagedListQueryResultPageModel; |
| | | /** 数据 */ |
| | | data?: GetPersonalUserInfosQueryResultItem[]; |
| | | } |
| | | |
| | | interface GetPersonalUserInfosQueryResultItem { |
| | | /** Id */ |
| | | id?: string; |
| | | /** 姓名 */ |
| | | name?: string; |
| | | /** 手机号 */ |
| | | contactPhoneNumber?: string; |
| | | /** 身份证号 */ |
| | | identity?: string; |
| | | /** 身份证人像面 */ |
| | | identityImg?: string; |
| | | /** 身份证国徽面 */ |
| | | identityBackImg?: string; |
| | | gender?: EnumUserGender; |
| | | /** 年龄 */ |
| | | age?: number; |
| | | /** 常驻省份编号 */ |
| | | provinceCode?: string; |
| | | /** 常驻省份 */ |
| | | provinceContent?: string; |
| | | /** 常驻城市编号 */ |
| | | cityCode?: string; |
| | | /** 常驻城市 */ |
| | | cityContent?: string; |
| | | /** 所属商户 */ |
| | | enterprises?: string[]; |
| | | /** 是否实名 */ |
| | | isReal?: boolean; |
| | | /** 实名时间 */ |
| | | realTime?: string; |
| | | /** 最近录用时间 */ |
| | | hireTime?: string; |
| | | /** 最近签约时间 */ |
| | | signContractTime?: string; |
| | | } |
| | | |
| | | interface GetResourceFieldsQueryResultItem { |
| | | /** 编号 */ |
| | | code?: string; |
| | |
| | | applyCount?: number; |
| | | /** 任务名称 */ |
| | | name?: string; |
| | | /** 任务单号 */ |
| | | code?: string; |
| | | billingMethod?: EnumBillingMethod; |
| | | /** 服务费 */ |
| | | serviceFee?: number; |
| | |
| | | releaseStatus?: EnumTaskReleaseStatus; |
| | | recommendStatus?: EnumTaskRecommendStatus; |
| | | checkReceiveStatus?: EnumTaskCheckReceiveStatus; |
| | | /** 是否收藏 */ |
| | | isCollected?: boolean; |
| | | pageModel?: PagedListQueryPageModel; |
| | | } |
| | | |
| | |
| | | checkReceiveStatus?: EnumTaskCheckReceiveStatus; |
| | | settlementStatus?: EnumTaskSettlementStatus; |
| | | recommendStatus?: EnumTaskRecommendStatus; |
| | | /** 创建时间 */ |
| | | /** 发布时间 */ |
| | | createdTime?: string; |
| | | } |
| | | |
| | |
| | | inProcessReleaseCount?: number; |
| | | /** 已停止数量 */ |
| | | stoppedReleaseCount?: number; |
| | | } |
| | | |
| | | interface GetTaskUserHireStatusQueryResult { |
| | | hireStatus?: EnumTaskUserHireStatus; |
| | | } |
| | | |
| | | interface GetTaskUsersQuery { |
| | |
| | | interface GetTaskUsersQueryResultItem { |
| | | /** 任务人员Id */ |
| | | id?: string; |
| | | /** 灵工Id */ |
| | | enterpriseEmployeeId?: string; |
| | | /** 头像 */ |
| | | avatar?: string; |
| | | /** 姓名 */ |
| | |
| | | photos?: string[]; |
| | | /** 经历 */ |
| | | taskInfoUsers?: GetUserResumeQueryResultExperience[]; |
| | | /** 是否已收藏 */ |
| | | isCollected?: boolean; |
| | | } |
| | | |
| | | interface GetUserResumeQueryResultCredential { |
| | |
| | | ageMax?: number; |
| | | /** 资格证书编号 */ |
| | | userCredentials?: string[]; |
| | | /** 是否已收藏 */ |
| | | isCollected?: boolean; |
| | | /** 是否已联系 */ |
| | | isContacted?: boolean; |
| | | pageModel?: PagedListQueryPageModel; |
| | | } |
| | | |
| | |
| | | workSeniority?: string; |
| | | /** 工作经验 */ |
| | | workExperience?: string; |
| | | /** 创建时间 */ |
| | | createdTime?: string; |
| | | } |
| | | |
| | | type GetUserResumeWorkExperienceQuery = Record<string, any>; |
| | |
| | | workSeniority?: string; |
| | | /** 工作经验 */ |
| | | workExperience?: string; |
| | | } |
| | | |
| | | interface ImportEnterpriseEmployeesCommand { |
| | | /** Excel地址 */ |
| | | excelUrl?: string; |
| | | } |
| | | |
| | | interface ImportEnterpriseEmployeesCommandResult { |
| | | /** 总数 */ |
| | | totalCount?: number; |
| | | /** 成功数量 */ |
| | | successCount?: number; |
| | | /** 失败数量 */ |
| | | failCount?: number; |
| | | /** 错误信息 */ |
| | | errors?: ImportEnterpriseEmployeesCommandResultError[]; |
| | | } |
| | | |
| | | interface ImportEnterpriseEmployeesCommandResultError { |
| | | /** 错误信息 */ |
| | | errorMessage?: string; |
| | | /** 姓名 */ |
| | | name?: string; |
| | | /** 手机号 */ |
| | | contactPhoneNumber?: string; |
| | | /** 身份证号 */ |
| | | identity?: string; |
| | | } |
| | | |
| | | interface LoginCommandCallback { |
| | |
| | | clientType?: EnumClientType; |
| | | } |
| | | |
| | | interface SubmitCheckReceiveTaskCommand { |
| | | /** 任务Id */ |
| | | taskInfoId?: string; |
| | | /** 附件 */ |
| | | files?: string[]; |
| | | } |
| | | |
| | | type SyncHumanResourcesAreaDictionaryDataCommand = Record<string, any>; |
| | | |
| | | interface UpdatePhoneNumberVerifyCodeCommand { |
| | |
| | | ); |
| | | } |
| | | |
| | | /** 查询C端人员分页列表数据 POST /api/user/user/getPersonalUserInfos */ |
| | | export async function getPersonalUserInfos( |
| | | body: API.GetPersonalUserInfosQuery, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<API.GetPersonalUserInfosQueryResult>('/api/user/user/getPersonalUserInfos', { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json-patch+json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** 查询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默认没有生成对象) |
| | |
| | | // @ts-ignore |
| | | import { request } from '@/utils/request'; |
| | | |
| | | /** 收藏灵工 POST /api/user/userResume/collectUserResume */ |
| | | export async function collectUserResume( |
| | | body: API.CollectUserResumeCommand, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<string>('/api/user/userResume/collectUserResume', { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json-patch+json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** 联系灵工 POST /api/user/userResume/contactUserResume */ |
| | | export async function contactUserResume( |
| | | body: API.ContactUserResumeCommand, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<string>('/api/user/userResume/contactUserResume', { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json-patch+json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** 删除用户简历-资格证书 DELETE /api/user/userResume/deleteUserResumeCredential */ |
| | | export async function deleteUserResumeCredential( |
| | | body: API.DeleteUserResumeCredentialCommand, |
| | |
| | | </QueryFilterItem> |
| | | <QueryFilterItem tip-content="最近录用时间"> |
| | | <FieldDatePicker |
| | | v-model="extraParamState.createdTime" |
| | | v-model="extraParamState.hireTime" |
| | | type="daterange" |
| | | range-separator="~" |
| | | start-placeholder="开始时间" |
| | |
| | | </QueryFilterItem> |
| | | <QueryFilterItem> |
| | | <SearchInput |
| | | v-model="extraParamState.searchKeys" |
| | | v-model="extraParamState.keywords" |
| | | style="width: 300px" |
| | | placeholder="姓名/手机/身份证号/客户" |
| | | @on-click-search="getList" |
| | |
| | | UploadUserFile, |
| | | } from '@bole-core/components'; |
| | | import { useAccess, useGlobalEventContext } from '@/hooks'; |
| | | import { Gender } from '@/constants'; |
| | | import CPersonDetailDialog from './components/CPersonDetailDialog.vue'; |
| | | import { convertApi2FormUrlOnlyOne, format } from '@/utils'; |
| | | import { ModelValueType } from 'element-plus'; |
| | | import * as enterpriseEmployeeServices from '@/services/api/enterpriseEmployee'; |
| | | import * as userServices from '@/services/api/user'; |
| | | |
| | | defineOptions({ |
| | | name: 'CPersonManageList', |
| | |
| | | } = useTable( |
| | | async ({ pageIndex, pageSize }, extraParamState) => { |
| | | try { |
| | | let params: API.GetEnterpriseEmployeesQuery = { |
| | | let params: API.GetPersonalUserInfosQuery = { |
| | | pageModel: { |
| | | rows: pageSize, |
| | | page: pageIndex, |
| | | orderInput: extraParamState.orderInput, |
| | | }, |
| | | keywords: extraParamState.searchKeys, |
| | | //TODO 应该是录用时间 还没有 |
| | | createdTimeStart: format(extraParamState.createdTime?.[0] ?? '', 'YYYY-MM-DD 00:00:00'), |
| | | createdTimeEnd: format(extraParamState.createdTime?.[1] ?? '', 'YYYY-MM-DD 23:59:59'), |
| | | signContractTimeStart: format( |
| | | keywords: extraParamState.keywords, |
| | | hireTimeBegin: format(extraParamState.hireTime?.[0] ?? '', 'YYYY-MM-DD 00:00:00'), |
| | | hireTimeEnd: format(extraParamState.hireTime?.[1] ?? '', 'YYYY-MM-DD 23:59:59'), |
| | | signContractBegin: format( |
| | | extraParamState.signContractTime?.[0] ?? '', |
| | | 'YYYY-MM-DD 00:00:00' |
| | | ), |
| | | signContractTimeEnd: format( |
| | | extraParamState.signContractTime?.[1] ?? '', |
| | | 'YYYY-MM-DD 23:59:59' |
| | | ), |
| | | signContractEnd: format(extraParamState.signContractTime?.[1] ?? '', 'YYYY-MM-DD 23:59:59'), |
| | | isReal: extraParamState.isReal, |
| | | }; |
| | | |
| | | let res = await enterpriseEmployeeServices.getEnterpriseEmployees(params, { |
| | | let res = await userServices.getPersonalUserInfos(params, { |
| | | showLoading: !state.loading, |
| | | }); |
| | | return res; |
| | |
| | | }, |
| | | { |
| | | defaultExtraParams: { |
| | | searchKeys: '', |
| | | keywords: '', |
| | | orderInput: [{ property: 'id', order: EnumPagedListOrder.Desc }], |
| | | createdTime: [] as unknown as ModelValueType, |
| | | hireTime: [] as unknown as ModelValueType, |
| | | signContractTime: [] as unknown as ModelValueType, |
| | | isReal: null as any as boolean, |
| | | }, |
| | | queryKey: ['enterpriseEmployeeServices/getEnterpriseEmployees'], |
| | | queryKey: ['userServices/getPersonalUserInfos'], |
| | | columnsRenderProps: { |
| | | gender: { type: 'enum', valueEnum: EnumUserGenderTextForPerson }, |
| | | hireStatus: { type: 'enum', valueEnum: EnumTaskUserHireStatusText }, |
| | | userIsReal: { |
| | | formatter: (row: API.GetEnterpriseEmployeesQueryResultItem) => { |
| | | return row.userIsReal ? '已实名' : '未实名'; |
| | | isReal: { |
| | | formatter: (row: API.GetPersonalUserInfosQueryResultItem) => { |
| | | return row.isReal ? '已实名' : '未实名'; |
| | | }, |
| | | }, |
| | | userSignContractStatus: { type: 'enum', valueEnum: EnumTaskUserSignContractStatusText }, |
| | | hireTime: { type: 'date' }, |
| | | userRealTime: { type: 'date' }, |
| | | userSignContractTime: { type: 'date' }, |
| | | realTime: { type: 'date' }, |
| | | signContractTime: { type: 'date' }, |
| | | enterprises: { |
| | | formatter: (row: API.GetPersonalUserInfosQueryResultItem) => { |
| | | return row.enterprises ? row.enterprises.map((x) => x).join(',') : ''; |
| | | }, |
| | | }, |
| | | }, |
| | | } |
| | | ); |
| | | |
| | | async function openDialog(row?: API.GetEnterpriseEmployeesQueryResultItem) { |
| | | const res = await getUserDetailForBack('98ac4c01-3598-ebf3-fa7d-3a189bb6b587'); |
| | | async function openDialog(row?: API.GetPersonalUserInfosQueryResultItem) { |
| | | const res = await getPersonalUserInfoSignContracts(row?.id ?? ''); |
| | | handleEdit({ |
| | | userId: row.userId ?? '98ac4c01-3598-ebf3-fa7d-3a189bb6b587', |
| | | name: res.name, |
| | | idNumber: res.idNumber, |
| | | contactPhone: res.contactPhone, |
| | | age: res.age, |
| | | certificateFrontImgUrl: res.certificateFrontImgUrl |
| | | ? convertApi2FormUrlOnlyOne(res.certificateFrontImgUrl) |
| | | : [], |
| | | certificateBackImgUrl: res.certificateBackImgUrl |
| | | ? convertApi2FormUrlOnlyOne(res.certificateBackImgUrl) |
| | | : [], |
| | | id: row.id ?? '', |
| | | name: row.name ?? '', |
| | | identity: row.identity ?? '', |
| | | contactPhoneNumber: row.contactPhoneNumber, |
| | | age: row.age ?? ('' as any as number), |
| | | identityImg: row.identityImg ? convertApi2FormUrlOnlyOne(row.identityImg) : [], |
| | | identityBackImg: row.identityBackImg ? convertApi2FormUrlOnlyOne(row.identityBackImg) : [], |
| | | |
| | | genderType: Gender.Female, |
| | | gender: row.gender, |
| | | tabType: 'user', |
| | | }); |
| | | } |
| | | |
| | | const { dialogProps, handleEdit } = useFormDialog({ |
| | | defaultFormParams: { |
| | | userId: '', |
| | | id: '', |
| | | name: '', |
| | | idNumber: '', |
| | | contactPhone: '', |
| | | identity: '', |
| | | contactPhoneNumber: '', |
| | | age: 0, |
| | | genderType: '' as any as Gender, |
| | | certificateFrontImgUrl: [] as UploadUserFile[], |
| | | certificateBackImgUrl: [] as UploadUserFile[], |
| | | gender: '' as any as EnumUserGender, |
| | | identityImg: [] as UploadUserFile[], |
| | | identityBackImg: [] as UploadUserFile[], |
| | | |
| | | tabType: '', |
| | | }, |
| | | }); |
| | | |
| | | async function getUserDetailForBack(userId: string) { |
| | | async function getPersonalUserInfoSignContracts(id: string) { |
| | | try { |
| | | // return await flexEnterpriseWokerServices.getUserDetailForBack({ userId: userId }); |
| | | return await userServices.getPersonalUserInfoSignContracts({ id: id }); |
| | | } catch (error) {} |
| | | } |
| | | </script> |
| | |
| | | <ProFormItemV2 label="姓名:" prop="name"> |
| | | <ProFormText v-model.trim="form.name" /> |
| | | </ProFormItemV2> |
| | | <ProFormItemV2 label="身份证号:" prop="idNumber"> |
| | | <ProFormText v-model.trim="form.idNumber" /> |
| | | <ProFormItemV2 label="身份证号:" prop="identity"> |
| | | <ProFormText v-model.trim="form.identity" /> |
| | | </ProFormItemV2> |
| | | <ProFormItemV2 label="手机号:" prop="contactPhone"> |
| | | <ProFormText v-model.trim="form.contactPhone" /> |
| | | <ProFormItemV2 label="手机号:" prop="contactPhoneNumber"> |
| | | <ProFormText v-model.trim="form.contactPhoneNumber" /> |
| | | </ProFormItemV2> |
| | | <ProFormItemV2 label="性别:" prop="age"> |
| | | <ProFormRadio v-model="form.genderType" :value-enum="GenderText"></ProFormRadio> |
| | | <ProFormItemV2 label="性别:" prop="gender"> |
| | | <ProFormRadio |
| | | v-model="form.gender" |
| | | :value-enum="EnumUserGenderTextForPerson" |
| | | ></ProFormRadio> |
| | | </ProFormItemV2> |
| | | <ProFormItemV2 label="年龄:" prop="age"> |
| | | <ProFormInputNumber v-model="form.age" unit="岁"></ProFormInputNumber> |
| | | </ProFormItemV2> |
| | | <ProFormItemV2 label="身份证正面:" prop="certificateFrontImgUrl"> |
| | | <ProFormImageUpload v-model:file-url="form.certificateFrontImgUrl" /> |
| | | <ProFormItemV2 label="身份证正面:" prop="identityImg"> |
| | | <ProFormImageUpload v-model:file-url="form.identityImg" /> |
| | | </ProFormItemV2> |
| | | <ProFormItemV2 label="身份证反面:" prop="certificateBackImgUrl"> |
| | | <ProFormImageUpload v-model:file-url="form.certificateBackImgUrl" /> |
| | | <ProFormItemV2 label="身份证反面:" prop="identityBackImg"> |
| | | <ProFormImageUpload v-model:file-url="form.identityBackImg" /> |
| | | </ProFormItemV2> |
| | | </ProForm> |
| | | </ProTabPane> |
| | |
| | | defineColumns, |
| | | } from '@bole-core/components'; |
| | | import _ from 'lodash'; |
| | | import { setOSSLink } from '@/utils'; |
| | | import * as userServices from '@/services/api/user'; |
| | | import { |
| | | FlexTaskWorkerHireEnumText, |
| | | FlexWorkerEleSignEnumText, |
| | | Gender, |
| | | GenderText, |
| | | EnumUserGender, |
| | | EnumUserGenderTextForPerson, |
| | | EnumTaskUserHireStatusText, |
| | | EnumTaskUserSignContractStatusText, |
| | | } from '@/constants'; |
| | | |
| | | defineOptions({ |
| | |
| | | |
| | | type Form = { |
| | | tabType: string; |
| | | userId: string; |
| | | id: string; |
| | | name: string; |
| | | idNumber: string; |
| | | contactPhone: string; |
| | | identity: string; |
| | | contactPhoneNumber: string; |
| | | age: number; |
| | | genderType: Gender; |
| | | certificateFrontImgUrl: UploadUserFile[]; |
| | | certificateBackImgUrl: UploadUserFile[]; |
| | | gender: EnumUserGender; |
| | | identityImg: UploadUserFile[]; |
| | | identityBackImg: UploadUserFile[]; |
| | | }; |
| | | |
| | | const form = defineModel<Form>('form'); |
| | |
| | | const column = defineColumns([ |
| | | { |
| | | id: '1', |
| | | enCode: 'enterpirseName', |
| | | enCode: 'enterpriseName', |
| | | name: '所属客户', |
| | | }, |
| | | { |
| | |
| | | }, |
| | | { |
| | | id: '4', |
| | | enCode: 'hireDateTime', |
| | | enCode: 'hireTime', |
| | | name: '录用时间', |
| | | }, |
| | | { |
| | | id: '5', |
| | | enCode: 'userSignStatus', |
| | | enCode: 'userSignContractStatus', |
| | | name: '签约状态', |
| | | }, |
| | | { |
| | | id: '6', |
| | | enCode: 'enterSignStatus', |
| | | enCode: 'enterpriseSignContractStatus', |
| | | name: '企业签约状态', |
| | | }, |
| | | { |
| | | id: '7', |
| | | enCode: 'enterSignTime', |
| | | enCode: 'enterpriseSignContractTime', |
| | | name: '企业签约时间', |
| | | }, |
| | | { |
| | |
| | | } = useTable( |
| | | async ({ pageIndex, pageSize }, extraParamState) => { |
| | | try { |
| | | let params: API.GetUserClientSignListInput = { |
| | | let params: API.GetPersonalUserInfoSignContractsQuery = { |
| | | pageModel: { |
| | | rows: pageSize, |
| | | page: pageIndex, |
| | | orderInput: extraParamState.orderInput, |
| | | }, |
| | | userId: form.value.userId, |
| | | id: form.value.id, |
| | | }; |
| | | let res = await flexEnterpriseWokerServices.getUserClientSignList(params); |
| | | let res = await userServices.getPersonalUserInfoSignContracts(params); |
| | | return res; |
| | | } catch (error) {} |
| | | }, |
| | |
| | | }, |
| | | columnsRenderProps: { |
| | | applyTime: { type: 'date' }, |
| | | hireDateTime: { type: 'date' }, |
| | | userSignTime: { type: 'date' }, |
| | | hireStatus: { type: 'enum', valueEnum: FlexTaskWorkerHireEnumText }, |
| | | userSignStatus: { type: 'enum', valueEnum: FlexWorkerEleSignEnumText }, |
| | | enterSignStatus: { type: 'enum', valueEnum: FlexWorkerEleSignEnumText }, |
| | | hireTime: { type: 'date' }, |
| | | enterpriseSignContractTime: { type: 'date' }, |
| | | hireStatus: { type: 'enum', valueEnum: EnumTaskUserHireStatusText }, |
| | | userSignContractStatus: { type: 'enum', valueEnum: EnumTaskUserSignContractStatusText }, |
| | | enterpriseSignContractStatus: { type: 'enum', valueEnum: EnumTaskUserSignContractStatusText }, |
| | | }, |
| | | } |
| | | ); |
| | |
| | | name: subModule.name, |
| | | group: state.group, |
| | | // location: 'string', |
| | | width: subModule.width, |
| | | width: subModule.width.toString(), |
| | | sort: subModule.sortCode, |
| | | }; |
| | | if (subModule.id) { |
| | |
| | | group.fields = columnModuleList.map((c) => ({ |
| | | code: c.enCode, |
| | | name: c.name, |
| | | width: c.width, |
| | | width: c.width.toString(), |
| | | sort: c.sortCode, |
| | | })); |
| | | } |
| | |
| | | fields: columnModuleList.map((c) => ({ |
| | | code: c.enCode, |
| | | name: c.name, |
| | | width: c.width, |
| | | width: c.width.toString(), |
| | | sort: c.sortCode, |
| | | })), |
| | | }; |