| | |
| | | // @ts-ignore |
| | | import { request } from '@/utils/request'; |
| | | |
| | | /** 查询灵工详情 GET /api/user/enterpriseEmployee/getEnterpriseEmployee */ |
| | | export async function getEnterpriseEmployee( |
| | | // 叠加生成的Param类型 (非body参数swagger默认没有生成对象) |
| | | params: API.APIgetEnterpriseEmployeeParams, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<API.GetEnterpriseEmployeeQueryResult>( |
| | | '/api/user/enterpriseEmployee/getEnterpriseEmployee', |
| | | { |
| | | method: 'GET', |
| | | params: { |
| | | ...params, |
| | | }, |
| | | ...(options || {}), |
| | | } |
| | | ); |
| | | } |
| | | |
| | | /** 查询灵工分页列表数据 POST /api/user/enterpriseEmployee/getEnterpriseEmployees */ |
| | | export async function getEnterpriseEmployees( |
| | | body: API.GetEnterpriseEmployeesQuery, |
| | |
| | | id?: string; |
| | | } |
| | | |
| | | interface APIgetEnterpriseEmployeeParams { |
| | | /** 灵工Id */ |
| | | id?: string; |
| | | /** 任务Id */ |
| | | taskInfoId?: string; |
| | | } |
| | | |
| | | interface APIgetEnterpriseParams { |
| | | /** Id */ |
| | | id?: string; |
| | |
| | | /** 错误码 */ |
| | | errorCode?: string; |
| | | data?: GetEnterpriseElectronSignSettingQueryResult; |
| | | /** 执行成功 */ |
| | | success?: boolean; |
| | | /** 错误信息 */ |
| | | msg?: any; |
| | | /** 附加数据 */ |
| | | extras?: any; |
| | | /** 时间戳 */ |
| | | timestamp?: number; |
| | | } |
| | | |
| | | interface FriendlyResultGetEnterpriseEmployeeQueryResult { |
| | | /** 跟踪Id */ |
| | | traceId?: string; |
| | | /** 状态码 */ |
| | | code?: number; |
| | | /** 错误码 */ |
| | | errorCode?: string; |
| | | data?: GetEnterpriseEmployeeQueryResult; |
| | | /** 执行成功 */ |
| | | success?: boolean; |
| | | /** 错误信息 */ |
| | |
| | | mergeSignCost?: number; |
| | | } |
| | | |
| | | interface GetEnterpriseEmployeeQueryResult { |
| | | /** 灵工Id */ |
| | | id?: string; |
| | | /** 姓名 */ |
| | | name?: string; |
| | | /** 身份证号 */ |
| | | identity?: string; |
| | | /** 手机号 */ |
| | | contactPhoneNumber?: string; |
| | | gender?: EnumUserGender; |
| | | /** 年龄 */ |
| | | age?: number; |
| | | /** 身份证人像面 */ |
| | | identityImg?: string; |
| | | /** 身份证国徽面 */ |
| | | identityBackImg?: string; |
| | | /** 报名时间 */ |
| | | applyTime?: string; |
| | | /** 实名时间 */ |
| | | userRealTime?: string; |
| | | /** 企业签约时间 */ |
| | | enterpriseSignContractTime?: string; |
| | | /** 电子合同 */ |
| | | contractUrl?: string; |
| | | } |
| | | |
| | | interface GetEnterpriseEmployeesQuery { |
| | | /** 关键字(姓名/手机/身份证号) */ |
| | | keywords?: string; |