| | |
| | | <nut-step |
| | | v-for="(taskInfoUser, index) in taskInfoUsers" |
| | | :key="index" |
| | | :title="taskInfoUser.signContractTime" |
| | | :title="taskInfoUser.hireTime" |
| | | > |
| | | <template #content> |
| | | <p>在{{ taskInfoUser.enterpriseName }}:</p> |
| | |
| | | Wxmp = 20, |
| | | } |
| | | |
| | | /** 数据来源 */ |
| | | export enum EnumDataSource { |
| | | /**818 */ |
| | | HumanResources = 10, |
| | | } |
| | | |
| | | /** 企业实名方式 */ |
| | | export enum EnumEnterpriseRealMethod { |
| | | /**企业三要素 */ |
| | | Identity3 = 10, |
| | | /**企业四要素 */ |
| | | Identity4 = 20, |
| | | } |
| | | |
| | | /** 菜单类型 */ |
| | | export enum EnumMenuType { |
| | | /**菜单 */ |
| | |
| | | NeedPower = 30, |
| | | } |
| | | |
| | | /** 文字识别通道 */ |
| | | export enum EnumOcrAccess { |
| | | /**百度 */ |
| | | Baidu = 10, |
| | | } |
| | | |
| | | /** 分页列表排序 */ |
| | | export enum EnumPagedListOrder { |
| | | /**升序 */ |
| | | Asc = 0, |
| | | /**降序 */ |
| | | Desc = 1, |
| | | } |
| | | |
| | | /** 支付通道 */ |
| | | export enum EnumPayAccess { |
| | | /**平安银行 */ |
| | | PingAnBank = 10, |
| | | /**支付宝 */ |
| | | Alipay = 20, |
| | | } |
| | | |
| | | /** 空闲时间 */ |
| | |
| | | Not = 30, |
| | | } |
| | | |
| | | /** 个人实名方式 */ |
| | | export enum EnumPersonalRealMethod { |
| | | /**个人手机号三要素 */ |
| | | Identity3 = 10, |
| | | /**银行卡多要素 */ |
| | | Identity4 = 20, |
| | | /**刷脸认证 */ |
| | | Face = 30, |
| | | } |
| | | |
| | | /** 实名通道 */ |
| | | export enum EnumRealAccess { |
| | | /**上上签 */ |
| | |
| | | TaskUser = 2, |
| | | /**任务验收 */ |
| | | TaskCheckReceive = 3, |
| | | /**文字识别 */ |
| | | FileUtils = 4, |
| | | /**文字识别 */ |
| | | OcrUtils = 5, |
| | | /**用户认证 */ |
| | | Auth = 4, |
| | | Auth = 6, |
| | | /**用户菜单 */ |
| | | Menu = 5, |
| | | Menu = 7, |
| | | /**用户资源 */ |
| | | Resource = 6, |
| | | Resource = 8, |
| | | /**用户角色 */ |
| | | Role = 7, |
| | | Role = 9, |
| | | /**用户信息 */ |
| | | User = 8, |
| | | User = 10, |
| | | /**用户简历 */ |
| | | UserResume = 9, |
| | | UserResume = 11, |
| | | /**企业信息 */ |
| | | Enterprise = 10, |
| | | Enterprise = 12, |
| | | /**灵工信息 */ |
| | | EnterpriseEmployee = 11, |
| | | EnterpriseEmployee = 13, |
| | | } |
| | | |
| | | /** 资源请求方式 */ |
| | |
| | | |
| | | /** 我的已录用分页列表-状态 */ |
| | | export enum GetPersonalHireTaskInfosQueryStatus { |
| | | /**待开始 */ |
| | | Wait = 1, |
| | | /**进行中 */ |
| | | InProcess = 10, |
| | | /**已完成 */ |
| | |
| | | |
| | | /** 我的录用列表-详情-按钮类型 */ |
| | | export enum GetTaskInfoQueryResultHireButton { |
| | | /**待开始 */ |
| | | Wait = 1, |
| | | /**申请验收 */ |
| | | ApplyCheckReceive = 1, |
| | | ApplyCheckReceive = 5, |
| | | /**进行中 */ |
| | | InProcess = 10, |
| | | /**已完成 */ |
New file |
| | |
| | | /* eslint-disable */ |
| | | // @ts-ignore |
| | | import { request } from '@/utils/request'; |
| | | |
| | | /** 获取文件地址 GET /api/common/fileUtils/getFileUrl */ |
| | | export async function getFileUrl( |
| | | // 叠加生成的Param类型 (非body参数swagger默认没有生成对象) |
| | | params: API.APIgetFileUrlParams, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<string>('/api/common/fileUtils/getFileUrl', { |
| | | method: 'GET', |
| | | params: { |
| | | ...params, |
| | | }, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** 上传文件 POST /api/common/fileUtils/uploadFile */ |
| | | export async function uploadFile( |
| | | body: { |
| | | /** 场景 */ |
| | | Scene?: string; |
| | | }, |
| | | File?: File, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | const formData = new FormData(); |
| | | |
| | | if (File) { |
| | | formData.append('File', File); |
| | | } |
| | | |
| | | Object.keys(body).forEach((ele) => { |
| | | const item = (body as any)[ele]; |
| | | |
| | | if (item !== undefined && item !== null) { |
| | | formData.append( |
| | | ele, |
| | | typeof item === 'object' && !(item instanceof File) ? JSON.stringify(item) : item |
| | | ); |
| | | } |
| | | }); |
| | | |
| | | return request<API.UploadFileCommandResult>('/api/common/fileUtils/uploadFile', { |
| | | method: 'POST', |
| | | data: formData, |
| | | requestType: 'form', |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | |
| | | import * as role from './role'; |
| | | import * as enterprise from './enterprise'; |
| | | import * as task from './task'; |
| | | import * as ocrUtils from './ocrUtils'; |
| | | import * as dictionary from './dictionary'; |
| | | import * as userResume from './userResume'; |
| | | import * as auth from './auth'; |
| | |
| | | import * as resource from './resource'; |
| | | import * as taskUser from './taskUser'; |
| | | import * as menu from './menu'; |
| | | import * as fileUtils from './fileUtils'; |
| | | export default { |
| | | enterpriseEmployee, |
| | | user, |
| | | role, |
| | | enterprise, |
| | | task, |
| | | ocrUtils, |
| | | dictionary, |
| | | userResume, |
| | | auth, |
| | |
| | | resource, |
| | | taskUser, |
| | | menu, |
| | | fileUtils, |
| | | }; |
New file |
| | |
| | | /* eslint-disable */ |
| | | // @ts-ignore |
| | | import { request } from '@/utils/request'; |
| | | |
| | | /** 文字识别营业执照 GET /api/common/ocrUtils/getLicenseOcr */ |
| | | export async function getLicenseOcr( |
| | | // 叠加生成的Param类型 (非body参数swagger默认没有生成对象) |
| | | params: API.APIgetLicenseOcrParams, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<API.GetLicenseOcrCommandResult>('/api/common/ocrUtils/getLicenseOcr', { |
| | | method: 'GET', |
| | | params: { |
| | | ...params, |
| | | }, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | |
| | | ...(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 || {}), |
| | | }); |
| | | } |
| | |
| | | // @ts-ignore |
| | | import { request } from '@/utils/request'; |
| | | |
| | | /** 按日期修订任务状态 POST /api/flexjob/task/autoTaskStatusByDate */ |
| | | export async function autoTaskStatusByDate( |
| | | body: API.AutoTaskStatusByDateCommand, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<number>('/api/flexjob/task/autoTaskStatusByDate', { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json-patch+json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** 删除任务 DELETE /api/flexjob/task/deleteTaskInfo */ |
| | | export async function deleteTaskInfo(body: API.DeleteTaskInfoCommand, options?: API.RequestConfig) { |
| | | return request<number>('/api/flexjob/task/deleteTaskInfo', { |
| | |
| | | id?: string; |
| | | } |
| | | |
| | | interface APIgetFileUrlParams { |
| | | /** 地址 */ |
| | | url?: string; |
| | | } |
| | | |
| | | interface APIgetLicenseOcrParams { |
| | | /** 通道 */ |
| | | access?: EnumOcrAccess; |
| | | /** 场景 */ |
| | | scene?: string; |
| | | /** 链接地址 */ |
| | | url?: string; |
| | | /** 是否为云存储相对地址 */ |
| | | isOssUrl?: boolean; |
| | | } |
| | | |
| | | interface APIgetMenuParams { |
| | | /** Id */ |
| | | id?: string; |
| | |
| | | ids?: string[]; |
| | | } |
| | | |
| | | type AutoTaskStatusByDateCommand = Record<string, any>; |
| | | interface BaiduOcrBusinessLicenseResultModel { |
| | | /** 企业全称 */ |
| | | enterpriseName?: string; |
| | | /** 统一社会信用代码 */ |
| | | societyCreditCode?: string; |
| | | /** 法人姓名 */ |
| | | legalPerson?: string; |
| | | /** 企业类型 */ |
| | | enterpriseType?: string; |
| | | /** 注册资本 */ |
| | | registeredCapital?: string; |
| | | /** 成立日期 */ |
| | | establishmentDate?: string; |
| | | /** 企业地址 */ |
| | | address?: string; |
| | | /** 经营范围 */ |
| | | mainBusiness?: string; |
| | | } |
| | | |
| | | interface BindWxmpUserInfoCommand { |
| | | /** 访问令牌 */ |
| | |
| | | Wxmp = 20, |
| | | } |
| | | |
| | | enum EnumDataSource { |
| | | /**818 */ |
| | | HumanResources = 10, |
| | | } |
| | | |
| | | enum EnumEnterpriseRealMethod { |
| | | /**企业三要素 */ |
| | | Identity3 = 10, |
| | | /**企业四要素 */ |
| | | Identity4 = 20, |
| | | } |
| | | |
| | | enum EnumMenuType { |
| | | /**菜单 */ |
| | | Menu = 10, |
| | |
| | | NeedPower = 30, |
| | | } |
| | | |
| | | enum EnumOcrAccess { |
| | | /**百度 */ |
| | | Baidu = 10, |
| | | } |
| | | |
| | | enum EnumPagedListOrder { |
| | | /**升序 */ |
| | | Asc = 0, |
| | | /**降序 */ |
| | | Desc = 1, |
| | | } |
| | | |
| | | enum EnumPayAccess { |
| | | /**平安银行 */ |
| | | PingAnBank = 10, |
| | | /**支付宝 */ |
| | | Alipay = 20, |
| | | } |
| | | |
| | | enum EnumPersonalFreeTime { |
| | |
| | | Not = 30, |
| | | } |
| | | |
| | | enum EnumPersonalRealMethod { |
| | | /**个人手机号三要素 */ |
| | | Identity3 = 10, |
| | | /**银行卡多要素 */ |
| | | Identity4 = 20, |
| | | /**刷脸认证 */ |
| | | Face = 30, |
| | | } |
| | | |
| | | enum EnumRealAccess { |
| | | /**上上签 */ |
| | | BestSign = 10, |
| | |
| | | TaskUser = 2, |
| | | /**任务验收 */ |
| | | TaskCheckReceive = 3, |
| | | /**文字识别 */ |
| | | FileUtils = 4, |
| | | /**文字识别 */ |
| | | OcrUtils = 5, |
| | | /**用户认证 */ |
| | | Auth = 4, |
| | | Auth = 6, |
| | | /**用户菜单 */ |
| | | Menu = 5, |
| | | Menu = 7, |
| | | /**用户资源 */ |
| | | Resource = 6, |
| | | Resource = 8, |
| | | /**用户角色 */ |
| | | Role = 7, |
| | | Role = 9, |
| | | /**用户信息 */ |
| | | User = 8, |
| | | User = 10, |
| | | /**用户简历 */ |
| | | UserResume = 9, |
| | | UserResume = 11, |
| | | /**企业信息 */ |
| | | Enterprise = 10, |
| | | Enterprise = 12, |
| | | /**灵工信息 */ |
| | | EnterpriseEmployee = 11, |
| | | EnterpriseEmployee = 13, |
| | | } |
| | | |
| | | enum EnumResourceMethod { |
| | |
| | | /** 错误码 */ |
| | | errorCode?: string; |
| | | data?: GetEnterpriseSmsSettingQueryResult; |
| | | /** 执行成功 */ |
| | | success?: boolean; |
| | | /** 错误信息 */ |
| | | msg?: any; |
| | | /** 附加数据 */ |
| | | extras?: any; |
| | | /** 时间戳 */ |
| | | timestamp?: number; |
| | | } |
| | | |
| | | interface FriendlyResultGetLicenseOcrCommandResult { |
| | | /** 跟踪Id */ |
| | | traceId?: string; |
| | | /** 状态码 */ |
| | | code?: number; |
| | | /** 错误码 */ |
| | | errorCode?: string; |
| | | data?: GetLicenseOcrCommandResult; |
| | | /** 执行成功 */ |
| | | success?: boolean; |
| | | /** 错误信息 */ |
| | |
| | | timestamp?: number; |
| | | } |
| | | |
| | | interface FriendlyResultUploadFileCommandResult { |
| | | /** 跟踪Id */ |
| | | traceId?: string; |
| | | /** 状态码 */ |
| | | code?: number; |
| | | /** 错误码 */ |
| | | errorCode?: string; |
| | | data?: UploadFileCommandResult; |
| | | /** 执行成功 */ |
| | | success?: boolean; |
| | | /** 错误信息 */ |
| | | msg?: any; |
| | | /** 附加数据 */ |
| | | extras?: any; |
| | | /** 时间戳 */ |
| | | timestamp?: number; |
| | | } |
| | | |
| | | type GetAliyunOSSAcsQuery = Record<string, any>; |
| | | |
| | | interface GetAliyunOSSAcsQueryResult { |
| | |
| | | isConfigured?: boolean; |
| | | } |
| | | |
| | | interface GetLicenseOcrCommandResult { |
| | | /** 地址 */ |
| | | url?: string; |
| | | model?: BaiduOcrBusinessLicenseResultModel; |
| | | } |
| | | |
| | | interface GetMenuQueryResult { |
| | | /** Id */ |
| | | id?: string; |
| | |
| | | } |
| | | |
| | | enum GetPersonalHireTaskInfosQueryStatus { |
| | | /**待开始 */ |
| | | Wait = 1, |
| | | /**进行中 */ |
| | | InProcess = 10, |
| | | /**已完成 */ |
| | |
| | | } |
| | | |
| | | enum GetTaskInfoQueryResultHireButton { |
| | | /**待开始 */ |
| | | Wait = 1, |
| | | /**申请验收 */ |
| | | ApplyCheckReceive = 1, |
| | | ApplyCheckReceive = 5, |
| | | /**进行中 */ |
| | | InProcess = 10, |
| | | /**已完成 */ |
| | |
| | | checkReceiveStatus?: EnumTaskCheckReceiveStatus; |
| | | settlementStatus?: EnumTaskSettlementStatus; |
| | | recommendStatus?: EnumTaskRecommendStatus; |
| | | hireStatus?: EnumTaskUserHireStatus; |
| | | /** 发布时间 */ |
| | | createdTime?: string; |
| | | } |
| | |
| | | } |
| | | |
| | | interface GetUserResumeQueryResultExperience { |
| | | /** 签约时间 */ |
| | | signContractTime?: string; |
| | | /** 录用时间 */ |
| | | hireTime?: string; |
| | | /** 企业全称 */ |
| | | enterpriseName?: string; |
| | | /** 任务名称 */ |
| | |
| | | workExperience?: string; |
| | | /** 创建时间 */ |
| | | createdTime?: string; |
| | | hireStatus?: EnumTaskUserHireStatus; |
| | | } |
| | | |
| | | type GetUserResumeWorkExperienceQuery = Record<string, any>; |
| | |
| | | resources?: GetRoleQueryResultResource[]; |
| | | } |
| | | |
| | | interface SaveScheduleJobDetailCommand { |
| | | /** 资源Id */ |
| | | resourceId?: string; |
| | | /** 请求数据 */ |
| | | body?: string; |
| | | /** Cron表达式 */ |
| | | cron?: string; |
| | | } |
| | | |
| | | interface SaveTaskInfoCommand { |
| | | /** 任务名称 */ |
| | | name: string; |
| | |
| | | files?: string[]; |
| | | } |
| | | |
| | | interface SyncEnterpriseUserCommand { |
| | | dataSource?: EnumDataSource; |
| | | /** 数据来源Id */ |
| | | dataSourceId?: string; |
| | | /** 密码 */ |
| | | password?: string; |
| | | /** 姓名 */ |
| | | name?: string; |
| | | /** 用户名 */ |
| | | userName?: string; |
| | | /** 手机号 */ |
| | | phoneNumber?: string; |
| | | status?: EnumUserStatus; |
| | | enterprise?: SyncEnterpriseUserCommandEnterprise; |
| | | } |
| | | |
| | | interface SyncEnterpriseUserCommandEnterprise { |
| | | /** 园区Id */ |
| | | industrialParkId?: string; |
| | | /** 企业全称 */ |
| | | enterpriseName: string; |
| | | /** 统一社会信用代码 */ |
| | | societyCreditCode: string; |
| | | /** 营业执照照片 */ |
| | | licenseImage?: string; |
| | | /** 法人姓名 */ |
| | | legalPerson?: string; |
| | | /** 法人身份证号 */ |
| | | legalIdentity?: string; |
| | | /** 所在省份编号 */ |
| | | provinceCode?: string; |
| | | /** 所在城市编号 */ |
| | | cityCode?: string; |
| | | /** 联系人 */ |
| | | contacts?: string; |
| | | /** 联系电话 */ |
| | | contactPhoneNumber?: string; |
| | | /** 联系邮箱 */ |
| | | contactEmail?: string; |
| | | payAccess?: EnumPayAccess; |
| | | /** 开户总行 */ |
| | | bankName?: string; |
| | | /** 开户支行 */ |
| | | bankBranchName?: string; |
| | | /** 银行账户 */ |
| | | bankCard?: string; |
| | | /** 是否已校验银行账户 */ |
| | | isCheckedBankCard?: boolean; |
| | | realAccess?: EnumRealAccess; |
| | | /** 实名费用 */ |
| | | realVerifyCost?: number; |
| | | /** 签约费用 */ |
| | | signCost?: number; |
| | | /** 一口价 */ |
| | | mergeSignCost?: number; |
| | | /** 是否实名 */ |
| | | isReal?: boolean; |
| | | enterpriseAuth?: SyncEnterpriseUserCommandEnterpriseAuth; |
| | | } |
| | | |
| | | interface SyncEnterpriseUserCommandEnterpriseAuth { |
| | | enterpriseRealMethod?: EnumEnterpriseRealMethod; |
| | | personalRealMethod?: EnumPersonalRealMethod; |
| | | /** 法人或经办人姓名 */ |
| | | name?: string; |
| | | /** 法人或经办人身份证号 */ |
| | | identity?: string; |
| | | /** 法人或经办人身份证人像面 */ |
| | | identityImg?: string; |
| | | /** 法人或经办人身份证国徽面 */ |
| | | identityBackImg?: string; |
| | | /** 法人或经办人银行卡号 */ |
| | | bankCard?: string; |
| | | /** 法人或经办人银行卡照片 */ |
| | | bankCardImg?: string; |
| | | /** 法人或经办人手机号 */ |
| | | phoneNumber?: string; |
| | | /** 是否委托经办人 */ |
| | | proxy?: boolean; |
| | | /** 企业授权书 */ |
| | | proxyPowerAttorneyUrl?: string; |
| | | } |
| | | |
| | | type SyncHumanResourcesAreaDictionaryDataCommand = Record<string, any>; |
| | | |
| | | interface UpdatePhoneNumberVerifyCodeCommand { |
| | |
| | | phoneNumber: string; |
| | | } |
| | | |
| | | interface UploadFileCommandResult { |
| | | /** 地址 */ |
| | | url?: string; |
| | | } |
| | | |
| | | interface WxmpLoginCommand { |
| | | /** 用户登录凭证 */ |
| | | code: string; |
| | |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** 同步企业用户 POST /api/user/user/syncEnterpriseUser */ |
| | | export async function syncEnterpriseUser( |
| | | body: API.SyncEnterpriseUserCommand, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<string>('/api/user/user/syncEnterpriseUser', { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json-patch+json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | }); |
| | | } |