| | |
| | | "EnumMenuType": true, |
| | | "EnumMenuVisitLevel": true, |
| | | "EnumPagedListOrder": true, |
| | | "EnumPersonalFreeTime": true, |
| | | "EnumPersonalJobSeekingStatus": true, |
| | | "EnumRealAccess": true, |
| | | "EnumResourceController": true, |
| | | "EnumResourceMethod": true, |
| | |
| | | "EnumTaskSettlementStatus": true, |
| | | "EnumTaskStatus": true, |
| | | "EnumTaskStatusText": true, |
| | | "EnumTaskUserArrangeStatus": true, |
| | | "EnumTaskUserArrangeStatusText": true, |
| | | "EnumTaskUserHireStatus": true, |
| | | "EnumTaskUserHireStatusText": true, |
| | | "EnumTaskUserSignContractStatus": true, |
| | | "EnumTaskUserSignContractStatusText": true, |
| | | "EnumUserGender": true, |
| | | "EnumUserGenderText": true, |
| | | "EnumUserGenderTextForEdit": true, |
| | | "EnumUserGenderTextForPerson": true, |
| | | "EnumUserRealMethod": true, |
| | | "EnumUserStatus": true, |
| | | "EnumUserType": true, |
| | | "EnumUserTypeText": true, |
| | |
| | | "FastColumnList": true, |
| | | "FastDataButtonList": true, |
| | | "FastPageButtonList": true, |
| | | "FlexEnterpriseSettingStatus": true, |
| | | "Gender": true, |
| | | "GenderText": true, |
| | | "GetPersonalApplyTaskInfosQueryStatus": true, |
| | | "GetPersonalHireTaskInfosQueryStatus": true, |
| | | "GetTaskInfoQueryResultApplyButton": true, |
| | | "GetTaskInfoQueryResultHireButton": true, |
| | | "GlobalEvent": true, |
| | | "GlobalEventContext": true, |
| | | "GlobalEventListener": true, |
| | |
| | | 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'] |
| | |
| | | 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 EnumTaskUserArrangeStatus: typeof import('./src/constants/apiEnum')['EnumTaskUserArrangeStatus'] |
| | | const EnumTaskUserArrangeStatusText: typeof import('./src/constants/task')['EnumTaskUserArrangeStatusText'] |
| | | const EnumTaskUserHireStatus: typeof import('./src/constants/apiEnum')['EnumTaskUserHireStatus'] |
| | | 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 EnumUserGender: typeof import('./src/constants/apiEnum')['EnumUserGender'] |
| | | const EnumUserGenderText: typeof import('./src/constants/task')['EnumUserGenderText'] |
| | | const EnumUserGenderTextForEdit: typeof import('./src/constants/task')['EnumUserGenderTextForEdit'] |
| | | const EnumUserGenderTextForPerson: typeof import('./src/constants/task')['EnumUserGenderTextForPerson'] |
| | | 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'] |
| | |
| | | const FlexEnterpriseSettingStatus: typeof import('./src/constants/enum')['FlexEnterpriseSettingStatus'] |
| | | const Gender: typeof import('./src/constants/enum')['Gender'] |
| | | const GenderText: typeof import('./src/constants/enum')['GenderText'] |
| | | const GetPersonalApplyTaskInfosQueryStatus: typeof import('./src/constants/apiEnum')['GetPersonalApplyTaskInfosQueryStatus'] |
| | | const GetPersonalHireTaskInfosQueryStatus: typeof import('./src/constants/apiEnum')['GetPersonalHireTaskInfosQueryStatus'] |
| | | const GetTaskInfoQueryResultApplyButton: typeof import('./src/constants/apiEnum')['GetTaskInfoQueryResultApplyButton'] |
| | | const GetTaskInfoQueryResultHireButton: typeof import('./src/constants/apiEnum')['GetTaskInfoQueryResultHireButton'] |
| | | const IdentityCodeEnum: typeof import('./src/constants/dic')['IdentityCodeEnum'] |
| | | const MenuSvgIconMap: typeof import('./src/constants/menu')['MenuSvgIconMap'] |
| | | const ModuleColumns: typeof import('./src/constants/module')['ModuleColumns'] |
| | |
| | | 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, 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' |
| | | import('./src/constants/apiEnum') |
| | | // @ts-ignore |
| | | export type { CategoryCode, IdentityCodeEnum, EducationCodeEnum, CertificateTypeCodeEnum, WelfareCodeEnum } from './src/constants/dic' |
| | |
| | | export type { EditorType, EditorType } from './src/constants/editor' |
| | | import('./src/constants/editor') |
| | | // @ts-ignore |
| | | export type { AreaType, Gender, FlexEnterpriseSettingStatus, AreaType, Gender, FlexEnterpriseSettingStatus } from './src/constants/enum' |
| | | export type { AreaType, AreaType } from './src/constants/enum' |
| | | import('./src/constants/enum') |
| | | // @ts-ignore |
| | | export type { SubModuleType, FastBtn, SubModuleType } from './src/constants/module' |
| | |
| | | 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']> |
| | |
| | | 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 EnumTaskUserArrangeStatus: UnwrapRef<typeof import('./src/constants/apiEnum')['EnumTaskUserArrangeStatus']> |
| | | readonly EnumTaskUserArrangeStatusText: UnwrapRef<typeof import('./src/constants/task')['EnumTaskUserArrangeStatusText']> |
| | | readonly EnumTaskUserHireStatus: UnwrapRef<typeof import('./src/constants/apiEnum')['EnumTaskUserHireStatus']> |
| | | 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 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 EnumUserGenderTextForPerson: UnwrapRef<typeof import('./src/constants/task')['EnumUserGenderTextForPerson']> |
| | | 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']> |
| | |
| | | readonly FastColumnList: UnwrapRef<typeof import('./src/constants/module')['FastColumnList']> |
| | | readonly FastDataButtonList: UnwrapRef<typeof import('./src/constants/module')['FastDataButtonList']> |
| | | readonly FastPageButtonList: UnwrapRef<typeof import('./src/constants/module')['FastPageButtonList']> |
| | | readonly FlexEnterpriseSettingStatus: UnwrapRef<typeof import('./src/constants/enum')['FlexEnterpriseSettingStatus']> |
| | | readonly Gender: UnwrapRef<typeof import('./src/constants/enum')['Gender']> |
| | | readonly GenderText: UnwrapRef<typeof import('./src/constants/enum')['GenderText']> |
| | | readonly GetPersonalApplyTaskInfosQueryStatus: UnwrapRef<typeof import('./src/constants/apiEnum')['GetPersonalApplyTaskInfosQueryStatus']> |
| | | readonly GetPersonalHireTaskInfosQueryStatus: UnwrapRef<typeof import('./src/constants/apiEnum')['GetPersonalHireTaskInfosQueryStatus']> |
| | | readonly GetTaskInfoQueryResultApplyButton: UnwrapRef<typeof import('./src/constants/apiEnum')['GetTaskInfoQueryResultApplyButton']> |
| | | readonly GetTaskInfoQueryResultHireButton: UnwrapRef<typeof import('./src/constants/apiEnum')['GetTaskInfoQueryResultHireButton']> |
| | | readonly IdentityCodeEnum: UnwrapRef<typeof import('./src/constants/dic')['IdentityCodeEnum']> |
| | | readonly MenuSvgIconMap: UnwrapRef<typeof import('./src/constants/menu')['MenuSvgIconMap']> |
| | | readonly ModuleColumns: UnwrapRef<typeof import('./src/constants/module')['ModuleColumns']> |
| | |
| | | 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 { |
| | | /**上上签 */ |
| | |
| | | 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, |
| | | } |
| | | |
| | | /** 资源请求方式 */ |
| | |
| | | |
| | | /** 任务结算状态 */ |
| | | export enum EnumTaskCheckReceiveStatus { |
| | | /**待验收 */ |
| | | Wait = 10, |
| | | /**待提交 */ |
| | | WaitSubmit = 10, |
| | | /**已验收 */ |
| | | Completed = 30, |
| | | } |
| | |
| | | Complete = 20, |
| | | } |
| | | |
| | | /** 任务用户安排状态 */ |
| | | export enum EnumTaskUserArrangeStatus { |
| | | /**未安排 */ |
| | | Wait = 10, |
| | | /**已安排 */ |
| | | Complete = 20, |
| | | } |
| | | |
| | | /** 任务录用状态 */ |
| | | export enum EnumTaskUserHireStatus { |
| | | /**待录用 */ |
| | | Wait = 10, |
| | | /**已录用 */ |
| | | Pass = 20, |
| | | /**已谢绝 */ |
| | | Refuse = 30, |
| | | } |
| | | |
| | | /** 任务用户签约状态 */ |
| | | export enum EnumTaskUserSignContractStatus { |
| | | /**待签约 */ |
| | | Wait = 10, |
| | | /**已签约 */ |
| | | Pass = 20, |
| | | /**已拒签 */ |
| | | Refuse = 30, |
| | | } |
| | | |
| | | /** 用户性别 */ |
| | | export enum EnumUserGender { |
| | | /**男 */ |
| | | Male = 10, |
| | | /**女 */ |
| | | Female = 20, |
| | | } |
| | | |
| | | /** 用户实名方式 */ |
| | | export enum EnumUserRealMethod { |
| | | /**个人手机号三要素 */ |
| | | Identity3 = 10, |
| | | /**银行卡多要素 */ |
| | | Identity4 = 20, |
| | | /**刷脸认证 */ |
| | | Face = 30, |
| | | } |
| | | |
| | | /** 用户信息状态 */ |
| | |
| | | /**运营 */ |
| | | Operation = 100, |
| | | } |
| | | |
| | | /** 我的报名分页列表-状态 */ |
| | | export enum GetPersonalApplyTaskInfosQueryStatus { |
| | | /**待确认 */ |
| | | WaitHire = 10, |
| | | /**待签约 */ |
| | | WaitSignContract = 20, |
| | | } |
| | | |
| | | /** 我的已录用分页列表-状态 */ |
| | | export enum GetPersonalHireTaskInfosQueryStatus { |
| | | /**进行中 */ |
| | | InProcess = 10, |
| | | /**已完成 */ |
| | | Completed = 20, |
| | | } |
| | | |
| | | /** 我的报名列表-详情-按钮类型 */ |
| | | export enum GetTaskInfoQueryResultApplyButton { |
| | | /**待确认 */ |
| | | WaitHire = 10, |
| | | /**去签约 */ |
| | | WaitSignContract = 20, |
| | | } |
| | | |
| | | /** 我的录用列表-详情-按钮类型 */ |
| | | export enum GetTaskInfoQueryResultHireButton { |
| | | /**申请验收 */ |
| | | ApplyCheckReceive = 1, |
| | | /**进行中 */ |
| | | InProcess = 10, |
| | | /**已完成 */ |
| | | Completed = 20, |
| | | } |
New file |
| | |
| | | import { EnumTaskUserHireStatus, EnumTaskUserSignContractStatus } from './apiEnum'; |
| | | |
| | | export const EnumTaskUserHireStatusText = { |
| | | [EnumTaskUserHireStatus.Wait]: '待录用', |
| | | [EnumTaskUserHireStatus.Pass]: '已录用', |
| | | [EnumTaskUserHireStatus.Refuse]: '已谢绝', |
| | | }; |
| | | |
| | | export const EnumTaskUserSignContractStatusText = { |
| | | [EnumTaskUserSignContractStatus.Wait]: '待签约', |
| | | [EnumTaskUserSignContractStatus.Pass]: '已签约', |
| | | [EnumTaskUserSignContractStatus.Refuse]: '已谢绝', |
| | | }; |
| | |
| | | */ |
| | | Town, |
| | | } |
| | | |
| | | export enum Gender { |
| | | /** |
| | | * 男 |
| | | */ |
| | | Male = 1, |
| | | /** |
| | | * 女 |
| | | */ |
| | | Female = 2, |
| | | } |
| | | |
| | | export const GenderText = { |
| | | [Gender.Male]: '男', |
| | | [Gender.Female]: '女', |
| | | }; |
| | | |
| | | export enum FlexEnterpriseSettingStatus { |
| | | NotSetting = -10, |
| | | IsSetting = 10, |
| | | } |
| | |
| | | export * from './apiEnum'; |
| | | export * from './apiEnumText'; |
| | | export * from './task'; |
| | | export * from './enterpriseEmployee'; |
| | |
| | | [EnumUserGender.Male]: '仅限男性', |
| | | [EnumUserGender.Female]: '仅限女性', |
| | | }; |
| | | |
| | | export const EnumUserGenderTextForPerson = { |
| | | [EnumUserGender.Male]: '男', |
| | | [EnumUserGender.Female]: '女', |
| | | }; |
| | | |
| | | export const EnumTaskUserArrangeStatusText = { |
| | | [EnumTaskUserArrangeStatus.Wait]: '未安排', |
| | | [EnumTaskUserArrangeStatus.Complete]: '已安排', |
| | | }; |
| | |
| | | // @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', |
| | |
| | | }); |
| | | } |
| | | |
| | | /** 查询个人用户登录信息 GET /api/user/auth/getPersonalLoginInfo */ |
| | | export async function getPersonalLoginInfo( |
| | | // 叠加生成的Param类型 (非body参数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', |
| | |
| | | }); |
| | | } |
| | | |
| | | /** 发送更换手机号短信 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', { |
| | |
| | | }); |
| | | } |
| | | |
| | | /** 查询地区选择器 GET /api/flexjob/dictionary/getAreaSelect */ |
| | | export async function getAreaSelect( |
| | | // 叠加生成的Param类型 (非body参数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, |
New file |
| | |
| | | /* 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 || {}), |
| | | } |
| | | ); |
| | | } |
| | |
| | | /* 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 taskUser from './taskUser'; |
| | | import * as auth from './auth'; |
| | | 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, |
| | | taskUser, |
| | | auth, |
| | | task, |
| | | enterprise, |
| | |
| | | ...(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 || {}), |
| | | }); |
| | | } |
| | |
| | | }); |
| | | } |
| | | |
| | | /** 查询验收任务分页列表 POST /api/flexjob/task/getCheckReceiveTaskInfos */ |
| | | export async function getCheckReceiveTaskInfos( |
| | | body: API.GetCheckReceiveTaskInfosQuery, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<API.GetCheckReceiveTaskInfosQueryResult>( |
| | | '/api/flexjob/task/getCheckReceiveTaskInfos', |
| | | { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json-patch+json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | } |
| | | ); |
| | | } |
| | | |
| | | /** 我的报名分页列表 POST /api/flexjob/task/getPersonalApplyTaskInfos */ |
| | | export async function getPersonalApplyTaskInfos( |
| | | body: API.GetPersonalApplyTaskInfosQuery, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<API.GetPersonalApplyTaskInfosQueryResult>( |
| | | '/api/flexjob/task/getPersonalApplyTaskInfos', |
| | | { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json-patch+json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | } |
| | | ); |
| | | } |
| | | |
| | | /** 我的已取消分页列表 POST /api/flexjob/task/getPersonalCancelTaskInfos */ |
| | | export async function getPersonalCancelTaskInfos( |
| | | body: API.GetPersonalCancelTaskInfosQuery, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<API.GetPersonalCancelTaskInfosQueryResult>( |
| | | '/api/flexjob/task/getPersonalCancelTaskInfos', |
| | | { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json-patch+json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | } |
| | | ); |
| | | } |
| | | |
| | | /** 我的已录用分页列表 POST /api/flexjob/task/getPersonalHireTaskInfos */ |
| | | export async function getPersonalHireTaskInfos( |
| | | body: API.GetPersonalHireTaskInfosQuery, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<API.GetPersonalHireTaskInfosQueryResult>( |
| | | '/api/flexjob/task/getPersonalHireTaskInfos', |
| | | { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json-patch+json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | } |
| | | ); |
| | | } |
| | | |
| | | /** 查询任务详情 GET /api/flexjob/task/getTaskInfo */ |
| | | export async function getTaskInfo( |
| | | // 叠加生成的Param类型 (非body参数swagger默认没有生成对象) |
New file |
| | |
| | | /* 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 || {}), |
| | | }); |
| | | } |
| | | |
| | | /** B端查询人员安排分页列表信息 POST /api/flexjob/taskUser/getArrangeTaskUsers */ |
| | | export async function getArrangeTaskUsers( |
| | | body: API.GetArrangeTaskUsersQuery, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<API.GetArrangeTaskUsersQueryResult>('/api/flexjob/taskUser/getArrangeTaskUsers', { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json-patch+json', |
| | | }, |
| | | data: body, |
| | | ...(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', { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json-patch+json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** 任务安排 PUT /api/flexjob/taskUser/setTaskUserArrange */ |
| | | export async function setTaskUserArrange( |
| | | body: API.SetTaskUserArrangeCommand, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<string>('/api/flexjob/taskUser/setTaskUserArrange', { |
| | | method: 'PUT', |
| | | 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 || {}), |
| | | }); |
| | | } |
| | |
| | | request?: GetAliyunOSSAcsQuery; |
| | | } |
| | | |
| | | interface APIgetAreaSelectParams { |
| | | /** 最大深度 */ |
| | | maxDeep?: number; |
| | | } |
| | | |
| | | interface APIgetCurrentLogierMenuParams { |
| | | /** Id */ |
| | | id?: string; |
| | |
| | | all?: boolean; |
| | | /** 最大深度 */ |
| | | maxDeep?: number; |
| | | /** 携带下级 */ |
| | | withChildren?: boolean; |
| | | } |
| | | |
| | | interface APIgetEnterpriseElectronSignSettingParams { |
| | |
| | | clientType?: EnumClientType; |
| | | /** 角色Id */ |
| | | roleId?: string; |
| | | } |
| | | |
| | | interface APIgetPersonalLoginInfoParams { |
| | | /** 查询个人用户登录信息 */ |
| | | request?: GetPersonalLoginInfoQuery; |
| | | } |
| | | |
| | | interface APIgetResourceFieldsParams { |
| | |
| | | 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 { |
| | |
| | | } |
| | | |
| | | interface DeleteTaskInfoCommand { |
| | | ids: string[]; |
| | | } |
| | | |
| | | interface DeleteUserResumeCredentialCommand { |
| | | ids: string[]; |
| | | } |
| | | |
| | |
| | | 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, |
| | |
| | | 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 { |
| | |
| | | } |
| | | |
| | | enum EnumTaskCheckReceiveStatus { |
| | | /**待验收 */ |
| | | Wait = 10, |
| | | /**待提交 */ |
| | | WaitSubmit = 10, |
| | | /**已验收 */ |
| | | Completed = 30, |
| | | } |
| | |
| | | Complete = 20, |
| | | } |
| | | |
| | | enum EnumTaskUserArrangeStatus { |
| | | /**未安排 */ |
| | | Wait = 10, |
| | | /**已安排 */ |
| | | 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 { |
| | |
| | | timestamp?: number; |
| | | } |
| | | |
| | | interface FriendlyResultGetArrangeTaskUsersQueryResult { |
| | | /** 跟踪Id */ |
| | | traceId?: string; |
| | | /** 状态码 */ |
| | | code?: number; |
| | | /** 错误码 */ |
| | | errorCode?: string; |
| | | data?: GetArrangeTaskUsersQueryResult; |
| | | /** 执行成功 */ |
| | | success?: boolean; |
| | | /** 错误信息 */ |
| | | msg?: any; |
| | | /** 附加数据 */ |
| | | extras?: any; |
| | | /** 时间戳 */ |
| | | timestamp?: number; |
| | | } |
| | | |
| | | interface FriendlyResultGetCheckReceiveTaskInfosQueryResult { |
| | | /** 跟踪Id */ |
| | | traceId?: string; |
| | | /** 状态码 */ |
| | | code?: number; |
| | | /** 错误码 */ |
| | | errorCode?: string; |
| | | data?: GetCheckReceiveTaskInfosQueryResult; |
| | | /** 执行成功 */ |
| | | success?: boolean; |
| | | /** 错误信息 */ |
| | | msg?: any; |
| | | /** 附加数据 */ |
| | | extras?: any; |
| | | /** 时间戳 */ |
| | | timestamp?: number; |
| | | } |
| | | |
| | | interface FriendlyResultGetEnterpriseElectronSignSettingQueryResult { |
| | | /** 跟踪Id */ |
| | | traceId?: string; |
| | |
| | | /** 错误码 */ |
| | | errorCode?: string; |
| | | data?: GetEnterpriseElectronSignSettingQueryResult; |
| | | /** 执行成功 */ |
| | | success?: boolean; |
| | | /** 错误信息 */ |
| | | msg?: any; |
| | | /** 附加数据 */ |
| | | extras?: any; |
| | | /** 时间戳 */ |
| | | timestamp?: number; |
| | | } |
| | | |
| | | interface FriendlyResultGetEnterpriseEmployeesQueryResult { |
| | | /** 跟踪Id */ |
| | | traceId?: string; |
| | | /** 状态码 */ |
| | | code?: number; |
| | | /** 错误码 */ |
| | | errorCode?: string; |
| | | data?: GetEnterpriseEmployeesQueryResult; |
| | | /** 执行成功 */ |
| | | success?: boolean; |
| | | /** 错误信息 */ |
| | |
| | | timestamp?: number; |
| | | } |
| | | |
| | | interface FriendlyResultGetPersonalApplyTaskInfosQueryResult { |
| | | /** 跟踪Id */ |
| | | traceId?: string; |
| | | /** 状态码 */ |
| | | code?: number; |
| | | /** 错误码 */ |
| | | errorCode?: string; |
| | | data?: GetPersonalApplyTaskInfosQueryResult; |
| | | /** 执行成功 */ |
| | | success?: boolean; |
| | | /** 错误信息 */ |
| | | msg?: any; |
| | | /** 附加数据 */ |
| | | extras?: any; |
| | | /** 时间戳 */ |
| | | timestamp?: number; |
| | | } |
| | | |
| | | interface FriendlyResultGetPersonalCancelTaskInfosQueryResult { |
| | | /** 跟踪Id */ |
| | | traceId?: string; |
| | | /** 状态码 */ |
| | | code?: number; |
| | | /** 错误码 */ |
| | | errorCode?: string; |
| | | data?: GetPersonalCancelTaskInfosQueryResult; |
| | | /** 执行成功 */ |
| | | success?: boolean; |
| | | /** 错误信息 */ |
| | | msg?: any; |
| | | /** 附加数据 */ |
| | | extras?: any; |
| | | /** 时间戳 */ |
| | | timestamp?: number; |
| | | } |
| | | |
| | | interface FriendlyResultGetPersonalHireTaskInfosQueryResult { |
| | | /** 跟踪Id */ |
| | | traceId?: string; |
| | | /** 状态码 */ |
| | | code?: number; |
| | | /** 错误码 */ |
| | | errorCode?: string; |
| | | data?: GetPersonalHireTaskInfosQueryResult; |
| | | /** 执行成功 */ |
| | | success?: boolean; |
| | | /** 错误信息 */ |
| | | msg?: any; |
| | | /** 附加数据 */ |
| | | extras?: any; |
| | | /** 时间戳 */ |
| | | timestamp?: number; |
| | | } |
| | | |
| | | interface FriendlyResultGetPersonalLoginInfoQueryResult { |
| | | /** 跟踪Id */ |
| | | traceId?: string; |
| | | /** 状态码 */ |
| | | code?: number; |
| | | /** 错误码 */ |
| | | errorCode?: string; |
| | | data?: GetPersonalLoginInfoQueryResult; |
| | | /** 执行成功 */ |
| | | success?: boolean; |
| | | /** 错误信息 */ |
| | | msg?: any; |
| | | /** 附加数据 */ |
| | | extras?: any; |
| | | /** 时间戳 */ |
| | | timestamp?: number; |
| | | } |
| | | |
| | | interface FriendlyResultGetRoleQueryResult { |
| | | /** 跟踪Id */ |
| | | traceId?: string; |
| | |
| | | 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; |
| | |
| | | /** 错误码 */ |
| | | 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; |
| | | /** 错误信息 */ |
| | |
| | | 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; |
| | | /** 错误信息 */ |
| | |
| | | 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; |
| | | /** 错误信息 */ |
| | |
| | | requestId?: string; |
| | | } |
| | | |
| | | interface GetAreaSelectQueryResultOption { |
| | | /** Id */ |
| | | areaCode?: string; |
| | | /** 地区名称 */ |
| | | areaName?: string; |
| | | /** 子级 */ |
| | | children?: GetAreaSelectQueryResultOption[]; |
| | | /** Id */ |
| | | id?: string; |
| | | /** 上级编号 */ |
| | | parentCode?: string; |
| | | /** 层级 */ |
| | | leyer?: number; |
| | | /** 排序 */ |
| | | sort?: number; |
| | | /** 快速查询 */ |
| | | quickQuery?: string; |
| | | } |
| | | |
| | | interface GetArrangeTaskUsersQuery { |
| | | /** 任务Id */ |
| | | id?: string; |
| | | /** 关键字(姓名/身份证/电话) */ |
| | | keywords?: string; |
| | | arrangeStatus?: EnumTaskUserArrangeStatus; |
| | | pageModel?: PagedListQueryPageModel; |
| | | } |
| | | |
| | | interface GetArrangeTaskUsersQueryResult { |
| | | pageModel?: PagedListQueryResultPageModel; |
| | | /** 数据 */ |
| | | data?: GetArrangeTaskUsersQueryResultItem[]; |
| | | } |
| | | |
| | | interface GetArrangeTaskUsersQueryResultItem { |
| | | /** 任务人员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; |
| | | arrangeStatus?: EnumTaskUserArrangeStatus; |
| | | } |
| | | |
| | | interface GetCheckReceiveTaskInfosQuery { |
| | | /** 关键字 */ |
| | | keywords?: string; |
| | | /** 验收日期-最早时间 */ |
| | | submitTimeBegin?: string; |
| | | /** 验收日期-最晚时间 */ |
| | | submitTimeEnd?: string; |
| | | checkReceiveStatus?: EnumTaskCheckReceiveStatus; |
| | | pageModel?: PagedListQueryPageModel; |
| | | } |
| | | |
| | | interface GetCheckReceiveTaskInfosQueryResult { |
| | | pageModel?: PagedListQueryResultPageModel; |
| | | /** 数据 */ |
| | | data?: GetCheckReceiveTaskInfosQueryResultItem[]; |
| | | } |
| | | |
| | | interface GetCheckReceiveTaskInfosQueryResultItem { |
| | | /** 任务Id */ |
| | | id?: string; |
| | | /** 任务名称 */ |
| | | name?: string; |
| | | /** 任务开始时间 */ |
| | | beginTime?: string; |
| | | /** 任务结束时间 */ |
| | | endTime?: string; |
| | | /** 任务地点名称 */ |
| | | addressName?: string; |
| | | checkReceiveStatus?: EnumTaskCheckReceiveStatus; |
| | | } |
| | | |
| | | type GetCurrentLogierMenusQuery = Record<string, any>; |
| | | |
| | | interface GetDictionaryCategoriesQuery { |
| | | pageModel?: PagedListQueryPageModel; |
| | | /** 关键字 */ |
| | | keywords?: string; |
| | | pageModel?: PagedListQueryPageModel; |
| | | } |
| | | |
| | | interface GetDictionaryCategoriesQueryResultItem { |
| | |
| | | |
| | | 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(Id/编号二选一) */ |
| | | categoryId?: string; |
| | | /** 类别编号(Id/编号二选一) */ |
| | |
| | | parentId?: string; |
| | | /** 关键字 */ |
| | | keywords?: string; |
| | | pageModel?: PagedListQueryPageModel; |
| | | } |
| | | |
| | | interface GetDictionaryDatasQueryResultItem { |
| | |
| | | signCost?: number; |
| | | /** 一口价 */ |
| | | 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 { |
| | |
| | | } |
| | | |
| | | interface GetEnterprisesQuery { |
| | | pageModel?: PagedListQueryPageModel; |
| | | /** 关键字 */ |
| | | keywords?: string; |
| | | /** 是否已配置 */ |
| | | isConfigured?: boolean; |
| | | pageModel?: PagedListQueryPageModel; |
| | | } |
| | | |
| | | interface GetEnterprisesQueryResultItem { |
| | |
| | | } |
| | | |
| | | interface GetOperationUserInfosQuery { |
| | | pageModel?: PagedListQueryPageModel; |
| | | /** 关键字 */ |
| | | keywords?: string; |
| | | pageModel?: PagedListQueryPageModel; |
| | | } |
| | | |
| | | interface GetOperationUserInfosQueryResultItem { |
| | |
| | | id?: string; |
| | | /** 名称 */ |
| | | name?: string; |
| | | } |
| | | |
| | | interface GetPersonalApplyTaskInfosQuery { |
| | | status?: GetPersonalApplyTaskInfosQueryStatus; |
| | | pageModel?: PagedListQueryPageModel; |
| | | } |
| | | |
| | | interface GetPersonalApplyTaskInfosQueryResult { |
| | | pageModel?: PagedListQueryResultPageModel; |
| | | /** 数据 */ |
| | | data?: GetPersonalApplyTaskInfosQueryResultItem[]; |
| | | } |
| | | |
| | | interface GetPersonalApplyTaskInfosQueryResultItem { |
| | | /** 任务Id */ |
| | | id?: string; |
| | | /** 任务名称 */ |
| | | name?: string; |
| | | /** 任务开始时间 */ |
| | | beginTime?: string; |
| | | /** 任务结束时间 */ |
| | | endTime?: string; |
| | | billingMethod?: EnumBillingMethod; |
| | | /** 服务费 */ |
| | | serviceFee?: number; |
| | | settlementCycle?: EnumSettlementCycle; |
| | | /** 福利 */ |
| | | benefits?: GetTaskInfoQueryResultBenefit[]; |
| | | /** 任务地点名称 */ |
| | | addressName?: string; |
| | | status?: GetPersonalApplyTaskInfosQueryStatus; |
| | | } |
| | | |
| | | enum GetPersonalApplyTaskInfosQueryStatus { |
| | | /**待确认 */ |
| | | WaitHire = 10, |
| | | /**待签约 */ |
| | | WaitSignContract = 20, |
| | | } |
| | | |
| | | interface GetPersonalCancelTaskInfosQuery { |
| | | pageModel?: PagedListQueryPageModel; |
| | | } |
| | | |
| | | interface GetPersonalCancelTaskInfosQueryResult { |
| | | pageModel?: PagedListQueryResultPageModel; |
| | | /** 数据 */ |
| | | data?: GetPersonalCancelTaskInfosQueryResultItem[]; |
| | | } |
| | | |
| | | interface GetPersonalCancelTaskInfosQueryResultItem { |
| | | /** 任务Id */ |
| | | id?: string; |
| | | /** 任务名称 */ |
| | | name?: string; |
| | | /** 任务开始时间 */ |
| | | beginTime?: string; |
| | | /** 任务结束时间 */ |
| | | endTime?: string; |
| | | billingMethod?: EnumBillingMethod; |
| | | /** 服务费 */ |
| | | serviceFee?: number; |
| | | settlementCycle?: EnumSettlementCycle; |
| | | /** 福利 */ |
| | | benefits?: GetTaskInfoQueryResultBenefit[]; |
| | | /** 任务地点名称 */ |
| | | addressName?: string; |
| | | } |
| | | |
| | | interface GetPersonalHireTaskInfosQuery { |
| | | status?: GetPersonalHireTaskInfosQueryStatus; |
| | | pageModel?: PagedListQueryPageModel; |
| | | } |
| | | |
| | | interface GetPersonalHireTaskInfosQueryResult { |
| | | pageModel?: PagedListQueryResultPageModel; |
| | | /** 数据 */ |
| | | data?: GetPersonalHireTaskInfosQueryResultItem[]; |
| | | } |
| | | |
| | | interface GetPersonalHireTaskInfosQueryResultItem { |
| | | /** 任务Id */ |
| | | id?: string; |
| | | /** 任务名称 */ |
| | | name?: string; |
| | | /** 任务开始时间 */ |
| | | beginTime?: string; |
| | | /** 任务结束时间 */ |
| | | endTime?: string; |
| | | billingMethod?: EnumBillingMethod; |
| | | /** 服务费 */ |
| | | serviceFee?: number; |
| | | settlementCycle?: EnumSettlementCycle; |
| | | /** 福利 */ |
| | | benefits?: GetTaskInfoQueryResultBenefit[]; |
| | | /** 任务地点名称 */ |
| | | addressName?: string; |
| | | status?: GetPersonalHireTaskInfosQueryStatus; |
| | | } |
| | | |
| | | enum GetPersonalHireTaskInfosQueryStatus { |
| | | /**进行中 */ |
| | | InProcess = 10, |
| | | /**已完成 */ |
| | | Completed = 20, |
| | | } |
| | | |
| | | type GetPersonalLoginInfoQuery = Record<string, any>; |
| | | |
| | | interface GetPersonalLoginInfoQueryResult { |
| | | /** Id */ |
| | | id?: string; |
| | | /** 姓名 */ |
| | | name?: string; |
| | | /** 是否实名 */ |
| | | isReal?: boolean; |
| | | realMethod?: EnumUserRealMethod; |
| | | /** 我的报名 */ |
| | | taskCount?: number; |
| | | /** 已录用 */ |
| | | hirePassTaskCount?: number; |
| | | /** 已取消 */ |
| | | hireRefuseTaskCount?: number; |
| | | } |
| | | |
| | | interface GetResourceFieldsQueryResultItem { |
| | |
| | | } |
| | | |
| | | interface GetRolesQuery { |
| | | pageModel?: PagedListQueryPageModel; |
| | | userType?: EnumUserType; |
| | | clientType?: EnumClientType; |
| | | /** 关键字 */ |
| | | keywords?: string; |
| | | pageModel?: PagedListQueryPageModel; |
| | | } |
| | | |
| | | interface GetRolesQueryResultItem { |
| | |
| | | /** 企业Id */ |
| | | enterpriseId?: string; |
| | | /** 企业全称 */ |
| | | enterpriseEnterpriseName?: string; |
| | | enterpriseName?: string; |
| | | /** 联系电话 */ |
| | | contactPhoneNumber?: string; |
| | | /** 在招岗位数量 */ |
| | | taskCount?: number; |
| | | /** 报名人数 */ |
| | | applyCount?: number; |
| | | /** 任务名称 */ |
| | | name?: string; |
| | | billingMethod?: EnumBillingMethod; |
| | |
| | | isCollected?: boolean; |
| | | status?: EnumTaskStatus; |
| | | releaseStatus?: EnumTaskReleaseStatus; |
| | | hireStatus?: EnumTaskUserHireStatus; |
| | | applyButton?: GetTaskInfoQueryResultApplyButton; |
| | | hireButton?: GetTaskInfoQueryResultHireButton; |
| | | } |
| | | |
| | | enum GetTaskInfoQueryResultApplyButton { |
| | | /**待确认 */ |
| | | WaitHire = 10, |
| | | /**去签约 */ |
| | | WaitSignContract = 20, |
| | | } |
| | | |
| | | interface GetTaskInfoQueryResultBenefit { |
| | |
| | | typeContent?: string; |
| | | } |
| | | |
| | | enum GetTaskInfoQueryResultHireButton { |
| | | /**申请验收 */ |
| | | ApplyCheckReceive = 1, |
| | | /**进行中 */ |
| | | InProcess = 10, |
| | | /**已完成 */ |
| | | Completed = 20, |
| | | } |
| | | |
| | | interface GetTaskInfosQuery { |
| | | pageModel?: PagedListQueryPageModel; |
| | | /** 关键字(任务名称) */ |
| | | keywords?: string; |
| | | /** 企业Id */ |
| | |
| | | status?: EnumTaskStatus; |
| | | releaseStatus?: EnumTaskReleaseStatus; |
| | | recommendStatus?: EnumTaskRecommendStatus; |
| | | checkReceiveStatus?: EnumTaskCheckReceiveStatus; |
| | | pageModel?: PagedListQueryPageModel; |
| | | } |
| | | |
| | | interface GetTaskInfosQueryResult { |
| | | objectData?: GetTaskInfosQueryResultObjectData; |
| | | pageModel?: PagedListQueryResultPageModel; |
| | | /** 数据 */ |
| | | data?: GetTaskInfosQueryResultItem[]; |
| | | objectData?: GetTaskInfosQueryResultObjectData; |
| | | } |
| | | |
| | | interface GetTaskInfosQueryResultItem { |
| | |
| | | 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; |
| | |
| | | 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; |
| | | /** 证书正面照片 */ |
| | | 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; |
| | | /** 证书正面照片 */ |
| | | 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 { |
| | |
| | | } |
| | | |
| | | interface PagedListQueryResultPageModel { |
| | | /** 总数 */ |
| | | totalCount?: number; |
| | | /** 页数 */ |
| | | totalPage?: number; |
| | | /** 行数 */ |
| | | rows?: number; |
| | | /** 页码 */ |
| | | page?: number; |
| | | /** 排序 */ |
| | | orderInput?: PagedListQueryPageModelOrderInput[]; |
| | | /** 总数 */ |
| | | totalCount?: number; |
| | | /** 页数 */ |
| | | totalPage?: number; |
| | | } |
| | | |
| | | interface PasswordLoginCommand { |
| | |
| | | clientType?: EnumClientType; |
| | | } |
| | | |
| | | interface RegisterPersonalUserCommand { |
| | | /** 手机号码 */ |
| | | phoneNumber: string; |
| | | /** 验证码 */ |
| | | verifyCode: string; |
| | | } |
| | | |
| | | interface SaveDictionaryCategoryCommand { |
| | | /** Id */ |
| | | id?: string; |
| | | /** 编号 */ |
| | | code: string; |
| | | /** 名称 */ |
| | |
| | | fieldNames?: string; |
| | | /** 排序 */ |
| | | sort?: number; |
| | | /** Id */ |
| | | id?: string; |
| | | } |
| | | |
| | | interface SaveDictionaryDataCommand { |
| | | /** Id */ |
| | | id?: string; |
| | | /** 类别Id(Id/编号二选一) */ |
| | | categoryId?: string; |
| | | /** 类别编号(Id/编号二选一) */ |
| | |
| | | sort?: number; |
| | | /** 是否禁用 */ |
| | | isDisabled?: boolean; |
| | | /** Id */ |
| | | id?: string; |
| | | } |
| | | |
| | | interface SaveEnterpriseCommand { |
| | | /** Id */ |
| | | id?: string; |
| | | /** 企业全称 */ |
| | | enterpriseName: string; |
| | | /** 统一社会信用代码 */ |
| | |
| | | userName?: string; |
| | | /** 密码 */ |
| | | password?: string; |
| | | /** Id */ |
| | | id?: string; |
| | | } |
| | | |
| | | interface SaveMenuButtonCommand { |
| | | /** Id */ |
| | | id?: string; |
| | | /** 菜单Id */ |
| | | parentId?: string; |
| | | /** 编号 */ |
| | |
| | | sort?: number; |
| | | /** 备注 */ |
| | | remark?: string; |
| | | /** Id */ |
| | | id?: string; |
| | | } |
| | | |
| | | interface SaveMenuCommand { |
| | | /** Id */ |
| | | id?: string; |
| | | userType?: EnumUserType; |
| | | clientType?: EnumClientType; |
| | | /** 上级Id */ |
| | |
| | | remark?: string; |
| | | /** 分组 */ |
| | | groups?: SaveMenuCommandGroup[]; |
| | | /** Id */ |
| | | id?: string; |
| | | } |
| | | |
| | | interface SaveMenuCommandButton { |
| | |
| | | } |
| | | |
| | | interface SaveMenuFieldCommand { |
| | | /** Id */ |
| | | id?: string; |
| | | /** 菜单Id */ |
| | | parentId?: string; |
| | | /** 编号 */ |
| | |
| | | sort?: number; |
| | | /** 备注 */ |
| | | remark?: string; |
| | | /** Id */ |
| | | id?: string; |
| | | } |
| | | |
| | | interface SaveRoleCommand { |
| | |
| | | resources?: GetRoleQueryResultResource[]; |
| | | } |
| | | |
| | | interface SaveScheduleJobDetailCommand { |
| | | /** 资源Id */ |
| | | resourceId?: string; |
| | | /** 请求数据 */ |
| | | body?: string; |
| | | /** Cron表达式 */ |
| | | cron?: string; |
| | | } |
| | | |
| | | interface SaveTaskInfoCommand { |
| | | /** Id */ |
| | | id?: string; |
| | | /** 任务名称 */ |
| | | name: string; |
| | | billingMethod: EnumBillingMethod; |
| | |
| | | beginTime: string; |
| | | /** 任务结束时间 */ |
| | | endTime: string; |
| | | /** Id */ |
| | | id?: string; |
| | | } |
| | | |
| | | interface SaveUserResumeCredentialCommand { |
| | | /** 证书类型编号 */ |
| | | typeCode: string; |
| | | /** 证书编号 */ |
| | | code?: string; |
| | | /** 永久证书 */ |
| | | isForever?: boolean; |
| | | /** 开始日期 */ |
| | | startDate: string; |
| | | /** 结束日期 */ |
| | | endDate: string; |
| | | /** 发证单位 */ |
| | | issueUnit?: string; |
| | | /** 证书正面照片 */ |
| | | 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 { |
| | |
| | | value?: string; |
| | | /** 标签 */ |
| | | label?: string; |
| | | /** 数据 */ |
| | | data?: any; |
| | | data?: GetDictionaryCategorySelectQueryOption; |
| | | } |
| | | |
| | | interface SelectOptionStringGetDictionaryDataSelectQueryResultOption { |
| | |
| | | value?: string; |
| | | /** 标签 */ |
| | | label?: string; |
| | | /** 数据 */ |
| | | data?: any; |
| | | data?: GetDictionaryDataSelectQueryResultOption; |
| | | } |
| | | |
| | | interface SendLoginOrRegisterVerifyCodeCommand { |
| | |
| | | releaseStatus?: EnumTaskReleaseStatus; |
| | | } |
| | | |
| | | interface SetTaskUserArrangeCommand { |
| | | /** 任务人员Id */ |
| | | id?: string; |
| | | arrangeStatus?: EnumTaskUserArrangeStatus; |
| | | } |
| | | |
| | | interface SetTaskUserHireCommand { |
| | | /** 任务人员Id */ |
| | | id?: string; |
| | | hireStatus?: EnumTaskUserHireStatus; |
| | | } |
| | | |
| | | interface SetUserInfoRolesCommand { |
| | | /** 用户Id */ |
| | | userInfoId?: string; |
| | |
| | | |
| | | type SyncHumanResourcesAreaDictionaryDataCommand = Record<string, any>; |
| | | |
| | | interface UpdatePhoneNumberVerifyCodeCommand { |
| | | /** 手机号码 */ |
| | | phoneNumber: string; |
| | | } |
| | | |
| | | interface WxmpLoginCommand { |
| | | /** 用户登录凭证 */ |
| | | code: string; |
| | |
| | | }); |
| | | } |
| | | |
| | | /** 查询用户简历 GET /api/user/user/getUserResume */ |
| | | export async function getUserResume( |
| | | // 叠加生成的Param类型 (非body参数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, |
New file |
| | |
| | | /* 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( |
| | | // 叠加生成的Param类型 (非body参数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( |
| | | // 叠加生成的Param类型 (非body参数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( |
| | | // 叠加生成的Param类型 (非body参数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( |
| | | // 叠加生成的Param类型 (非body参数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( |
| | | // 叠加生成的Param类型 (非body参数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( |
| | | // 叠加生成的Param类型 (非body参数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( |
| | | // 叠加生成的Param类型 (非body参数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 || {}), |
| | | }); |
| | | } |
| | |
| | | useFormDialog, |
| | | } from '@bole-core/components'; |
| | | import { CheckManageColumns } from './constants'; |
| | | import { FlexEnterpriseSettingStatus, Gender } from '@/constants'; |
| | | import { EnumUserGender } from '@/constants'; |
| | | import CheckManageDialog from './components/CheckManageDialog.vue'; |
| | | |
| | | defineOptions({ |
| | |
| | | defaultExtraParams: { |
| | | searchWord: '', |
| | | orderInput: [{ property: 'id', order: EnumPagedListOrder.Desc }], |
| | | flexEnterpriseSettingStatus: '' as any as FlexEnterpriseSettingStatus, |
| | | flexEnterpriseSettingStatus: '' as any, |
| | | }, |
| | | queryKey: ['flexEnterpriseServices/getFlexEnterpriseList'], |
| | | columnsRenderProps: {}, |
| | |
| | | <AppContainer> |
| | | <ProTableQueryFilterBar @on-reset="reset"> |
| | | <template #query> |
| | | <QueryFilterItem tip-content="录用状态"> |
| | | <FieldRadio |
| | | v-model="extraParamState.flexEnterpriseSettingStatus" |
| | | :value-enum="[ |
| | | { label: '已安排', value: 1 }, |
| | | { label: '待安排', value: 0 }, |
| | | ]" |
| | | buttonStyle |
| | | showAllBtn |
| | | @change="getList()" |
| | | /> |
| | | </QueryFilterItem> |
| | | <QueryFilterItem tip-content="实名状态"> |
| | | <FieldRadio |
| | | v-model="extraParamState.flexEnterpriseSettingStatus" |
| | | :value-enum="[ |
| | | { label: '发布中', value: 1 }, |
| | | { label: '已停止', value: 0 }, |
| | | ]" |
| | | buttonStyle |
| | | showAllBtn |
| | | @change="getList()" |
| | | /> |
| | | </QueryFilterItem> |
| | | <QueryFilterItem> |
| | | <FieldDatePicker |
| | | v-model="extraParamState.flexEnterpriseSettingStatus" |
| | | type="daterange" |
| | | range-separator="~" |
| | | start-placeholder="起始日期" |
| | | end-placeholder="截止日期" |
| | | clearable |
| | | <FieldRadio |
| | | v-model="extraParamState.arrangeStatus" |
| | | :value-enum="EnumTaskUserArrangeStatusText" |
| | | buttonStyle |
| | | showAllBtn |
| | | @change="getList()" |
| | | tooltipContent="发布时间" |
| | | ></FieldDatePicker> |
| | | /> |
| | | </QueryFilterItem> |
| | | <QueryFilterItem> |
| | | <SearchInput |
| | |
| | | } from '@bole-core/components'; |
| | | import { EmploymentArrangeColumns } from './constants'; |
| | | import { Message } from '@bole-core/core'; |
| | | import { FlexEnterpriseSettingStatus } from '@/constants'; |
| | | import * as taskUserServices from '@/services/api/taskUser'; |
| | | import { EnumTaskUserArrangeStatusText } from '@/constants'; |
| | | |
| | | defineOptions({ |
| | | name: 'EmploymentManageArrange', |
| | |
| | | emits: { |
| | | onClick: (role) => handleArrange(role), |
| | | }, |
| | | extraProps: { |
| | | hide: (row: API.GetArrangeTaskUsersQueryResultItem) => |
| | | row.arrangeStatus === EnumTaskUserArrangeStatus.Complete, |
| | | }, |
| | | }, |
| | | ]); |
| | | |
| | | const router = useRouter(); |
| | | const route = useRoute(); |
| | | const id = route.params.id as string; |
| | | |
| | | const BaseState = { |
| | | loading: true, |
| | |
| | | } = useTable( |
| | | async ({ pageIndex, pageSize }, extraParamState) => { |
| | | try { |
| | | let params: API.GetFlexEnterpriseInput = { |
| | | let params: API.GetArrangeTaskUsersQuery = { |
| | | pageModel: { |
| | | rows: pageSize, |
| | | page: pageIndex, |
| | | orderInput: extraParamState.orderInput, |
| | | }, |
| | | flexEnterpriseSettingStatus: extraParamState.flexEnterpriseSettingStatus, |
| | | searchWord: extraParamState.searchWord, |
| | | id: id, |
| | | keywords: extraParamState.searchWord, |
| | | arrangeStatus: extraParamState.arrangeStatus, |
| | | }; |
| | | |
| | | let res = await flexEnterpriseServices.getFlexEnterpriseList(params, { |
| | | let res = await taskUserServices.getArrangeTaskUsers(params, { |
| | | showLoading: !state.loading, |
| | | }); |
| | | return res; |
| | |
| | | defaultExtraParams: { |
| | | searchWord: '', |
| | | orderInput: [{ property: 'id', order: EnumPagedListOrder.Desc }], |
| | | flexEnterpriseSettingStatus: '' as any as FlexEnterpriseSettingStatus, |
| | | arrangeStatus: '' as any as EnumTaskUserArrangeStatus, |
| | | }, |
| | | queryKey: ['flexEnterpriseServices/getFlexEnterpriseList'], |
| | | columnsRenderProps: {}, |
| | | queryKey: ['taskUserServices/getArrangeTaskUsers'], |
| | | columnsRenderProps: { |
| | | gender: { type: 'enum', valueEnum: EnumUserGenderTextForPerson }, |
| | | arrangeStatus: { type: 'enum', valueEnum: EnumTaskUserArrangeStatusText }, |
| | | }, |
| | | } |
| | | ); |
| | | |
| | | function handleArrange(row) { |
| | | console.log('row: ', row); |
| | | async function handleArrange(row: API.GetArrangeTaskUsersQueryResultItem) { |
| | | try { |
| | | let res = await taskUserServices.setTaskUserArrange({ |
| | | id: row.id, |
| | | arrangeStatus: EnumTaskUserArrangeStatus.Complete, |
| | | }); |
| | | if (res) { |
| | | Message.successMessage('操作成功'); |
| | | getList(paginationState.pageIndex); |
| | | } |
| | | } catch (error) {} |
| | | } |
| | | </script> |
| | |
| | | <template #query> |
| | | <QueryFilterItem tip-content="录用状态"> |
| | | <FieldRadio |
| | | v-model="extraParamState.flexEnterpriseSettingStatus" |
| | | :value-enum="[ |
| | | { label: '已录用', value: 1 }, |
| | | { label: '待录用', value: 0 }, |
| | | ]" |
| | | v-model="extraParamState.hireStatus" |
| | | :value-enum="EnumTaskUserHireStatusText" |
| | | buttonStyle |
| | | showAllBtn |
| | | @change="getList()" |
| | |
| | | } from '@bole-core/components'; |
| | | import { EmploymentSignColumns } from './constants/columns'; |
| | | import { Message } from '@bole-core/core'; |
| | | import { FlexEnterpriseSettingStatus, Gender } from '@/constants'; |
| | | import { EnumUserGender, EnumTaskUserHireStatusText } from '@/constants'; |
| | | import StaffInfoDialog from '@/views/FlexJobManage/components/StaffInfoDialog.vue'; |
| | | import { convertApi2FormUrlOnlyOne } from '@/utils'; |
| | | import * as taskUserServices from '@/services/api/taskUser'; |
| | | |
| | | defineOptions({ |
| | | name: 'EmploymentSignList', |
| | |
| | | name: '录用', |
| | | }, |
| | | emits: { |
| | | onClick: (role) => handleRecruit(role), |
| | | onClick: (role) => setTaskUserHire(role, EnumTaskUserHireStatus.Pass), |
| | | }, |
| | | extraProps: { |
| | | hide: (row) => false, |
| | | hide: (row: API.GetTaskUsersQueryResultItem) => |
| | | row.hireStatus === EnumTaskUserHireStatus.Pass, |
| | | }, |
| | | }, |
| | | { |
| | |
| | | name: '谢绝', |
| | | }, |
| | | emits: { |
| | | onClick: (role) => handleRefuse(role), |
| | | onClick: (role) => setTaskUserHire(role, EnumTaskUserHireStatus.Refuse), |
| | | }, |
| | | extraProps: { |
| | | hide: (row) => false, |
| | | hide: (row: API.GetTaskUsersQueryResultItem) => |
| | | row.hireStatus !== EnumTaskUserHireStatus.Wait, |
| | | }, |
| | | }, |
| | | ]); |
| | |
| | | } = useTable( |
| | | async ({ pageIndex, pageSize }, extraParamState) => { |
| | | try { |
| | | let params: API.GetFlexEnterpriseInput = { |
| | | let params: API.GetTaskUsersQuery = { |
| | | pageModel: { |
| | | rows: pageSize, |
| | | page: pageIndex, |
| | | orderInput: extraParamState.orderInput, |
| | | }, |
| | | flexEnterpriseSettingStatus: extraParamState.flexEnterpriseSettingStatus, |
| | | searchWord: extraParamState.searchWord, |
| | | // searchWord: extraParamState.searchWord, |
| | | id: id, |
| | | }; |
| | | |
| | | let res = await flexEnterpriseServices.getFlexEnterpriseList(params, { |
| | | let res = await taskUserServices.getTaskUsers(params, { |
| | | showLoading: !state.loading, |
| | | }); |
| | | return res; |
| | |
| | | defaultExtraParams: { |
| | | searchWord: '', |
| | | orderInput: [{ property: 'id', order: EnumPagedListOrder.Desc }], |
| | | flexEnterpriseSettingStatus: '' as any as FlexEnterpriseSettingStatus, |
| | | hireStatus: '' as any as EnumTaskUserHireStatus, |
| | | }, |
| | | queryKey: ['flexEnterpriseServices/getFlexEnterpriseList'], |
| | | columnsRenderProps: {}, |
| | | queryKey: ['taskUserServices/getTaskUsers'], |
| | | columnsRenderProps: { |
| | | gender: { type: 'enum', valueEnum: EnumUserGenderTextForPerson }, |
| | | hireStatus: { type: 'enum', valueEnum: EnumTaskUserHireStatusText }, |
| | | }, |
| | | } |
| | | ); |
| | | |
| | |
| | | defaultFormParams: { |
| | | id: '', |
| | | name: '', |
| | | idNumber: '', |
| | | phoneNumber: '', |
| | | genderType: Gender.Male, |
| | | age: 0, |
| | | companyId: '', |
| | | customerId: '', |
| | | identity: '', |
| | | contactPhoneNumber: '', |
| | | gender: EnumUserGender.Male, |
| | | age: null as any as number, |
| | | idFrontUrl: [] as UploadUserFile[], |
| | | idBackUrl: [] as UploadUserFile[], |
| | | contractUrl: [] as UploadUserFile[], |
| | | regiterTime: '', |
| | | realVerifyTime: '', |
| | | signTime: '', |
| | | userRealTime: '', |
| | | userSignContractTime: '', |
| | | isDetail: false, |
| | | }, |
| | | }); |
| | | |
| | | function openDialog(row) { |
| | | function openDialog(row: API.GetTaskUsersQueryResultItem) { |
| | | handleStaffInfoEdit({ |
| | | id: row.id, |
| | | name: row.name, |
| | | idNumber: row.idNumber, |
| | | phoneNumber: row.phoneNumber, |
| | | genderType: Gender.Male, |
| | | age: row.age ?? 0, |
| | | companyId: row.companyId, |
| | | customerId: row.customerId, |
| | | identity: row.identity, |
| | | contactPhoneNumber: row.contactPhoneNumber, |
| | | gender: row.gender, |
| | | age: row.age ?? null, |
| | | idFrontUrl: convertApi2FormUrlOnlyOne(row.idFrontUrl), |
| | | idBackUrl: convertApi2FormUrlOnlyOne(row.idBackUrl), |
| | | contractUrl: convertApi2FormUrlOnlyOne(row.contractUrl, { |
| | | fileName: row.contractUrl ? row.contractUrl.split('/').pop() : '合同', |
| | | }), |
| | | regiterTime: row.regiterTime, |
| | | realVerifyTime: row.realVerifyTime, |
| | | signTime: row.signTime, |
| | | regiterTime: row.regiterTime ?? '', |
| | | userRealTime: row.userRealTime, |
| | | userSignContractTime: row.userSignContractTime, |
| | | isDetail: true, |
| | | }); |
| | | } |
| | | |
| | | function handleRecruit(row) {} |
| | | function handleRefuse(row) {} |
| | | async function setTaskUserHire( |
| | | row: API.GetTaskUsersQueryResultItem, |
| | | hireStatus: EnumTaskUserHireStatus |
| | | ) { |
| | | try { |
| | | let params: API.SetTaskUserHireCommand = { |
| | | id: row.id, |
| | | hireStatus: hireStatus, |
| | | }; |
| | | let res = await taskUserServices.setTaskUserHire(params); |
| | | if (res) { |
| | | Message.successMessage('操作成功'); |
| | | getList(paginationState.pageIndex); |
| | | } |
| | | } catch (error) {} |
| | | } |
| | | </script> |
| | |
| | | releaseStatus: '' as any as EnumTaskReleaseStatus, |
| | | time: [] as unknown as ModelValueType, |
| | | orderInput: [{ property: 'id', order: EnumPagedListOrder.Desc }], |
| | | flexEnterpriseSettingStatus: '' as any as FlexEnterpriseSettingStatus, |
| | | }, |
| | | queryKey: ['taskServices/getTaskInfos'], |
| | | columnsRenderProps: { |
| | |
| | | }, |
| | | { |
| | | id: '2', |
| | | enCode: 'name', |
| | | enCode: 'identity', |
| | | name: '身份证号', |
| | | }, |
| | | { |
| | | id: '3', |
| | | enCode: 'name', |
| | | enCode: 'contactPhoneNumber', |
| | | name: '电话', |
| | | }, |
| | | { |
| | | id: '4', |
| | | enCode: 'name', |
| | | enCode: 'age', |
| | | name: '年龄', |
| | | }, |
| | | { |
| | | id: '5', |
| | | enCode: 'name', |
| | | enCode: 'gender', |
| | | name: '性别', |
| | | }, |
| | | { |
| | | id: '6', |
| | | enCode: 'name', |
| | | enCode: 'educationalBackgroundContent', |
| | | name: '学历', |
| | | }, |
| | | { |
| | | id: '7', |
| | | enCode: 'name', |
| | | enCode: 'arrangeStatus', |
| | | name: '排班状态', |
| | | }, |
| | | ]); |
| | |
| | | }, |
| | | { |
| | | id: '2', |
| | | enCode: 'name', |
| | | enCode: 'identity', |
| | | name: '身份证号', |
| | | }, |
| | | { |
| | | id: '3', |
| | | enCode: 'name', |
| | | enCode: 'contactPhoneNumber', |
| | | name: '电话', |
| | | }, |
| | | { |
| | | id: '4', |
| | | enCode: 'name', |
| | | enCode: 'age', |
| | | name: '年龄', |
| | | }, |
| | | { |
| | | id: '5', |
| | | enCode: 'name', |
| | | enCode: 'gender', |
| | | name: '性别', |
| | | }, |
| | | { |
| | | id: '6', |
| | | enCode: 'name', |
| | | enCode: 'educationalBackgroundContent', |
| | | name: '学历', |
| | | }, |
| | | { |
| | | id: '7', |
| | | enCode: 'name', |
| | | enCode: 'hireStatus', |
| | | name: '录用状态', |
| | | }, |
| | | ]); |
| | |
| | | <template #query> |
| | | <QueryFilterItem tip-content="录用状态"> |
| | | <FieldRadio |
| | | v-model="extraParamState.flexEnterpriseSettingStatus" |
| | | :value-enum="[ |
| | | { label: '已录用', value: 1 }, |
| | | { label: '未录用', value: 0 }, |
| | | ]" |
| | | v-model="extraParamState.hireStatus" |
| | | :value-enum="EnumTaskUserHireStatusText" |
| | | buttonStyle |
| | | showAllBtn |
| | | @change="getList()" |
| | |
| | | </QueryFilterItem> |
| | | <QueryFilterItem tip-content="实名状态"> |
| | | <FieldRadio |
| | | v-model="extraParamState.flexEnterpriseSettingStatus" |
| | | v-model="extraParamState.isReal" |
| | | :value-enum="[ |
| | | { label: '已实名', value: 1 }, |
| | | { label: '未实名', value: 0 }, |
| | | { label: '已实名', value: true }, |
| | | { label: '未实名', value: false }, |
| | | ]" |
| | | buttonStyle |
| | | showAllBtn |
| | | :all-btn-value="null" |
| | | @change="getList()" |
| | | /> |
| | | </QueryFilterItem> |
| | | <QueryFilterItem tip-content="灵工签约状态"> |
| | | <FieldSelect |
| | | v-model="extraParamState.flexEnterpriseSettingStatus" |
| | | :value-enum="[ |
| | | { label: '已实名', value: 1 }, |
| | | { label: '未实名', value: 0 }, |
| | | ]" |
| | | buttonStyle |
| | | showAllBtn |
| | | v-model="extraParamState.userSignContractStatus" |
| | | :value-enum="EnumTaskUserSignContractStatusText" |
| | | placeholder="请选择灵工签约状态" |
| | | clearable |
| | | @change="getList()" |
| | | /> |
| | | </QueryFilterItem> |
| | | <QueryFilterItem tip-content="企业签约状态"> |
| | | <FieldSelect |
| | | v-model="extraParamState.flexEnterpriseSettingStatus" |
| | | :value-enum="[ |
| | | { label: '已实名', value: 1 }, |
| | | { label: '未实名', value: 0 }, |
| | | ]" |
| | | buttonStyle |
| | | showAllBtn |
| | | v-model="extraParamState.enterpriseSignContractStatus" |
| | | :value-enum="EnumTaskUserSignContractStatusText" |
| | | placeholder="请选择企业签约状态" |
| | | clearable |
| | | @change="getList()" |
| | | /> |
| | | </QueryFilterItem> |
| | | <QueryFilterItem> |
| | | <FieldDatePicker |
| | | v-model="extraParamState.flexEnterpriseSettingStatus" |
| | | v-model="extraParamState.createdTime" |
| | | type="daterange" |
| | | range-separator="~" |
| | | start-placeholder="起始日期" |
| | |
| | | </QueryFilterItem> |
| | | <QueryFilterItem> |
| | | <FieldDatePicker |
| | | v-model="extraParamState.flexEnterpriseSettingStatus" |
| | | v-model="extraParamState.signContractTime" |
| | | type="daterange" |
| | | range-separator="~" |
| | | start-placeholder="起始日期" |
| | |
| | | UploadUserFile, |
| | | } from '@bole-core/components'; |
| | | import { FlexJobManageColumns } from './constants'; |
| | | import { FlexEnterpriseSettingStatus, Gender } from '@/constants'; |
| | | import { EnumTaskUserHireStatusText, EnumTaskUserSignContractStatusText } from '@/constants'; |
| | | import { Message } from '@bole-core/core'; |
| | | import { convertApi2FormUrlOnlyOne, downloadFileByUrl } from '@/utils'; |
| | | import { convertApi2FormUrlOnlyOne, downloadFileByUrl, format } from '@/utils'; |
| | | import StaffInfoDialog from './components/StaffInfoDialog.vue'; |
| | | import BatchImportDialog from './components/BatchImportDialog.vue'; |
| | | import SendShotMessageDialog from './components/SendShotMessageDialog.vue'; |
| | | import * as enterpriseEmployeeServices from '@/services/api/enterpriseEmployee'; |
| | | import { ModelValueType } from 'element-plus'; |
| | | |
| | | defineOptions({ |
| | | name: 'EnterpriseManageList', |
| | |
| | | onClick: (role) => handleSign(role), |
| | | }, |
| | | extraProps: { |
| | | hide: (row) => false, |
| | | hide: (row: API.GetEnterpriseEmployeesQueryResultItem) => |
| | | !( |
| | | row.userSignContractStatus === EnumTaskUserSignContractStatus.Pass && |
| | | row.enterpriseSignContractStatus === EnumTaskUserSignContractStatus.Wait |
| | | ), |
| | | }, |
| | | }, |
| | | { |
| | |
| | | onClick: (role) => handleUnSign(role), |
| | | }, |
| | | extraProps: { |
| | | hide: (row) => false, |
| | | hide: (row: API.GetEnterpriseEmployeesQueryResultItem) => |
| | | !( |
| | | row.userSignContractStatus === EnumTaskUserSignContractStatus.Pass && |
| | | row.enterpriseSignContractStatus === EnumTaskUserSignContractStatus.Pass |
| | | ), |
| | | }, |
| | | }, |
| | | { |
| | |
| | | } = useTable( |
| | | async ({ pageIndex, pageSize }, extraParamState) => { |
| | | try { |
| | | let params: API.GetFlexEnterpriseInput = { |
| | | let params: API.GetEnterpriseEmployeesQuery = { |
| | | pageModel: { |
| | | rows: pageSize, |
| | | page: pageIndex, |
| | | orderInput: extraParamState.orderInput, |
| | | }, |
| | | flexEnterpriseSettingStatus: extraParamState.flexEnterpriseSettingStatus, |
| | | searchWord: extraParamState.searchWord, |
| | | keywords: extraParamState.searchWord, |
| | | createdTimeStart: format(extraParamState.createdTime?.[0] ?? '', 'YYYY-MM-DD 00:00:00'), |
| | | createdTimeEnd: format(extraParamState.createdTime?.[1] ?? '', 'YYYY-MM-DD 23:59:59'), |
| | | signContractTimeStart: format( |
| | | extraParamState.signContractTime?.[0] ?? '', |
| | | 'YYYY-MM-DD 00:00:00' |
| | | ), |
| | | signContractTimeEnd: format( |
| | | extraParamState.signContractTime?.[1] ?? '', |
| | | 'YYYY-MM-DD 23:59:59' |
| | | ), |
| | | hireStatus: extraParamState.hireStatus, |
| | | isReal: extraParamState.isReal, |
| | | userSignContractStatus: extraParamState.userSignContractStatus, |
| | | enterpriseSignContractStatus: extraParamState.enterpriseSignContractStatus, |
| | | }; |
| | | |
| | | let res = await flexEnterpriseServices.getFlexEnterpriseList(params, { |
| | | let res = await enterpriseEmployeeServices.getEnterpriseEmployees(params, { |
| | | showLoading: !state.loading, |
| | | }); |
| | | return res; |
| | |
| | | defaultExtraParams: { |
| | | searchWord: '', |
| | | orderInput: [{ property: 'id', order: EnumPagedListOrder.Desc }], |
| | | flexEnterpriseSettingStatus: '' as any as FlexEnterpriseSettingStatus, |
| | | createdTime: [] as unknown as ModelValueType, |
| | | signContractTime: [] as unknown as ModelValueType, |
| | | hireStatus: '' as any as EnumTaskUserHireStatus, |
| | | isReal: null as any as boolean, |
| | | userSignContractStatus: '' as any as EnumTaskUserSignContractStatus, |
| | | enterpriseSignContractStatus: '' as any as EnumTaskUserSignContractStatus, |
| | | }, |
| | | queryKey: ['flexEnterpriseServices/getFlexEnterpriseList'], |
| | | columnsRenderProps: {}, |
| | | queryKey: ['enterpriseEmployeeServices/getEnterpriseEmployees'], |
| | | columnsRenderProps: { |
| | | gender: { type: 'enum', valueEnum: EnumUserGenderTextForPerson }, |
| | | hireStatus: { type: 'enum', valueEnum: EnumTaskUserHireStatusText }, |
| | | userIsReal: { |
| | | formatter: (row: API.GetEnterpriseEmployeesQueryResultItem) => { |
| | | return row.userIsReal ? '已实名' : '未实名'; |
| | | }, |
| | | }, |
| | | userSignContractStatus: { type: 'enum', valueEnum: EnumTaskUserSignContractStatusText }, |
| | | hireTime: { type: 'date' }, |
| | | userRealTime: { type: 'date' }, |
| | | userSignContractTime: { type: 'date' }, |
| | | enterpriseSignContractStatus: { type: 'enum', valueEnum: EnumTaskUserSignContractStatusText }, |
| | | enterpriseSignContractTime: { type: 'date' }, |
| | | }, |
| | | } |
| | | ); |
| | | |
| | |
| | | defaultFormParams: { |
| | | id: '', |
| | | name: '', |
| | | idNumber: '', |
| | | phoneNumber: '', |
| | | genderType: Gender.Male, |
| | | age: 0, |
| | | companyId: '', |
| | | customerId: '', |
| | | identity: '', |
| | | contactPhoneNumber: '', |
| | | gender: EnumUserGender.Male, |
| | | age: null as any as number, |
| | | idFrontUrl: [] as UploadUserFile[], |
| | | idBackUrl: [] as UploadUserFile[], |
| | | contractUrl: [] as UploadUserFile[], |
| | | regiterTime: '', |
| | | realVerifyTime: '', |
| | | signTime: '', |
| | | userRealTime: '', |
| | | userSignContractTime: '', |
| | | isDetail: false, |
| | | }, |
| | | }); |
| | | |
| | | function openDialog(row, isDetail = false) { |
| | | function openDialog(row: API.GetEnterpriseEmployeesQueryResultItem, isDetail = false) { |
| | | handleStaffInfoEdit({ |
| | | id: row.id, |
| | | name: row.name, |
| | | idNumber: row.idNumber, |
| | | phoneNumber: row.phoneNumber, |
| | | genderType: Gender.Male, |
| | | age: row.age ?? 0, |
| | | companyId: row.companyId, |
| | | customerId: row.customerId, |
| | | identity: row.identity, |
| | | contactPhoneNumber: row.contactPhoneNumber, |
| | | gender: row.gender, |
| | | age: row.age ?? null, |
| | | idFrontUrl: convertApi2FormUrlOnlyOne(row.idFrontUrl), |
| | | idBackUrl: convertApi2FormUrlOnlyOne(row.idBackUrl), |
| | | contractUrl: convertApi2FormUrlOnlyOne(row.contractUrl, { |
| | | fileName: row.contractUrl ? row.contractUrl.split('/').pop() : '合同', |
| | | }), |
| | | regiterTime: row.regiterTime, |
| | | realVerifyTime: row.realVerifyTime, |
| | | signTime: row.signTime, |
| | | regiterTime: row.regiterTime ?? '', |
| | | userRealTime: row.userRealTime, |
| | | userSignContractTime: row.userSignContractTime, |
| | | isDetail: isDetail, |
| | | }); |
| | | } |
| | |
| | | |
| | | function handleBatchUnSign() {} |
| | | |
| | | function handleSign(row) {} |
| | | function handleSign(row: API.GetEnterpriseEmployeesQueryResultItem) {} |
| | | function handleBatchSign() {} |
| | | async function handleUnSign(row) { |
| | | async function handleUnSign(row: API.GetEnterpriseEmployeesQueryResultItem) { |
| | | try { |
| | | await Message.tipMessage('确定解约用户?'); |
| | | } catch (error) {} |
| | | } |
| | | |
| | | async function handleDelete(row) { |
| | | async function handleDelete(row: API.GetEnterpriseEmployeesQueryResultItem) { |
| | | try { |
| | | await Message.deleteMessage(); |
| | | } catch (error) {} |
| | |
| | | <ProFormColItem :span="12"> |
| | | <ProFormItemV2 |
| | | label="身份证号:" |
| | | prop="idNumber" |
| | | prop="identity" |
| | | :check-rules="[{ message: '请输入身份证号', type: 'idCard' }]" |
| | | > |
| | | <ProFormText placeholder="请输入身份证号" v-model.trim="form.idNumber"></ProFormText> |
| | | <ProFormText placeholder="请输入身份证号" v-model.trim="form.identity"></ProFormText> |
| | | </ProFormItemV2> |
| | | </ProFormColItem> |
| | | <ProFormColItem :span="12"> |
| | | <ProFormItemV2 v-if="form.isDetail" label="实名时间:" prop="realVerifyTime"> |
| | | <div>{{ format(form.realVerifyTime, 'YYYY-MM-DD HH:mm') }}</div> |
| | | <ProFormItemV2 v-if="form.isDetail" label="实名时间:" prop="userRealTime"> |
| | | <div>{{ format(form.userRealTime, 'YYYY-MM-DD HH:mm') }}</div> |
| | | </ProFormItemV2> |
| | | </ProFormColItem> |
| | | <ProFormColItem :span="12"> |
| | | <ProFormItemV2 |
| | | label="手机号:" |
| | | prop="phoneNumber" |
| | | prop="contactPhoneNumber" |
| | | :check-rules="[{ message: '请输入手机号', type: 'phone' }]" |
| | | > |
| | | <ProFormText placeholder="请输入手机号" v-model.trim="form.phoneNumber"></ProFormText> |
| | | <ProFormText |
| | | placeholder="请输入手机号" |
| | | v-model.trim="form.contactPhoneNumber" |
| | | ></ProFormText> |
| | | </ProFormItemV2> |
| | | </ProFormColItem> |
| | | <ProFormColItem :span="12"> |
| | | <ProFormItemV2 v-if="form.isDetail" label="签约时间:" prop="signTime"> |
| | | <div>{{ format(form.signTime, 'YYYY-MM-DD HH:mm') }}</div> |
| | | <ProFormItemV2 v-if="form.isDetail" label="签约时间:" prop="userSignContractTime"> |
| | | <div>{{ format(form.userSignContractTime, 'YYYY-MM-DD HH:mm') }}</div> |
| | | </ProFormItemV2> |
| | | </ProFormColItem> |
| | | <ProFormColItem :span="12"> |
| | | <ProFormItemV2 label="性别:" prop="phoneNumber" required> |
| | | <ProFormItemV2 |
| | | label="性别:" |
| | | prop="gender" |
| | | required |
| | | :check-rules="[{ message: '请选择性别' }]" |
| | | > |
| | | <ProFormRadio |
| | | v-model="form.genderType" |
| | | :value-enum="GenderText" |
| | | v-model="form.gender" |
| | | :value-enum="EnumUserGenderTextForPerson" |
| | | :buttonStyle="false" |
| | | ></ProFormRadio> |
| | | </ProFormItemV2> |
| | |
| | | :controls="false" |
| | | :min="0" |
| | | :max="9999" |
| | | :unit="form.isDetail ? '岁' : ''" |
| | | ></ProFormInputNumber> |
| | | placeholder="请输入年龄" |
| | | > |
| | | <template #readContent> |
| | | <span v-if="form.age">{{ form.age }}岁</span> |
| | | <span v-else></span> |
| | | </template> |
| | | </ProFormInputNumber> |
| | | </ProFormItemV2> |
| | | </ProFormColItem> |
| | | </ProFormCol> |
| | |
| | | ProFormInputNumber, |
| | | } from '@bole-core/components'; |
| | | import { format } from '@/utils'; |
| | | import { Gender, GenderText } from '@/constants'; |
| | | import { EnumUserGender, EnumUserGenderTextForPerson } from '@/constants'; |
| | | |
| | | defineOptions({ |
| | | name: 'StaffInfoDialog', |
| | |
| | | title?: string; |
| | | id: string; |
| | | name: string; |
| | | idNumber: string; |
| | | phoneNumber: string; |
| | | genderType: Gender; |
| | | identity: string; |
| | | contactPhoneNumber: string; |
| | | gender: EnumUserGender; |
| | | age: number; |
| | | customerId: string; |
| | | companyId: string; |
| | | idFrontUrl: UploadUserFile[]; |
| | | idBackUrl: UploadUserFile[]; |
| | | contractUrl: UploadUserFile[]; |
| | | regiterTime: string; |
| | | realVerifyTime: string; |
| | | signTime: string; |
| | | userRealTime: string; |
| | | userSignContractTime: string; |
| | | isDetail: boolean; |
| | | }; |
| | | |
| | |
| | | }, |
| | | { |
| | | id: '2', |
| | | enCode: 'idNumber', |
| | | enCode: 'identity', |
| | | name: '身份证号', |
| | | }, |
| | | { |
| | | id: '3', |
| | | enCode: 'sex', |
| | | enCode: 'gender', |
| | | name: '性别', |
| | | }, |
| | | { |
| | |
| | | }, |
| | | { |
| | | id: '6', |
| | | enCode: 'phoneNumber', |
| | | enCode: 'contactPhoneNumber', |
| | | name: '手机号', |
| | | }, |
| | | { |
| | | id: '8', |
| | | enCode: 'regiterStatus', |
| | | enCode: 'hireStatus', |
| | | name: '录用状态', |
| | | }, |
| | | { |
| | | id: '9', |
| | | enCode: 'realVerifyStatus', |
| | | enCode: 'userIsReal', |
| | | name: '实名状态', |
| | | }, |
| | | { |
| | | id: '10', |
| | | enCode: 'signStatus', |
| | | enCode: 'userSignContractStatus', |
| | | name: '灵工签约状态', |
| | | }, |
| | | { |
| | | id: '11', |
| | | enCode: 'regiterTime', |
| | | enCode: 'hireTime', |
| | | name: '录用时间', |
| | | }, |
| | | { |
| | | id: '12', |
| | | enCode: 'realVerifyTime', |
| | | enCode: 'userRealTime', |
| | | name: '实名时间', |
| | | }, |
| | | { |
| | | id: '13', |
| | | enCode: 'signTime', |
| | | enCode: 'userSignContractTime', |
| | | name: '签约时间', |
| | | }, |
| | | { |
| | | id: '14', |
| | | enCode: 'enterSignStatus', |
| | | enCode: 'enterpriseSignContractStatus', |
| | | name: '企业签约状态', |
| | | }, |
| | | { |
| | | id: '15', |
| | | enCode: 'enterSignTime', |
| | | enCode: 'enterpriseSignContractTime', |
| | | name: '企业签约时间', |
| | | }, |
| | | ]); |
| | |
| | | UploadUserFile, |
| | | } from '@bole-core/components'; |
| | | import { ServiceChargeManageColumns } from './constants'; |
| | | import { FlexEnterpriseSettingStatus, Gender } from '@/constants'; |
| | | import { EnumUserGender } from '@/constants'; |
| | | import { downloadFileByUrl } from '@/utils'; |
| | | |
| | | defineOptions({ |