| | |
| | | "EnumBillingMethodUnitText": true, |
| | | "EnumClientType": true, |
| | | "EnumClientTypeText": true, |
| | | "EnumContractTemplateStatus": true, |
| | | "EnumContractTemplateStatusText": true, |
| | | "EnumContractTemplateValueRecorder": true, |
| | | "EnumContractTemplateValueType": true, |
| | | "EnumDataSource": true, |
| | | "EnumDbAuditOperate": true, |
| | | "EnumElectronSignAccess": true, |
| | | "EnumEnterpriseRealMethod": true, |
| | | "EnumMenuType": true, |
| | | "EnumMenuVisitLevel": true, |
| | | "EnumOcrAccess": true, |
| | | "EnumPagedListOrder": true, |
| | | "EnumPayAccess": true, |
| | | "EnumPersonalFreeTime": true, |
| | | "EnumPersonalJobSeekingStatus": true, |
| | | "EnumPersonalRealMethod": true, |
| | | "EnumRealAccess": true, |
| | | "EnumResourceController": true, |
| | | "EnumResourceMethod": true, |
| | |
| | | const EnumBillingMethodUnitText: typeof import('./src/constants/task')['EnumBillingMethodUnitText'] |
| | | const EnumClientType: typeof import('./src/constants/apiEnum')['EnumClientType'] |
| | | const EnumClientTypeText: typeof import('./src/constants/apiEnumText')['EnumClientTypeText'] |
| | | const EnumContractTemplateStatus: typeof import('./src/constants/apiEnum')['EnumContractTemplateStatus'] |
| | | const EnumContractTemplateStatusText: typeof import('./src/constants/electronSign')['EnumContractTemplateStatusText'] |
| | | const EnumContractTemplateValueRecorder: typeof import('./src/constants/apiEnum')['EnumContractTemplateValueRecorder'] |
| | | const EnumContractTemplateValueType: typeof import('./src/constants/apiEnum')['EnumContractTemplateValueType'] |
| | | const EnumDataSource: typeof import('./src/constants/apiEnum')['EnumDataSource'] |
| | | const EnumDbAuditOperate: typeof import('./src/constants/apiEnum')['EnumDbAuditOperate'] |
| | | const EnumElectronSignAccess: typeof import('./src/constants/apiEnum')['EnumElectronSignAccess'] |
| | | const EnumEnterpriseRealMethod: typeof import('./src/constants/apiEnum')['EnumEnterpriseRealMethod'] |
| | | const EnumMenuType: typeof import('./src/constants/apiEnum')['EnumMenuType'] |
| | | const EnumMenuVisitLevel: typeof import('./src/constants/apiEnum')['EnumMenuVisitLevel'] |
| | | const EnumOcrAccess: typeof import('./src/constants/apiEnum')['EnumOcrAccess'] |
| | | const EnumPagedListOrder: typeof import('./src/constants/apiEnum')['EnumPagedListOrder'] |
| | | const EnumPayAccess: typeof import('./src/constants/apiEnum')['EnumPayAccess'] |
| | | const EnumPersonalFreeTime: typeof import('./src/constants/apiEnum')['EnumPersonalFreeTime'] |
| | | const EnumPersonalJobSeekingStatus: typeof import('./src/constants/apiEnum')['EnumPersonalJobSeekingStatus'] |
| | | const EnumPersonalRealMethod: typeof import('./src/constants/apiEnum')['EnumPersonalRealMethod'] |
| | | const EnumRealAccess: typeof import('./src/constants/apiEnum')['EnumRealAccess'] |
| | | const EnumResourceController: typeof import('./src/constants/apiEnum')['EnumResourceController'] |
| | | const EnumResourceMethod: typeof import('./src/constants/apiEnum')['EnumResourceMethod'] |
| | |
| | | export type { Component, Slot, Slots, ComponentPublicInstance, ComputedRef, DirectiveBinding, ExtractDefaultPropTypes, ExtractPropTypes, ExtractPublicPropTypes, InjectionKey, PropType, Ref, MaybeRef, MaybeRefOrGetter, VNode, WritableComputedRef } from 'vue' |
| | | import('vue') |
| | | // @ts-ignore |
| | | export type { EnumBillingMethod, EnumClientType, EnumMenuType, EnumMenuVisitLevel, EnumPagedListOrder, EnumPersonalFreeTime, EnumPersonalJobSeekingStatus, EnumRealAccess, EnumResourceController, EnumResourceMethod, EnumRoleWebApiDataPower, EnumSettlementCycle, EnumSmsAccess, EnumTaskCheckReceiveStatus, EnumTaskRecommendStatus, EnumTaskReleaseStatus, EnumTaskSettlementStatus, EnumTaskStatus, EnumTaskUserArrangeStatus, EnumTaskUserHireStatus, EnumTaskUserSignContractStatus, EnumTaskUserSubmitCheckReceiveStatus, EnumUserGender, EnumUserRealMethod, EnumUserStatus, EnumUserType, GetPersonalApplyTaskInfosQueryStatus, GetPersonalHireTaskInfosQueryStatus, GetTaskInfoQueryResultApplyButton, GetTaskInfoQueryResultHireButton, EnumBillingMethod, EnumClientType, EnumMenuType, EnumMenuVisitLevel, EnumPagedListOrder, EnumPersonalFreeTime, EnumPersonalJobSeekingStatus, EnumRealAccess, EnumResourceController, EnumResourceMethod, EnumRoleWebApiDataPower, EnumSettlementCycle, EnumSmsAccess, EnumTaskCheckReceiveStatus, EnumTaskRecommendStatus, EnumTaskReleaseStatus, EnumTaskSettlementStatus, EnumTaskStatus, EnumTaskUserArrangeStatus, EnumTaskUserHireStatus, EnumTaskUserSignContractStatus, EnumTaskUserSubmitCheckReceiveStatus, EnumUserGender, EnumUserRealMethod, EnumUserStatus, EnumUserType, GetPersonalApplyTaskInfosQueryStatus, GetPersonalHireTaskInfosQueryStatus, GetTaskInfoQueryResultApplyButton, GetTaskInfoQueryResultHireButton } from './src/constants/apiEnum' |
| | | export type { EnumBillingMethod, EnumClientType, EnumContractTemplateStatus, EnumContractTemplateValueRecorder, EnumContractTemplateValueType, EnumDataSource, EnumDbAuditOperate, EnumElectronSignAccess, EnumEnterpriseRealMethod, EnumMenuType, EnumMenuVisitLevel, EnumOcrAccess, EnumPagedListOrder, EnumPayAccess, EnumPersonalFreeTime, EnumPersonalJobSeekingStatus, EnumPersonalRealMethod, EnumRealAccess, EnumResourceController, EnumResourceMethod, EnumRoleWebApiDataPower, EnumSettlementCycle, EnumSmsAccess, EnumTaskCheckReceiveStatus, EnumTaskRecommendStatus, EnumTaskReleaseStatus, EnumTaskSettlementStatus, EnumTaskStatus, EnumTaskUserArrangeStatus, EnumTaskUserHireStatus, EnumTaskUserSignContractStatus, EnumTaskUserSubmitCheckReceiveStatus, EnumUserGender, EnumUserRealMethod, EnumUserStatus, EnumUserType, GetPersonalApplyTaskInfosQueryStatus, GetPersonalHireTaskInfosQueryStatus, GetTaskInfoQueryResultApplyButton, GetTaskInfoQueryResultHireButton, EnumBillingMethod, EnumClientType, EnumContractTemplateStatus, EnumContractTemplateValueRecorder, EnumContractTemplateValueType, EnumDataSource, EnumDbAuditOperate, EnumElectronSignAccess, EnumEnterpriseRealMethod, EnumMenuType, EnumMenuVisitLevel, EnumOcrAccess, EnumPagedListOrder, EnumPayAccess, EnumPersonalFreeTime, EnumPersonalJobSeekingStatus, EnumPersonalRealMethod, EnumRealAccess, EnumResourceController, EnumResourceMethod, EnumRoleWebApiDataPower, EnumSettlementCycle, EnumSmsAccess, EnumTaskCheckReceiveStatus, EnumTaskRecommendStatus, EnumTaskReleaseStatus, EnumTaskSettlementStatus, EnumTaskStatus, EnumTaskUserArrangeStatus, EnumTaskUserHireStatus, EnumTaskUserSignContractStatus, EnumTaskUserSubmitCheckReceiveStatus, EnumUserGender, EnumUserRealMethod, EnumUserStatus, EnumUserType, GetPersonalApplyTaskInfosQueryStatus, GetPersonalHireTaskInfosQueryStatus, GetTaskInfoQueryResultApplyButton, GetTaskInfoQueryResultHireButton } from './src/constants/apiEnum' |
| | | import('./src/constants/apiEnum') |
| | | // @ts-ignore |
| | | export type { CategoryCode, IdentityCodeEnum, EducationCodeEnum, CertificateTypeCodeEnum, WelfareCodeEnum } from './src/constants/dic' |
| | |
| | | readonly EnumBillingMethodUnitText: UnwrapRef<typeof import('./src/constants/task')['EnumBillingMethodUnitText']> |
| | | readonly EnumClientType: UnwrapRef<typeof import('./src/constants/apiEnum')['EnumClientType']> |
| | | readonly EnumClientTypeText: UnwrapRef<typeof import('./src/constants/apiEnumText')['EnumClientTypeText']> |
| | | readonly EnumContractTemplateStatus: UnwrapRef<typeof import('./src/constants/apiEnum')['EnumContractTemplateStatus']> |
| | | readonly EnumContractTemplateStatusText: UnwrapRef<typeof import('./src/constants/electronSign')['EnumContractTemplateStatusText']> |
| | | readonly EnumContractTemplateValueRecorder: UnwrapRef<typeof import('./src/constants/apiEnum')['EnumContractTemplateValueRecorder']> |
| | | readonly EnumContractTemplateValueType: UnwrapRef<typeof import('./src/constants/apiEnum')['EnumContractTemplateValueType']> |
| | | readonly EnumDataSource: UnwrapRef<typeof import('./src/constants/apiEnum')['EnumDataSource']> |
| | | readonly EnumDbAuditOperate: UnwrapRef<typeof import('./src/constants/apiEnum')['EnumDbAuditOperate']> |
| | | readonly EnumElectronSignAccess: UnwrapRef<typeof import('./src/constants/apiEnum')['EnumElectronSignAccess']> |
| | | readonly EnumEnterpriseRealMethod: UnwrapRef<typeof import('./src/constants/apiEnum')['EnumEnterpriseRealMethod']> |
| | | readonly EnumMenuType: UnwrapRef<typeof import('./src/constants/apiEnum')['EnumMenuType']> |
| | | readonly EnumMenuVisitLevel: UnwrapRef<typeof import('./src/constants/apiEnum')['EnumMenuVisitLevel']> |
| | | readonly EnumOcrAccess: UnwrapRef<typeof import('./src/constants/apiEnum')['EnumOcrAccess']> |
| | | readonly EnumPagedListOrder: UnwrapRef<typeof import('./src/constants/apiEnum')['EnumPagedListOrder']> |
| | | readonly EnumPayAccess: UnwrapRef<typeof import('./src/constants/apiEnum')['EnumPayAccess']> |
| | | readonly EnumPersonalFreeTime: UnwrapRef<typeof import('./src/constants/apiEnum')['EnumPersonalFreeTime']> |
| | | readonly EnumPersonalJobSeekingStatus: UnwrapRef<typeof import('./src/constants/apiEnum')['EnumPersonalJobSeekingStatus']> |
| | | readonly EnumPersonalRealMethod: UnwrapRef<typeof import('./src/constants/apiEnum')['EnumPersonalRealMethod']> |
| | | 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']> |
| | |
| | | Wxmp = 20, |
| | | } |
| | | |
| | | /** 合同制版状态 */ |
| | | export enum EnumContractTemplateStatus { |
| | | /**待制版 */ |
| | | Wait = 10, |
| | | /**已完成 */ |
| | | Completed = 20, |
| | | } |
| | | |
| | | /** 合同模板变量 */ |
| | | export enum EnumContractTemplateValueRecorder { |
| | | /**发件人 */ |
| | | Creator = 10, |
| | | /**签署人 */ |
| | | Signer = 20, |
| | | } |
| | | |
| | | /** 合同模板变量类型 */ |
| | | export enum EnumContractTemplateValueType { |
| | | /**文本 */ |
| | | Text = 10, |
| | | /**签署 */ |
| | | Sign = 20, |
| | | /**日期 */ |
| | | Date = 30, |
| | | } |
| | | |
| | | /** 数据来源 */ |
| | | export enum EnumDataSource { |
| | | /**818 */ |
| | | HumanResources = 10, |
| | | } |
| | | |
| | | /** 数据库审计日志操作 */ |
| | | export enum EnumDbAuditOperate { |
| | | /**添加 */ |
| | | Added = 10, |
| | | /**修改 */ |
| | | Modified = 20, |
| | | /**删除 */ |
| | | Deleted = 30, |
| | | } |
| | | |
| | | /** 电子签 */ |
| | | export enum EnumElectronSignAccess { |
| | | /**上上签 */ |
| | | BestSign = 10, |
| | | /**支付宝信任签 */ |
| | | AlipaySign = 20, |
| | | } |
| | | |
| | | /** 企业实名方式 */ |
| | | 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 { |
| | | /**上上签 */ |
| | |
| | | /** 资源控制器 */ |
| | | export enum EnumResourceController { |
| | | /**数据字典 */ |
| | | Dictionary = 0, |
| | | FlexJobServerDictionary = 0, |
| | | /**任务 */ |
| | | Task = 1, |
| | | FlexJobServerTask = 1, |
| | | /**任务人员 */ |
| | | TaskUser = 2, |
| | | FlexJobServerTaskUser = 2, |
| | | /**任务验收 */ |
| | | TaskCheckReceive = 3, |
| | | FlexJobServerTaskCheckReceive = 3, |
| | | /**文件 */ |
| | | CommonServerFileUtils = 4, |
| | | /**文字识别 */ |
| | | CommonServerOcrUtils = 5, |
| | | /**日志记录 */ |
| | | CommonServerLogRecords = 6, |
| | | /**用户认证 */ |
| | | Auth = 4, |
| | | UserServerAuth = 7, |
| | | /**用户菜单 */ |
| | | Menu = 5, |
| | | UserServerMenu = 8, |
| | | /**用户资源 */ |
| | | Resource = 6, |
| | | UserServerResource = 9, |
| | | /**用户角色 */ |
| | | Role = 7, |
| | | UserServerRole = 10, |
| | | /**用户信息 */ |
| | | User = 8, |
| | | UserServerUser = 11, |
| | | /**电子签 */ |
| | | UserServerElectronSign = 12, |
| | | /**用户简历 */ |
| | | UserResume = 9, |
| | | UserServerUserResume = 13, |
| | | /**企业信息 */ |
| | | Enterprise = 10, |
| | | UserServerEnterprise = 14, |
| | | /**灵工信息 */ |
| | | EnterpriseEmployee = 11, |
| | | UserServerEnterpriseEmployee = 15, |
| | | /**电子签 */ |
| | | ElectronSignServerElectronSign = 16, |
| | | } |
| | | |
| | | /** 资源请求方式 */ |
| | | export enum EnumResourceMethod { |
| | | /**无 */ |
| | | None = 0, |
| | | /**查询 */ |
| | | Get = 10, |
| | | /**提交 */ |
| | |
| | | |
| | | /** 我的已录用分页列表-状态 */ |
| | | export enum GetPersonalHireTaskInfosQueryStatus { |
| | | /**待开始 */ |
| | | Wait = 1, |
| | | /**进行中 */ |
| | | InProcess = 10, |
| | | /**已完成 */ |
| | |
| | | |
| | | /** 我的录用列表-详情-按钮类型 */ |
| | | export enum GetTaskInfoQueryResultHireButton { |
| | | /**待开始 */ |
| | | Wait = 1, |
| | | /**申请验收 */ |
| | | ApplyCheckReceive = 1, |
| | | ApplyCheckReceive = 5, |
| | | /**进行中 */ |
| | | InProcess = 10, |
| | | /**已完成 */ |
New file |
| | |
| | | export const EnumContractTemplateStatusText = { |
| | | [EnumContractTemplateStatus.Wait]: '待制版', |
| | | [EnumContractTemplateStatus.Completed]: '已制版', |
| | | }; |
| | |
| | | export * from './apiEnumText'; |
| | | export * from './task'; |
| | | export * from './enterpriseEmployee'; |
| | | export * from './electronSign'; |
New file |
| | |
| | | /* eslint-disable */ |
| | | // @ts-ignore |
| | | import { request } from '@/utils/request'; |
| | | |
| | | /** 电子签回传 POST /api/user/electronSign/electronSignCallback */ |
| | | export async function electronSignCallback( |
| | | body: API.ElectronSignCallbackCommand, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<boolean>('/api/user/electronSign/electronSignCallback', { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json-patch+json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** 查询合同模板详情 GET /api/user/electronSign/getContractTemplate */ |
| | | export async function getContractTemplate( |
| | | // 叠加生成的Param类型 (非body参数swagger默认没有生成对象) |
| | | params: API.APIgetContractTemplateParams, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<API.GetContractTemplateQueryResult>('/api/user/electronSign/getContractTemplate', { |
| | | method: 'GET', |
| | | params: { |
| | | ...params, |
| | | }, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** 查询运营端协议管理分页列表数据 POST /api/user/electronSign/getContractTemplateEnterprises */ |
| | | export async function getContractTemplateEnterprises( |
| | | body: API.GetContractTemplateEnterprisesQuery, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<API.GetContractTemplateEnterprisesQueryResult>( |
| | | '/api/user/electronSign/getContractTemplateEnterprises', |
| | | { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json-patch+json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | } |
| | | ); |
| | | } |
| | | |
| | | /** 查询企业合同模板日志分页列表数据 POST /api/user/electronSign/getEnterpriseContractTemplateLogs */ |
| | | export async function getEnterpriseContractTemplateLogs( |
| | | body: API.GetEnterpriseContractTemplateLogsQuery, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<API.GetEnterpriseContractTemplateLogsQueryResult>( |
| | | '/api/user/electronSign/getEnterpriseContractTemplateLogs', |
| | | { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json-patch+json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | } |
| | | ); |
| | | } |
| | | |
| | | /** 查询企业合同模板分页列表数据 POST /api/user/electronSign/getEnterpriseContractTemplates */ |
| | | export async function getEnterpriseContractTemplates( |
| | | body: API.GetEnterpriseContractTemplatesQuery, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<API.GetEnterpriseContractTemplatesQueryResult>( |
| | | '/api/user/electronSign/getEnterpriseContractTemplates', |
| | | { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json-patch+json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | } |
| | | ); |
| | | } |
| | | |
| | | /** 个人人脸实名认证 POST /api/user/electronSign/personalUserFaceReal */ |
| | | export async function personalUserFaceReal( |
| | | body: API.PersonalUserFaceRealCommand, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<string>('/api/user/electronSign/personalUserFaceReal', { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json-patch+json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** 个人三要素实名认证 POST /api/user/electronSign/personalUserIdentity3Real */ |
| | | export async function personalUserIdentity3Real( |
| | | body: API.PersonalUserIdentity3RealCommand, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<string>('/api/user/electronSign/personalUserIdentity3Real', { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json-patch+json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** 保存合同模板 POST /api/user/electronSign/saveContractTemplate */ |
| | | export async function saveContractTemplate( |
| | | body: API.SaveContractTemplateCommand, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<string>('/api/user/electronSign/saveContractTemplate', { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json-patch+json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** 发送个人三要素实名短信 POST /api/user/electronSign/sendPersonalUserIdentity3RealSms */ |
| | | export async function sendPersonalUserIdentity3RealSms( |
| | | body: API.SendPersonalUserIdentity3RealSmsCommand, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<string>('/api/user/electronSign/sendPersonalUserIdentity3RealSms', { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json-patch+json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** 禁用合同模板 PUT /api/user/electronSign/setIsDisabledContractTemplate */ |
| | | export async function setIsDisabledContractTemplate( |
| | | body: API.SetIsDisabledContractTemplateCommand, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<number>('/api/user/electronSign/setIsDisabledContractTemplate', { |
| | | method: 'PUT', |
| | | headers: { |
| | | 'Content-Type': 'application/json-patch+json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | }); |
| | | } |
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 user from './user'; |
| | | import * as role from './role'; |
| | | import * as enterprise from './enterprise'; |
| | | import * as resource from './resource'; |
| | | 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 taskCheckReceive from './taskCheckReceive'; |
| | | import * as resource from './resource'; |
| | | import * as electronSign from './electronSign'; |
| | | import * as taskUser from './taskUser'; |
| | | import * as menu from './menu'; |
| | | import * as logRecords from './logRecords'; |
| | | import * as fileUtils from './fileUtils'; |
| | | export default { |
| | | enterpriseEmployee, |
| | | user, |
| | | role, |
| | | enterprise, |
| | | resource, |
| | | task, |
| | | ocrUtils, |
| | | dictionary, |
| | | userResume, |
| | | auth, |
| | | taskCheckReceive, |
| | | resource, |
| | | electronSign, |
| | | taskUser, |
| | | menu, |
| | | logRecords, |
| | | fileUtils, |
| | | }; |
New file |
| | |
| | | /* eslint-disable */ |
| | | // @ts-ignore |
| | | import { request } from '@/utils/request'; |
| | | |
| | | /** 查询数据库审计日志分页列表 POST /api/common/logRecords/getDbAuditLogs */ |
| | | export async function getDbAuditLogs(body: API.GetDbAuditLogsQuery, options?: API.RequestConfig) { |
| | | return request<API.GetDbAuditLogsQueryResult>('/api/common/logRecords/getDbAuditLogs', { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json-patch+json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** 异常日志分页列表查询 POST /api/common/logRecords/getExceptionLogs */ |
| | | export async function getExceptionLogs( |
| | | body: API.GetExceptionLogsQuery, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<API.GetExceptionLogsQueryResult>('/api/common/logRecords/getExceptionLogs', { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json-patch+json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** 资源日志分页列表查询 POST /api/common/logRecords/getResourceLogs */ |
| | | export async function getResourceLogs(body: API.GetResourceLogsQuery, options?: API.RequestConfig) { |
| | | return request<API.GetResourceLogsQueryResult>('/api/common/logRecords/getResourceLogs', { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json-patch+json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** 跟踪Id日志查询 GET /api/common/logRecords/getTraceIdLog */ |
| | | export async function getTraceIdLog( |
| | | // 叠加生成的Param类型 (非body参数swagger默认没有生成对象) |
| | | params: API.APIgetTraceIdLogParams, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<API.GetTraceIdLogQueryResult>('/api/common/logRecords/getTraceIdLog', { |
| | | method: 'GET', |
| | | params: { |
| | | ...params, |
| | | }, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** 重新发送资源 POST /api/common/logRecords/resendResource */ |
| | | export async function resendResource(body: API.ResendResourceCommand, options?: API.RequestConfig) { |
| | | return request<string>('/api/common/logRecords/resendResource', { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json-patch+json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | }); |
| | | } |
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 || {}), |
| | | }); |
| | | } |
| | |
| | | // @ts-ignore |
| | | import { request } from '@/utils/request'; |
| | | |
| | | /** 健康校验 GET /api/user/resource/checkHealth */ |
| | | export async function checkHealth( |
| | | // 叠加生成的Param类型 (非body参数swagger默认没有生成对象) |
| | | params: API.APIcheckHealthParams, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<boolean>('/api/user/resource/checkHealth', { |
| | | method: 'GET', |
| | | params: { |
| | | ...params, |
| | | request: undefined, |
| | | ...params['request'], |
| | | }, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** 获取资源字段 GET /api/user/resource/getResourceFields */ |
| | | export async function getResourceFields( |
| | | // 叠加生成的Param类型 (非body参数swagger默认没有生成对象) |
| | |
| | | params: { |
| | | ...params, |
| | | }, |
| | | ...(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 || {}), |
| | | }); |
| | | } |
| | |
| | | ); |
| | | } |
| | | |
| | | /** 查询任务企业信息 GET /api/flexjob/task/getTaskEnterprise */ |
| | | export async function getTaskEnterprise( |
| | | // 叠加生成的Param类型 (非body参数swagger默认没有生成对象) |
| | | params: API.APIgetTaskEnterpriseParams, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<API.GetTaskEnterpriseQueryResult>('/api/flexjob/task/getTaskEnterprise', { |
| | | method: 'GET', |
| | | params: { |
| | | ...params, |
| | | }, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** 查询任务详情 GET /api/flexjob/task/getTaskInfo */ |
| | | export async function getTaskInfo( |
| | | // 叠加生成的Param类型 (非body参数swagger默认没有生成对象) |
| | |
| | | }); |
| | | } |
| | | |
| | | /** 清空已停止的任务收藏 DELETE /api/flexjob/taskUser/clearTaskCollect */ |
| | | export async function clearTaskCollect( |
| | | body: API.ClearTaskCollectCommand, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<number>('/api/flexjob/taskUser/clearTaskCollect', { |
| | | method: 'DELETE', |
| | | 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', { |
| | |
| | | [key: string]: any; |
| | | } |
| | | |
| | | interface APIcheckHealthParams { |
| | | /** 健康校验 */ |
| | | request?: CheckHealthQuery; |
| | | } |
| | | |
| | | interface APIgetAliyunOSSAcsParams { |
| | | /** 获取阿里云OSS授权信息 */ |
| | | request?: GetAliyunOSSAcsQuery; |
| | |
| | | taskInfoUserId?: string; |
| | | /** 日期(用于两个小程序 跟某一个Id一起传) */ |
| | | date?: string; |
| | | } |
| | | |
| | | interface APIgetContractTemplateParams { |
| | | /** 模板Id */ |
| | | id?: string; |
| | | } |
| | | |
| | | interface APIgetCurrentLogierMenuParams { |
| | |
| | | id?: string; |
| | | } |
| | | |
| | | interface APIgetFileUrlParams { |
| | | /** 地址 */ |
| | | url?: string; |
| | | } |
| | | |
| | | interface APIgetLicenseOcrParams { |
| | | /** 通道 */ |
| | | access?: EnumOcrAccess; |
| | | /** 场景 */ |
| | | scene?: string; |
| | | /** 链接地址 */ |
| | | url?: string; |
| | | /** 是否为云存储相对地址 */ |
| | | isOssUrl?: boolean; |
| | | } |
| | | |
| | | interface APIgetMenuParams { |
| | | /** Id */ |
| | | id?: string; |
| | |
| | | roleId?: string; |
| | | } |
| | | |
| | | interface APIgetTaskEnterpriseParams { |
| | | /** 企业Id */ |
| | | id?: string; |
| | | } |
| | | |
| | | interface APIgetTaskInfoParams { |
| | | /** Id */ |
| | | id?: string; |
| | |
| | | taskInfoId?: string; |
| | | /** 用户Id(C端用户可不填) */ |
| | | userId?: string; |
| | | } |
| | | |
| | | interface APIgetTraceIdLogParams { |
| | | /** 跟踪Id */ |
| | | traceId?: string; |
| | | } |
| | | |
| | | interface APIgetUserInfoRolesParams { |
| | |
| | | ids?: string[]; |
| | | } |
| | | |
| | | interface BaiduOcrBusinessLicenseResultModel { |
| | | /** 企业全称 */ |
| | | enterpriseName?: string; |
| | | /** 统一社会信用代码 */ |
| | | societyCreditCode?: string; |
| | | /** 法人姓名 */ |
| | | legalPerson?: string; |
| | | /** 企业类型 */ |
| | | enterpriseType?: string; |
| | | /** 注册资本 */ |
| | | registeredCapital?: string; |
| | | /** 成立日期 */ |
| | | establishmentDate?: string; |
| | | /** 企业地址 */ |
| | | address?: string; |
| | | /** 经营范围 */ |
| | | mainBusiness?: string; |
| | | } |
| | | |
| | | interface BindWxmpUserInfoCommand { |
| | | /** 访问令牌 */ |
| | | accessToken: string; |
| | |
| | | verifyCode: string; |
| | | } |
| | | |
| | | type CheckHealthQuery = Record<string, any>; |
| | | |
| | | interface CheckReceiveTaskCommand { |
| | | /** 提交Id */ |
| | | id?: string; |
| | | checkReceiveStatus?: EnumTaskUserSubmitCheckReceiveStatus; |
| | | } |
| | | |
| | | type ClearTaskCollectCommand = Record<string, any>; |
| | | |
| | | interface CollectTaskCommand { |
| | | /** 任务Id */ |
| | |
| | | id?: string; |
| | | } |
| | | |
| | | interface ElectronSignCallbackCommand { |
| | | /** 客户Id */ |
| | | customerId?: string; |
| | | /** 方法名称 */ |
| | | action?: string; |
| | | /** 是否成功 */ |
| | | success?: boolean; |
| | | /** 回调码 */ |
| | | code?: string; |
| | | /** 回调消息 */ |
| | | message?: string; |
| | | /** 关联Id */ |
| | | relationId?: string; |
| | | /** 回传数据 */ |
| | | data?: any; |
| | | } |
| | | |
| | | enum EnumBillingMethod { |
| | | /**按月 */ |
| | | Month = 10, |
| | |
| | | PcWeb = 10, |
| | | /**微信小程序 */ |
| | | Wxmp = 20, |
| | | } |
| | | |
| | | enum EnumContractTemplateStatus { |
| | | /**待制版 */ |
| | | Wait = 10, |
| | | /**已完成 */ |
| | | Completed = 20, |
| | | } |
| | | |
| | | enum EnumContractTemplateValueRecorder { |
| | | /**发件人 */ |
| | | Creator = 10, |
| | | /**签署人 */ |
| | | Signer = 20, |
| | | } |
| | | |
| | | enum EnumContractTemplateValueType { |
| | | /**文本 */ |
| | | Text = 10, |
| | | /**签署 */ |
| | | Sign = 20, |
| | | /**日期 */ |
| | | Date = 30, |
| | | } |
| | | |
| | | enum EnumDataSource { |
| | | /**818 */ |
| | | HumanResources = 10, |
| | | } |
| | | |
| | | enum EnumDbAuditOperate { |
| | | /**添加 */ |
| | | Added = 10, |
| | | /**修改 */ |
| | | Modified = 20, |
| | | /**删除 */ |
| | | Deleted = 30, |
| | | } |
| | | |
| | | enum EnumElectronSignAccess { |
| | | /**上上签 */ |
| | | BestSign = 10, |
| | | /**支付宝信任签 */ |
| | | AlipaySign = 20, |
| | | } |
| | | |
| | | enum EnumEnterpriseRealMethod { |
| | | /**企业三要素 */ |
| | | Identity3 = 10, |
| | | /**企业四要素 */ |
| | | Identity4 = 20, |
| | | } |
| | | |
| | | enum EnumMenuType { |
| | |
| | | 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, |
| | |
| | | |
| | | enum EnumResourceController { |
| | | /**数据字典 */ |
| | | Dictionary = 0, |
| | | FlexJobServerDictionary = 0, |
| | | /**任务 */ |
| | | Task = 1, |
| | | FlexJobServerTask = 1, |
| | | /**任务人员 */ |
| | | TaskUser = 2, |
| | | FlexJobServerTaskUser = 2, |
| | | /**任务验收 */ |
| | | TaskCheckReceive = 3, |
| | | FlexJobServerTaskCheckReceive = 3, |
| | | /**文件 */ |
| | | CommonServerFileUtils = 4, |
| | | /**文字识别 */ |
| | | CommonServerOcrUtils = 5, |
| | | /**日志记录 */ |
| | | CommonServerLogRecords = 6, |
| | | /**用户认证 */ |
| | | Auth = 4, |
| | | UserServerAuth = 7, |
| | | /**用户菜单 */ |
| | | Menu = 5, |
| | | UserServerMenu = 8, |
| | | /**用户资源 */ |
| | | Resource = 6, |
| | | UserServerResource = 9, |
| | | /**用户角色 */ |
| | | Role = 7, |
| | | UserServerRole = 10, |
| | | /**用户信息 */ |
| | | User = 8, |
| | | UserServerUser = 11, |
| | | /**电子签 */ |
| | | UserServerElectronSign = 12, |
| | | /**用户简历 */ |
| | | UserResume = 9, |
| | | UserServerUserResume = 13, |
| | | /**企业信息 */ |
| | | Enterprise = 10, |
| | | UserServerEnterprise = 14, |
| | | /**灵工信息 */ |
| | | EnterpriseEmployee = 11, |
| | | UserServerEnterpriseEmployee = 15, |
| | | /**电子签 */ |
| | | ElectronSignServerElectronSign = 16, |
| | | } |
| | | |
| | | enum EnumResourceMethod { |
| | | /**无 */ |
| | | None = 0, |
| | | /**查询 */ |
| | | Get = 10, |
| | | /**提交 */ |
| | |
| | | timestamp?: number; |
| | | } |
| | | |
| | | interface FriendlyResultGetContractTemplateEnterprisesQueryResult { |
| | | /** 跟踪Id */ |
| | | traceId?: string; |
| | | /** 状态码 */ |
| | | code?: number; |
| | | /** 错误码 */ |
| | | errorCode?: string; |
| | | data?: GetContractTemplateEnterprisesQueryResult; |
| | | /** 执行成功 */ |
| | | success?: boolean; |
| | | /** 错误信息 */ |
| | | msg?: any; |
| | | /** 附加数据 */ |
| | | extras?: any; |
| | | /** 时间戳 */ |
| | | timestamp?: number; |
| | | } |
| | | |
| | | interface FriendlyResultGetContractTemplateQueryResult { |
| | | /** 跟踪Id */ |
| | | traceId?: string; |
| | | /** 状态码 */ |
| | | code?: number; |
| | | /** 错误码 */ |
| | | errorCode?: string; |
| | | data?: GetContractTemplateQueryResult; |
| | | /** 执行成功 */ |
| | | success?: boolean; |
| | | /** 错误信息 */ |
| | | msg?: any; |
| | | /** 附加数据 */ |
| | | extras?: any; |
| | | /** 时间戳 */ |
| | | timestamp?: number; |
| | | } |
| | | |
| | | interface FriendlyResultGetDbAuditLogsQueryResult { |
| | | /** 跟踪Id */ |
| | | traceId?: string; |
| | | /** 状态码 */ |
| | | code?: number; |
| | | /** 错误码 */ |
| | | errorCode?: string; |
| | | data?: GetDbAuditLogsQueryResult; |
| | | /** 执行成功 */ |
| | | success?: boolean; |
| | | /** 错误信息 */ |
| | | msg?: any; |
| | | /** 附加数据 */ |
| | | extras?: any; |
| | | /** 时间戳 */ |
| | | timestamp?: number; |
| | | } |
| | | |
| | | interface FriendlyResultGetEnterpriseContractTemplateLogsQueryResult { |
| | | /** 跟踪Id */ |
| | | traceId?: string; |
| | | /** 状态码 */ |
| | | code?: number; |
| | | /** 错误码 */ |
| | | errorCode?: string; |
| | | data?: GetEnterpriseContractTemplateLogsQueryResult; |
| | | /** 执行成功 */ |
| | | success?: boolean; |
| | | /** 错误信息 */ |
| | | msg?: any; |
| | | /** 附加数据 */ |
| | | extras?: any; |
| | | /** 时间戳 */ |
| | | timestamp?: number; |
| | | } |
| | | |
| | | interface FriendlyResultGetEnterpriseContractTemplatesQueryResult { |
| | | /** 跟踪Id */ |
| | | traceId?: string; |
| | | /** 状态码 */ |
| | | code?: number; |
| | | /** 错误码 */ |
| | | errorCode?: string; |
| | | data?: GetEnterpriseContractTemplatesQueryResult; |
| | | /** 执行成功 */ |
| | | success?: boolean; |
| | | /** 错误信息 */ |
| | | msg?: any; |
| | | /** 附加数据 */ |
| | | extras?: any; |
| | | /** 时间戳 */ |
| | | timestamp?: number; |
| | | } |
| | | |
| | | interface FriendlyResultGetEnterpriseElectronSignSettingQueryResult { |
| | | /** 跟踪Id */ |
| | | traceId?: string; |
| | |
| | | timestamp?: number; |
| | | } |
| | | |
| | | interface FriendlyResultGetExceptionLogsQueryResult { |
| | | /** 跟踪Id */ |
| | | traceId?: string; |
| | | /** 状态码 */ |
| | | code?: number; |
| | | /** 错误码 */ |
| | | errorCode?: string; |
| | | data?: GetExceptionLogsQueryResult; |
| | | /** 执行成功 */ |
| | | success?: boolean; |
| | | /** 错误信息 */ |
| | | msg?: any; |
| | | /** 附加数据 */ |
| | | extras?: any; |
| | | /** 时间戳 */ |
| | | timestamp?: number; |
| | | } |
| | | |
| | | interface FriendlyResultGetLicenseOcrCommandResult { |
| | | /** 跟踪Id */ |
| | | traceId?: string; |
| | | /** 状态码 */ |
| | | code?: number; |
| | | /** 错误码 */ |
| | | errorCode?: string; |
| | | data?: GetLicenseOcrCommandResult; |
| | | /** 执行成功 */ |
| | | success?: boolean; |
| | | /** 错误信息 */ |
| | | msg?: any; |
| | | /** 附加数据 */ |
| | | extras?: any; |
| | | /** 时间戳 */ |
| | | timestamp?: number; |
| | | } |
| | | |
| | | interface FriendlyResultGetMenuQueryResult { |
| | | /** 跟踪Id */ |
| | | traceId?: string; |
| | |
| | | timestamp?: number; |
| | | } |
| | | |
| | | interface FriendlyResultGetPersonalUserInfoSignContractsQueryResult { |
| | | /** 跟踪Id */ |
| | | traceId?: string; |
| | | /** 状态码 */ |
| | | code?: number; |
| | | /** 错误码 */ |
| | | errorCode?: string; |
| | | data?: GetPersonalUserInfoSignContractsQueryResult; |
| | | /** 执行成功 */ |
| | | success?: boolean; |
| | | /** 错误信息 */ |
| | | msg?: any; |
| | | /** 附加数据 */ |
| | | extras?: any; |
| | | /** 时间戳 */ |
| | | timestamp?: number; |
| | | } |
| | | |
| | | interface FriendlyResultGetPersonalUserInfosQueryResult { |
| | | /** 跟踪Id */ |
| | | traceId?: string; |
| | |
| | | timestamp?: number; |
| | | } |
| | | |
| | | interface FriendlyResultGetResourceLogsQueryResult { |
| | | /** 跟踪Id */ |
| | | traceId?: string; |
| | | /** 状态码 */ |
| | | code?: number; |
| | | /** 错误码 */ |
| | | errorCode?: string; |
| | | data?: GetResourceLogsQueryResult; |
| | | /** 执行成功 */ |
| | | success?: boolean; |
| | | /** 错误信息 */ |
| | | msg?: any; |
| | | /** 附加数据 */ |
| | | extras?: any; |
| | | /** 时间戳 */ |
| | | timestamp?: number; |
| | | } |
| | | |
| | | interface FriendlyResultGetRoleQueryResult { |
| | | /** 跟踪Id */ |
| | | traceId?: string; |
| | |
| | | /** 错误码 */ |
| | | errorCode?: string; |
| | | data?: GetRoleQueryResult; |
| | | /** 执行成功 */ |
| | | success?: boolean; |
| | | /** 错误信息 */ |
| | | msg?: any; |
| | | /** 附加数据 */ |
| | | extras?: any; |
| | | /** 时间戳 */ |
| | | timestamp?: number; |
| | | } |
| | | |
| | | interface FriendlyResultGetTaskEnterpriseQueryResult { |
| | | /** 跟踪Id */ |
| | | traceId?: string; |
| | | /** 状态码 */ |
| | | code?: number; |
| | | /** 错误码 */ |
| | | errorCode?: string; |
| | | data?: GetTaskEnterpriseQueryResult; |
| | | /** 执行成功 */ |
| | | success?: boolean; |
| | | /** 错误信息 */ |
| | |
| | | /** 错误码 */ |
| | | errorCode?: string; |
| | | data?: GetTaskUsersQueryResult; |
| | | /** 执行成功 */ |
| | | success?: boolean; |
| | | /** 错误信息 */ |
| | | msg?: any; |
| | | /** 附加数据 */ |
| | | extras?: any; |
| | | /** 时间戳 */ |
| | | timestamp?: number; |
| | | } |
| | | |
| | | interface FriendlyResultGetTraceIdLogQueryResult { |
| | | /** 跟踪Id */ |
| | | traceId?: string; |
| | | /** 状态码 */ |
| | | code?: number; |
| | | /** 错误码 */ |
| | | errorCode?: string; |
| | | data?: GetTraceIdLogQueryResult; |
| | | /** 执行成功 */ |
| | | 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 { |
| | |
| | | addressName?: string; |
| | | } |
| | | |
| | | interface GetContractTemplateEnterprisesQuery { |
| | | /** 关键字 */ |
| | | keywords?: string; |
| | | status?: EnumContractTemplateStatus; |
| | | pageModel?: PagedListQueryPageModel; |
| | | } |
| | | |
| | | interface GetContractTemplateEnterprisesQueryResult { |
| | | pageModel?: PagedListQueryResultPageModel; |
| | | /** 数据 */ |
| | | data?: GetContractTemplateEnterprisesQueryResultItem[]; |
| | | } |
| | | |
| | | interface GetContractTemplateEnterprisesQueryResultItem { |
| | | /** 企业Id */ |
| | | id?: string; |
| | | /** 企业全称 */ |
| | | enterpriseName?: string; |
| | | /** 联系人 */ |
| | | contacts?: string; |
| | | /** 联系电话 */ |
| | | contactPhoneNumber?: string; |
| | | /** 合同数 */ |
| | | total?: number; |
| | | /** 待制版 */ |
| | | waitCount?: number; |
| | | } |
| | | |
| | | interface GetContractTemplateQueryResult { |
| | | /** 模板Id */ |
| | | id?: string; |
| | | /** 企业Id */ |
| | | enterpriseId?: string; |
| | | /** 模板名称 */ |
| | | name?: string; |
| | | /** 模板 */ |
| | | file?: string; |
| | | /** 业务编码 */ |
| | | code?: string; |
| | | access?: EnumElectronSignAccess; |
| | | /** 模板Id */ |
| | | templateId?: string; |
| | | /** 变量 */ |
| | | values?: GetContractTemplateQueryResultValue[]; |
| | | } |
| | | |
| | | interface GetContractTemplateQueryResultValue { |
| | | /** 变量Id */ |
| | | id?: string; |
| | | type?: EnumContractTemplateValueType; |
| | | recorder?: EnumContractTemplateValueRecorder; |
| | | userType?: EnumUserType; |
| | | /** 变量名称 */ |
| | | label?: string; |
| | | /** 变量代码 */ |
| | | name?: string; |
| | | /** 是否必填 */ |
| | | required?: boolean; |
| | | } |
| | | |
| | | type GetCurrentLogierMenusQuery = Record<string, any>; |
| | | |
| | | interface GetDbAuditLogsQuery { |
| | | /** 跟踪Id */ |
| | | traceId?: string; |
| | | /** 关键字 */ |
| | | keywords?: string; |
| | | /** 创建时间-起始 */ |
| | | createdTimeBegin?: string; |
| | | /** 创建时间-截止 */ |
| | | createdTimeEnd?: string; |
| | | pageModel?: PagedListQueryPageModel; |
| | | } |
| | | |
| | | interface GetDbAuditLogsQueryResult { |
| | | pageModel?: PagedListQueryResultPageModel; |
| | | /** 数据 */ |
| | | data?: GetDbAuditLogsQueryResultItem[]; |
| | | } |
| | | |
| | | interface GetDbAuditLogsQueryResultItem { |
| | | /** 表名 */ |
| | | tableName?: string; |
| | | /** 主键 */ |
| | | primaryKey?: string; |
| | | operate?: EnumDbAuditOperate; |
| | | /** 旧值 */ |
| | | oldValues?: string; |
| | | /** 新值 */ |
| | | newValues?: string; |
| | | /** 操作人Id */ |
| | | createdUserId?: string; |
| | | createdUser?: GetResourceLogsQueryResultItemCreatedUser; |
| | | /** 创建时间 */ |
| | | createdTime?: string; |
| | | } |
| | | |
| | | interface GetDictionaryCategoriesQuery { |
| | | /** 关键字 */ |
| | |
| | | sort?: number; |
| | | /** 是否禁用 */ |
| | | isDisabled?: boolean; |
| | | } |
| | | |
| | | interface GetEnterpriseContractTemplateLogsQuery { |
| | | /** 模板Id */ |
| | | id?: string; |
| | | pageModel?: PagedListQueryPageModel; |
| | | } |
| | | |
| | | interface GetEnterpriseContractTemplateLogsQueryResult { |
| | | pageModel?: PagedListQueryResultPageModel; |
| | | /** 数据 */ |
| | | data?: GetEnterpriseContractTemplateLogsQueryResultItem[]; |
| | | } |
| | | |
| | | interface GetEnterpriseContractTemplateLogsQueryResultItem { |
| | | /** 跟踪Id */ |
| | | traceId?: string; |
| | | /** 操作人 */ |
| | | createdUser?: string; |
| | | /** 操作时间 */ |
| | | createdTime?: string; |
| | | operate?: EnumDbAuditOperate; |
| | | /** 操作内容 */ |
| | | content?: string[]; |
| | | } |
| | | |
| | | interface GetEnterpriseContractTemplatesQuery { |
| | | /** 企业Id */ |
| | | enterpriseId?: string; |
| | | /** 关键字 */ |
| | | keywords?: string; |
| | | status?: EnumContractTemplateStatus; |
| | | /** 客户上传时间-起始 */ |
| | | createdTimeBegin?: string; |
| | | /** 客户上传时间-截止 */ |
| | | createdTimeEnd?: string; |
| | | /** 制版时间-起始 */ |
| | | completedTimeBegin?: string; |
| | | /** 制版时间-截止 */ |
| | | completedTimeEnd?: string; |
| | | pageModel?: PagedListQueryPageModel; |
| | | } |
| | | |
| | | interface GetEnterpriseContractTemplatesQueryResult { |
| | | pageModel?: PagedListQueryResultPageModel; |
| | | /** 数据 */ |
| | | data?: GetEnterpriseContractTemplatesQueryResultItem[]; |
| | | } |
| | | |
| | | interface GetEnterpriseContractTemplatesQueryResultItem { |
| | | /** 模板Id */ |
| | | id?: string; |
| | | /** 模板名称 */ |
| | | name?: string; |
| | | /** 客户上传时间 */ |
| | | createdTime?: string; |
| | | /** 模板Id */ |
| | | templateId?: string; |
| | | access?: EnumElectronSignAccess; |
| | | /** 业务编码 */ |
| | | code?: string; |
| | | /** 模板 */ |
| | | file?: string; |
| | | status?: EnumContractTemplateStatus; |
| | | /** 制版时间 */ |
| | | completedTime?: string; |
| | | /** 操作人 */ |
| | | operator?: string; |
| | | } |
| | | |
| | | interface GetEnterpriseElectronSignSettingQueryResult { |
| | |
| | | avatar?: string; |
| | | /** 姓名 */ |
| | | name?: string; |
| | | gender?: EnumUserGender; |
| | | /** 企业全称 */ |
| | | enterpriseName?: string; |
| | | /** 角色 */ |
| | |
| | | industryTypeContent?: string; |
| | | /** 是否已配置 */ |
| | | isConfigured?: boolean; |
| | | } |
| | | |
| | | interface GetExceptionLogsQuery { |
| | | /** 跟踪Id */ |
| | | traceId?: string; |
| | | /** 关键字 */ |
| | | keywords?: string; |
| | | /** 创建时间-起始 */ |
| | | createdTimeBegin?: string; |
| | | /** 创建时间-截止 */ |
| | | createdTimeEnd?: string; |
| | | pageModel?: PagedListQueryPageModel; |
| | | } |
| | | |
| | | interface GetExceptionLogsQueryResult { |
| | | pageModel?: PagedListQueryResultPageModel; |
| | | /** 数据 */ |
| | | data?: GetExceptionLogsQueryResultItem[]; |
| | | } |
| | | |
| | | interface GetExceptionLogsQueryResultItem { |
| | | /** 类型 */ |
| | | type?: string; |
| | | /** 代码 */ |
| | | code?: string; |
| | | /** 消息 */ |
| | | message?: string; |
| | | /** 堆栈跟踪 */ |
| | | stackTrace?: string; |
| | | /** 操作人Id */ |
| | | createdUserId?: string; |
| | | createdUser?: GetResourceLogsQueryResultItemCreatedUser; |
| | | /** 创建时间 */ |
| | | createdTime?: string; |
| | | } |
| | | |
| | | interface GetLicenseOcrCommandResult { |
| | | /** 地址 */ |
| | | url?: string; |
| | | model?: BaiduOcrBusinessLicenseResultModel; |
| | | } |
| | | |
| | | interface GetMenuQueryResult { |
| | |
| | | pageModel?: PagedListQueryPageModel; |
| | | } |
| | | |
| | | interface GetOpenUserResumesQuery { |
| | | /** 任务Id */ |
| | | taskInfoId?: string; |
| | | /** 期望岗位编号 */ |
| | | userExpectJobs?: string[]; |
| | | gender?: EnumUserGender; |
| | | /** 身份编号 */ |
| | | personalIdentityCode?: string; |
| | | /** 年龄范围最小 */ |
| | | ageMin?: number; |
| | | /** 年龄范围大 */ |
| | | ageMax?: number; |
| | | /** 资格证书编号 */ |
| | | userCredentials?: string[]; |
| | | /** 是否已收藏 */ |
| | | isCollected?: boolean; |
| | | /** 是否已联系 */ |
| | | isContacted?: boolean; |
| | | pageModel?: PagedListQueryPageModel; |
| | | } |
| | | |
| | | interface GetOperationUserInfosQuery { |
| | | /** 关键字 */ |
| | | keywords?: string; |
| | |
| | | } |
| | | |
| | | enum GetPersonalHireTaskInfosQueryStatus { |
| | | /**待开始 */ |
| | | Wait = 1, |
| | | /**进行中 */ |
| | | InProcess = 10, |
| | | /**已完成 */ |
| | |
| | | interface GetPersonalLoginInfoQueryResult { |
| | | /** Id */ |
| | | id?: string; |
| | | /** 头像 */ |
| | | avatar?: string; |
| | | /** 姓名 */ |
| | | name?: string; |
| | | /** 是否实名 */ |
| | |
| | | hirePassTaskCount?: number; |
| | | /** 已取消 */ |
| | | hireRefuseTaskCount?: number; |
| | | } |
| | | |
| | | interface GetPersonalUserInfoSignContractsQuery { |
| | | /** 用户Id */ |
| | | id?: string; |
| | | pageModel?: PagedListQueryPageModel; |
| | | } |
| | | |
| | | interface GetPersonalUserInfoSignContractsQueryResult { |
| | | pageModel?: PagedListQueryResultPageModel; |
| | | /** 数据 */ |
| | | data?: GetPersonalUserInfoSignContractsQueryResultItem[]; |
| | | } |
| | | |
| | | interface GetPersonalUserInfoSignContractsQueryResultItem { |
| | | /** 灵工Id */ |
| | | id?: string; |
| | | /** 所属商户 */ |
| | | enterpriseName?: string; |
| | | /** 报名时间 */ |
| | | applyTime?: string; |
| | | hireStatus?: EnumTaskUserHireStatus; |
| | | /** 录用时间 */ |
| | | hireTime?: string; |
| | | userSignContractStatus?: EnumTaskUserSignContractStatus; |
| | | enterpriseSignContractStatus?: EnumTaskUserSignContractStatus; |
| | | /** 企业签约时间 */ |
| | | enterpriseSignContractTime?: string; |
| | | /** 电子合同 */ |
| | | contractUrl?: string; |
| | | } |
| | | |
| | | interface GetPersonalUserInfosQuery { |
| | |
| | | contactPhoneNumber?: string; |
| | | /** 身份证号 */ |
| | | identity?: string; |
| | | /** 身份证人像面 */ |
| | | identityImg?: string; |
| | | /** 身份证国徽面 */ |
| | | identityBackImg?: string; |
| | | gender?: EnumUserGender; |
| | | /** 年龄 */ |
| | | age?: number; |
| | |
| | | code?: string; |
| | | /** 名称 */ |
| | | name?: string; |
| | | } |
| | | |
| | | interface GetResourceLogsQuery { |
| | | /** 跟踪Id */ |
| | | traceId?: string; |
| | | /** 关键字 */ |
| | | keywords?: string; |
| | | /** 创建时间-起始 */ |
| | | createdTimeBegin?: string; |
| | | /** 创建时间-截止 */ |
| | | createdTimeEnd?: string; |
| | | pageModel?: PagedListQueryPageModel; |
| | | } |
| | | |
| | | interface GetResourceLogsQueryResult { |
| | | pageModel?: PagedListQueryResultPageModel; |
| | | /** 数据 */ |
| | | data?: GetResourceLogsQueryResultItem[]; |
| | | } |
| | | |
| | | interface GetResourceLogsQueryResultItem { |
| | | /** Id */ |
| | | id?: string; |
| | | method?: EnumResourceMethod; |
| | | /** 域名 */ |
| | | domain?: string; |
| | | /** 地址 */ |
| | | path?: string; |
| | | /** 请求头 */ |
| | | requestHeaders?: string; |
| | | /** 请求参数 */ |
| | | request?: string; |
| | | /** 请求头 */ |
| | | responseHeaders?: string; |
| | | /** 响应结果 */ |
| | | response?: string; |
| | | /** 是否成功 */ |
| | | isSuccess?: boolean; |
| | | /** 客户端IP地址 */ |
| | | clientIpAddress?: string; |
| | | /** 来源地址 */ |
| | | refererUrl?: string; |
| | | /** 控制台日志 */ |
| | | consoleLogs?: string; |
| | | /** 耗时毫秒数 */ |
| | | elapsedMilliseconds?: number; |
| | | /** 操作人Id */ |
| | | createdUserId?: string; |
| | | createdUser?: GetResourceLogsQueryResultItemCreatedUser; |
| | | /** 创建时间 */ |
| | | createdTime?: string; |
| | | } |
| | | |
| | | interface GetResourceLogsQueryResultItemCreatedUser { |
| | | /** Id */ |
| | | id?: string; |
| | | type?: EnumUserType; |
| | | /** 姓名 */ |
| | | name?: string; |
| | | /** 用户名 */ |
| | | userName?: string; |
| | | /** 企业Id */ |
| | | enterpriseId?: string; |
| | | /** 企业全称 */ |
| | | enterpriseName?: string; |
| | | } |
| | | |
| | | interface GetResourcesQueryResultItem { |
| | |
| | | isChecked?: boolean; |
| | | } |
| | | |
| | | interface GetTaskEnterpriseQueryResult { |
| | | /** 企业全称 */ |
| | | enterpriseName?: string; |
| | | /** 统一社会信用代码 */ |
| | | societyCreditCode?: string; |
| | | /** 是否实名 */ |
| | | isReal?: boolean; |
| | | /** 企业类型 */ |
| | | enterpriseType?: string; |
| | | /** 注册资本 */ |
| | | registeredCapital?: string; |
| | | /** 成立日期 */ |
| | | establishmentDate?: string; |
| | | /** 企业地址 */ |
| | | address?: string; |
| | | /** 经营范围 */ |
| | | mainBusiness?: string; |
| | | /** 在招岗位数量 */ |
| | | taskCount?: number; |
| | | } |
| | | |
| | | interface GetTaskInfoQueryResult { |
| | | /** Id */ |
| | | id?: string; |
| | |
| | | enterpriseName?: string; |
| | | /** 联系电话 */ |
| | | contactPhoneNumber?: string; |
| | | /** 是否认证 */ |
| | | isReal?: boolean; |
| | | /** 在招岗位数量 */ |
| | | taskCount?: number; |
| | | /** 报名人数 */ |
| | |
| | | } |
| | | |
| | | enum GetTaskInfoQueryResultHireButton { |
| | | /**待开始 */ |
| | | Wait = 1, |
| | | /**申请验收 */ |
| | | ApplyCheckReceive = 1, |
| | | ApplyCheckReceive = 5, |
| | | /**进行中 */ |
| | | InProcess = 10, |
| | | /**已完成 */ |
| | |
| | | name: string; |
| | | /** 任务单号 */ |
| | | code?: string; |
| | | /** 企业全称 */ |
| | | enterpriseName?: string; |
| | | /** 用户名 */ |
| | | userName?: string; |
| | | billingMethod?: EnumBillingMethod; |
| | | /** 服务费 */ |
| | | serviceFee?: number; |
| | |
| | | checkReceiveStatus?: EnumTaskCheckReceiveStatus; |
| | | settlementStatus?: EnumTaskSettlementStatus; |
| | | recommendStatus?: EnumTaskRecommendStatus; |
| | | /** 推荐时间 */ |
| | | recommendTime?: string; |
| | | hireStatus?: EnumTaskUserHireStatus; |
| | | /** 发布时间 */ |
| | | createdTime?: string; |
| | | } |
| | |
| | | /** 工作经验 */ |
| | | workExperience?: string; |
| | | hireStatus?: EnumTaskUserHireStatus; |
| | | } |
| | | |
| | | interface GetTraceIdLogQueryResult { |
| | | /** 资源日志 */ |
| | | resourceLogs?: GetResourceLogsQueryResultItem[]; |
| | | /** 异常日志 */ |
| | | exceptionLogs?: GetExceptionLogsQueryResultItem[]; |
| | | /** 数据库审计日志 */ |
| | | dbAuditLogs?: GetDbAuditLogsQueryResultItem[]; |
| | | } |
| | | |
| | | interface GetUserInfoRolesQueryResultItem { |
| | |
| | | } |
| | | |
| | | interface GetUserResumeQueryResultExperience { |
| | | /** 签约时间 */ |
| | | signContractTime?: string; |
| | | /** 录用时间 */ |
| | | hireTime?: string; |
| | | /** 企业全称 */ |
| | | enterpriseName?: string; |
| | | /** 任务名称 */ |
| | |
| | | workExperience?: string; |
| | | /** 创建时间 */ |
| | | createdTime?: string; |
| | | hireStatus?: EnumTaskUserHireStatus; |
| | | } |
| | | |
| | | type GetUserResumeWorkExperienceQuery = Record<string, any>; |
| | |
| | | clientType?: EnumClientType; |
| | | } |
| | | |
| | | interface PersonalUserFaceRealCommand { |
| | | /** 姓名 */ |
| | | name: string; |
| | | /** 身份证号 */ |
| | | identity: string; |
| | | /** 身份证人像面 */ |
| | | identityImg: string; |
| | | /** 身份证国徽面 */ |
| | | identityBackImg: string; |
| | | } |
| | | |
| | | interface PersonalUserIdentity3RealCommand { |
| | | /** 姓名 */ |
| | | name: string; |
| | | /** 手机号 */ |
| | | phoneNumber: string; |
| | | /** 身份证号 */ |
| | | identity: string; |
| | | /** 身份证人像面 */ |
| | | identityImg: string; |
| | | /** 身份证国徽面 */ |
| | | identityBackImg: string; |
| | | /** 验证码 */ |
| | | verifyCode: string; |
| | | } |
| | | |
| | | interface RegisterPersonalUserCommand { |
| | | /** 手机号码 */ |
| | | phoneNumber: string; |
| | | /** 验证码 */ |
| | | verifyCode: string; |
| | | } |
| | | |
| | | interface ResendResourceCommand { |
| | | /** 资源日志Id */ |
| | | id?: string; |
| | | } |
| | | |
| | | interface SaveContractTemplateCommand { |
| | | /** 企业Id(运营端保存时) */ |
| | | enterpriseId?: string; |
| | | /** 模板名称 */ |
| | | name: string; |
| | | /** 模板 */ |
| | | file: string; |
| | | /** 业务编码 */ |
| | | code?: string; |
| | | access?: EnumElectronSignAccess; |
| | | /** 模板Id */ |
| | | templateId?: string; |
| | | /** 变量 */ |
| | | values?: SaveContractTemplateCommandValue[]; |
| | | /** Id */ |
| | | id?: string; |
| | | } |
| | | |
| | | interface SaveContractTemplateCommandValue { |
| | | /** Id */ |
| | | id?: string; |
| | | type?: EnumContractTemplateValueType; |
| | | recorder?: EnumContractTemplateValueRecorder; |
| | | userType?: EnumUserType; |
| | | /** 变量名称 */ |
| | | label?: string; |
| | | /** 变量代码 */ |
| | | name?: string; |
| | | /** 是否必填 */ |
| | | required?: boolean; |
| | | } |
| | | |
| | | interface SaveDictionaryCategoryCommand { |
| | |
| | | resources?: GetRoleQueryResultResource[]; |
| | | } |
| | | |
| | | interface SaveScheduleJobDetailCommand { |
| | | /** 资源Id */ |
| | | resourceId?: string; |
| | | /** 请求数据 */ |
| | | body?: string; |
| | | /** Cron表达式 */ |
| | | cron?: string; |
| | | } |
| | | |
| | | interface SaveTaskInfoCommand { |
| | | /** 任务名称 */ |
| | | name: string; |
| | |
| | | phoneNumber: string; |
| | | } |
| | | |
| | | interface SendPersonalUserIdentity3RealSmsCommand { |
| | | /** 姓名 */ |
| | | name: string; |
| | | /** 手机号 */ |
| | | phoneNumber: string; |
| | | /** 身份证号 */ |
| | | identity: string; |
| | | } |
| | | |
| | | interface SetDictionaryDataIsDisabledCommand { |
| | | ids?: string[]; |
| | | /** 是否已禁用 */ |
| | |
| | | smsAccess?: EnumSmsAccess; |
| | | /** 短信费用 */ |
| | | smsCost?: number; |
| | | } |
| | | |
| | | interface SetIsDisabledContractTemplateCommand { |
| | | ids?: string[]; |
| | | /** 是否已禁用 */ |
| | | isDisabled?: boolean; |
| | | } |
| | | |
| | | interface SetMenuSwitchCommand { |
| | |
| | | interface SubmitCheckReceiveTaskCommand { |
| | | /** 任务Id */ |
| | | taskInfoId?: string; |
| | | /** 日期 */ |
| | | date?: 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 SyncOperationUserCommand { |
| | | dataSource?: EnumDataSource; |
| | | /** 数据来源Id */ |
| | | dataSourceId?: string; |
| | | /** 姓名 */ |
| | | name?: string; |
| | | /** 用户名 */ |
| | | userName: string; |
| | | /** 手机号 */ |
| | | phoneNumber?: string; |
| | | /** 密码 */ |
| | | password?: string; |
| | | /** 园区Id */ |
| | | industrialParkIds?: string[]; |
| | | status?: EnumUserStatus; |
| | | /** 备注 */ |
| | | remark?: string; |
| | | } |
| | | |
| | | interface UpdatePhoneNumberVerifyCodeCommand { |
| | | /** 手机号码 */ |
| | | phoneNumber: string; |
| | | } |
| | | |
| | | interface UploadFileCommandResult { |
| | | /** 地址 */ |
| | | url?: string; |
| | | } |
| | | |
| | | interface WxmpLoginCommand { |
| | | /** 用户登录凭证 */ |
| | | code: string; |
| | |
| | | }); |
| | | } |
| | | |
| | | /** 查询C端人员签约详情分页列表数据 POST /api/user/user/getPersonalUserInfoSignContracts */ |
| | | export async function getPersonalUserInfoSignContracts( |
| | | body: API.GetPersonalUserInfoSignContractsQuery, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<API.GetPersonalUserInfoSignContractsQueryResult>( |
| | | '/api/user/user/getPersonalUserInfoSignContracts', |
| | | { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json-patch+json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | } |
| | | ); |
| | | } |
| | | |
| | | /** 查询用户角色列表 GET /api/user/user/getUserInfoRoles */ |
| | | export async function getUserInfoRoles( |
| | | // 叠加生成的Param类型 (非body参数swagger默认没有生成对象) |
| | |
| | | ...(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 || {}), |
| | | }); |
| | | } |
| | | |
| | | /** 同步运营用户 POST /api/user/user/syncOperationUser */ |
| | | export async function syncOperationUser( |
| | | body: API.SyncOperationUserCommand, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<string>('/api/user/user/syncOperationUser', { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json-patch+json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | |
| | | }); |
| | | } |
| | | |
| | | /** 查询开放简历分页列表数据 POST /api/user/userResume/getOpenUserResumes */ |
| | | export async function getOpenUserResumes( |
| | | body: API.GetOpenUserResumesQuery, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<API.GetUserResumesQueryResult>('/api/user/userResume/getOpenUserResumes', { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json-patch+json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** 查询用户简历 GET /api/user/userResume/getUserResume */ |
| | | export async function getUserResume( |
| | | // 叠加生成的Param类型 (非body参数swagger默认没有生成对象) |
| | |
| | | <QueryFilterItem tip-content="制版状态"> |
| | | <FieldRadio |
| | | v-model="extraParamState.status" |
| | | :value-enum="[ |
| | | { label: '已完成', value: 1 }, |
| | | { label: '待制版', value: 0 }, |
| | | ]" |
| | | :value-enum="EnumContractTemplateStatusText" |
| | | buttonStyle |
| | | showAllBtn |
| | | @change="getList()" |
| | |
| | | </QueryFilterItem> |
| | | <QueryFilterItem> |
| | | <FieldDatePicker |
| | | v-model="extraParamState.time" |
| | | v-model="extraParamState.createdTime" |
| | | type="daterange" |
| | | range-separator="~" |
| | | start-placeholder="起始时间" |
| | |
| | | :columns="AgreementbManageColumns" |
| | | :operationBtns="operationBtns" |
| | | > |
| | | <template #code="{ row }"> |
| | | <el-button |
| | | v-if="row.status === EnumContractTemplateStatus.Completed" |
| | | link |
| | | type="primary" |
| | | @click="handlePreviewQrcode(row)" |
| | | >查看</el-button |
| | | > |
| | | <span v-else></span> |
| | | </template> |
| | | </ProTableV2> |
| | | </AppContainer> |
| | | <TemplateAddDialog v-bind="dialogProps"></TemplateAddDialog> |
| | | <QrcodeDialog v-bind="dialogQrcodeProps"></QrcodeDialog> |
| | | </LoadingLayout> |
| | | </template> |
| | | |
| | |
| | | bolePreview, |
| | | } from '@bole-core/components'; |
| | | import { AgreementbManageColumns } from './constants'; |
| | | import { EnumUserGender } from '@/constants'; |
| | | import { downloadFileByUrl } from '@/utils'; |
| | | import { EnumContractTemplateStatus, EnumContractTemplateStatusText } from '@/constants'; |
| | | import { downloadFileByUrl, format, setOSSLink } from '@/utils'; |
| | | import { ModelValueType } from 'element-plus'; |
| | | import * as taskServices from '@/services/api/task'; |
| | | import * as electronSignServices from '@/services/api/electronSign'; |
| | | import TemplateAddDialog from './components/TemplateAddDialog.vue'; |
| | | import QrcodeDialog from './components/QrcodeDialog.vue'; |
| | | import { Message } from '@bole-core/core'; |
| | | |
| | | defineOptions({ |
| | | name: 'AgreementManageList', |
| | |
| | | emits: { |
| | | onClick: (role) => handleCheck(role), |
| | | }, |
| | | extraProps: { |
| | | hide: (row) => row.status !== EnumContractTemplateStatus.Completed, |
| | | }, |
| | | }, |
| | | { |
| | | data: { |
| | |
| | | emits: { |
| | | onClick: (role) => handleDownload(role), |
| | | }, |
| | | extraProps: { |
| | | hide: (row) => row.status !== EnumContractTemplateStatus.Completed, |
| | | }, |
| | | }, |
| | | { |
| | | data: { |
| | |
| | | }, |
| | | emits: { |
| | | onClick: (role) => handleDelete(role), |
| | | }, |
| | | props: { type: 'danger' }, |
| | | extraProps: { |
| | | hide: (row) => row.status !== EnumContractTemplateStatus.Completed, |
| | | }, |
| | | }, |
| | | ]); |
| | |
| | | } = useTable( |
| | | async ({ pageIndex, pageSize }, extraParamState) => { |
| | | try { |
| | | let params: API.GetTaskInfosQuery = { |
| | | let params: API.GetEnterpriseContractTemplatesQuery = { |
| | | pageModel: { |
| | | rows: pageSize, |
| | | page: pageIndex, |
| | | orderInput: extraParamState.orderInput, |
| | | }, |
| | | keywords: extraParamState.keywords, |
| | | status: extraParamState.status, |
| | | createdTimeBegin: format(extraParamState.createdTime?.[0] ?? '', 'YYYY-MM-DD 00:00:00'), |
| | | createdTimeEnd: format(extraParamState.createdTime?.[1] ?? '', 'YYYY-MM-DD 23:59:59'), |
| | | }; |
| | | |
| | | let res = await taskServices.getTaskInfos(params, { |
| | | let res = await electronSignServices.getEnterpriseContractTemplates(params, { |
| | | showLoading: !state.loading, |
| | | }); |
| | | return res; |
| | |
| | | { |
| | | defaultExtraParams: { |
| | | keywords: '', |
| | | status: '' as any as EnumUserGender, |
| | | time: [] as unknown as ModelValueType, |
| | | orderInput: [{ property: 'id', order: EnumPagedListOrder.Desc }], |
| | | status: '' as any as EnumContractTemplateStatus, |
| | | createdTime: [] as unknown as ModelValueType, |
| | | orderInput: [{ property: 'createdTime', order: EnumPagedListOrder.Desc }], |
| | | }, |
| | | queryKey: ['flexEnterpriseServices/getFlexEnterpriseList'], |
| | | columnsRenderProps: {}, |
| | | queryKey: ['electronSignServices/getEnterpriseContractTemplates'], |
| | | columnsRenderProps: { |
| | | createdTime: { type: 'date' }, |
| | | completedTime: { type: 'date' }, |
| | | status: { type: 'enum', valueEnum: EnumContractTemplateStatusText }, |
| | | }, |
| | | } |
| | | ); |
| | | |
| | |
| | | }, |
| | | }); |
| | | |
| | | async function handleAddOrEdit() {} |
| | | |
| | | function handleDelete(row) { |
| | | console.log('row: ', row); |
| | | async function handleAddOrEdit() { |
| | | try { |
| | | let params: API.SaveContractTemplateCommand = { |
| | | name: editForm.name, |
| | | file: editForm.url[0]?.path ?? '', |
| | | }; |
| | | let res = await electronSignServices.saveContractTemplate(params); |
| | | if (res) { |
| | | Message.successMessage('保存成功'); |
| | | getList(); |
| | | } |
| | | } catch (error) {} |
| | | } |
| | | |
| | | function handleDownload(row) { |
| | | downloadFileByUrl('', '模板'); |
| | | async function handleDelete(row: API.GetEnterpriseContractTemplatesQueryResultItem) { |
| | | try { |
| | | await Message.deleteMessage(); |
| | | let res = await electronSignServices.setIsDisabledContractTemplate({ |
| | | ids: [row.id], |
| | | isDisabled: true, |
| | | }); |
| | | if (res) { |
| | | Message.successMessage('操作成功'); |
| | | getList(paginationState.pageIndex); |
| | | } |
| | | } catch (error) {} |
| | | } |
| | | |
| | | function handleCheck(row) { |
| | | function handleDownload(row: API.GetEnterpriseContractTemplatesQueryResultItem) { |
| | | downloadFileByUrl(setOSSLink(row.file), '模板'); |
| | | } |
| | | |
| | | function handleCheck(row: API.GetEnterpriseContractTemplatesQueryResultItem) { |
| | | bolePreview({ |
| | | fileUrl: '', |
| | | fileUrl: setOSSLink(row.file), |
| | | }); |
| | | } |
| | | |
| | | const { dialogProps: dialogQrcodeProps, handleEdit } = useFormDialog({ |
| | | defaultFormParams: { |
| | | qrcodeUrl: '', |
| | | }, |
| | | }); |
| | | |
| | | function handlePreviewQrcode(row: API.GetEnterpriseContractTemplatesQueryResultItem) { |
| | | handleEdit({ |
| | | // qrcodeUrl: setOSSLink(row.file), |
| | | qrcodeUrl: 'https://www.baidu.com', |
| | | }); |
| | | } |
| | | </script> |
New file |
| | |
| | | <template> |
| | | <ProDialog |
| | | title="二维码" |
| | | v-model="innerVisible" |
| | | width="400px" |
| | | destroy-on-close |
| | | draggable |
| | | class="qrcode-dialog" |
| | | > |
| | | <div class="qrcode-wrapper"> |
| | | <vue-qrcode :value="form.qrcodeUrl" tag="img" :options="{ width: 180 }" ref="qrcode"> |
| | | </vue-qrcode> |
| | | </div> |
| | | </ProDialog> |
| | | </template> |
| | | |
| | | <script setup lang="ts"> |
| | | import VueQrcode from '@chenfengyuan/vue-qrcode'; |
| | | import { ProDialog } from '@bole-core/components'; |
| | | |
| | | defineOptions({ |
| | | name: 'QrcodeDialog', |
| | | }); |
| | | |
| | | type Props = { |
| | | modelValue: boolean; |
| | | form: { |
| | | qrcodeUrl: string; |
| | | }; |
| | | }; |
| | | |
| | | const props = withDefaults(defineProps<Props>(), { |
| | | modelValue: false, |
| | | }); |
| | | |
| | | const emit = defineEmits<{ |
| | | (e: 'update:modelValue', value: boolean): void; |
| | | (e: 'onCancel'): void; |
| | | }>(); |
| | | |
| | | const innerVisible = computed({ |
| | | get() { |
| | | return props.modelValue; |
| | | }, |
| | | set(val) { |
| | | emit('update:modelValue', val); |
| | | }, |
| | | }); |
| | | </script> |
| | | |
| | | <style lang="scss" scoped> |
| | | @use '@/style/common.scss' as *; |
| | | |
| | | .qrcode-wrapper { |
| | | position: relative; |
| | | |
| | | .alipay-icon { |
| | | position: absolute; |
| | | top: calc(50% - 22px); |
| | | left: calc(50% - 22px); |
| | | display: block; |
| | | padding: 6px; |
| | | width: 44px; |
| | | height: 44px; |
| | | border: none; |
| | | border-radius: 7px; |
| | | background: #ffffff; |
| | | } |
| | | } |
| | | </style> |
| | | <style lang="scss"> |
| | | .qrcode-dialog { |
| | | .el-dialog__body { |
| | | display: flex; |
| | | justify-content: center; |
| | | } |
| | | } |
| | | </style> |
| | |
| | | v-model:file-url="form.url" |
| | | :limit="1" |
| | | :limitFileSize="10" |
| | | accept="xlsx,xls" |
| | | accept="pdf" |
| | | ></ProFormUpload> |
| | | </ProFormItemV2> |
| | | </ProForm> |
| | |
| | | }, |
| | | { |
| | | id: '2', |
| | | enCode: 'identity', |
| | | enCode: 'createdTime', |
| | | name: '上传时间', |
| | | }, |
| | | { |
| | | id: '3', |
| | | enCode: 'gender', |
| | | enCode: 'status', |
| | | name: '制版状态', |
| | | }, |
| | | { |
| | | id: '5', |
| | | enCode: 'age', |
| | | enCode: 'templateId', |
| | | name: '模板ID', |
| | | }, |
| | | { |
| | | id: '6', |
| | | enCode: 'contactPhoneNumber', |
| | | enCode: 'completedTime', |
| | | name: '制版时间', |
| | | }, |
| | | { |
| | | id: '7', |
| | | enCode: 'hireStatus', |
| | | enCode: 'code', |
| | | name: '二维码', |
| | | }, |
| | | ]); |