| | |
| | | "description": "", |
| | | "setting": { |
| | | "urlCheck": false, |
| | | "es6": false, |
| | | "enhance": false, |
| | | "es6": true, |
| | | "enhance": true, |
| | | "postcss": false, |
| | | "preloadBackgroundData": false, |
| | | "minified": false, |
| | |
| | | const { goLoginFn } = useGoLogin(); |
| | | const bgHeight = computed(() => 133 + systemStore.navHeight); |
| | | |
| | | Taro.useDidShow(() => { |
| | | Taro.useDidShow(({ scene }) => { |
| | | if (isLogin.value) { |
| | | updateUserInfo(); |
| | | setTimeout(() => { |
| | | updateUserInfo(); |
| | | }, 300); |
| | | } |
| | | }); |
| | | |
| | |
| | | |
| | | const goToSign = useAccessReal(async () => { |
| | | try { |
| | | // if (detail.value?.contractTemplateAccess === EnumElectronSignAccess.BestSign) { |
| | | let params: API.PersonalUserElectronSignCommand = { |
| | | id: detail.value?.id, |
| | | }; |
| | | let res = await enterpriseEmployeeServices.personalUserElectronSign(params); |
| | | if (res) { |
| | | const encodedUrl = encodeURIComponent(res.signContractLongUrl); |
| | | Taro.navigateTo({ url: `${RouterPath.extraPage}?url=${encodedUrl}` }); |
| | | if (detail.value?.contractTemplateAccess === EnumElectronSignAccess.AlipaySign) { |
| | | try { |
| | | await Message.confirm({ |
| | | message: `签约短信已发送至您${hiddenPhone( |
| | | detail.value?.contactPhoneNumber |
| | | )}的手机,请及时查看并签约`, |
| | | cancelText: '未收到短信', |
| | | }); |
| | | } catch (error) { |
| | | goToSign(); |
| | | } |
| | | } else { |
| | | const encodedUrl = encodeURIComponent(res.signContractLongUrl); |
| | | Taro.navigateTo({ url: `${RouterPath.extraPage}?url=${encodedUrl}` }); |
| | | } |
| | | } |
| | | // } |
| | | // if (detail.value?.contractTemplateAccess === EnumElectronSignAccess.AlipaySign) { |
| | | // Message.confirm({ |
| | | // message: `签约短信已发送至您${hiddenPhone( |
| | | // detail.value?.contactPhoneNumber |
| | | // )}的手机,请及时查看并签约`, |
| | | // showCancelBtn: false, |
| | | // }); |
| | | // } |
| | | } catch (error) {} |
| | | }); |
| | | Taro.useDidShow(() => { |
| | |
| | | Wxmp = 20, |
| | | } |
| | | |
| | | /** 编号地址场景 */ |
| | | export enum EnumCodeUrlScene { |
| | | /**邀请签约 */ |
| | | InviteElectronSign = 1, |
| | | /**签约地址 */ |
| | | ElectronSignUrl = 10, |
| | | } |
| | | |
| | | /** 合同制版状态 */ |
| | | export enum EnumContractTemplateStatus { |
| | | /**待制版 */ |
| | |
| | | Alipay = 10, |
| | | } |
| | | |
| | | /** 企业钱包代进件单附件类型 */ |
| | | export enum EnumEnterpriseWalletExpandindirectOrderFileType { |
| | | /**转账场景截图 */ |
| | | Scene = 10, |
| | | /**商户行业资质图片或协议文本 */ |
| | | SceneQualification = 20, |
| | | } |
| | | |
| | | /** 企业钱包代进件场景 */ |
| | | export enum EnumEnterpriseWalletExpandindirectOrderScene { |
| | | /**现金营销 */ |
| | | XIANJIN_YINGXIAO = 10, |
| | | /**行政补贴 */ |
| | | XINGZHENG_BUTIE = 20, |
| | | /**保险理赔 */ |
| | | BAOXIAN_LIPEI = 30, |
| | | /**佣金报酬 */ |
| | | YONGJIN_BAOCHOU = 40, |
| | | /**企业赔付 */ |
| | | QIYE_PEIFU = 50, |
| | | /**采购货款 */ |
| | | CAIGOU_HUOKUAN = 60, |
| | | /**二手回收 */ |
| | | ERSHOU_HUISHOU = 70, |
| | | /**公益补助 */ |
| | | GONGYI_BUZHU = 80, |
| | | /**其他场景 */ |
| | | ZHUANZHANG_QITA = 90, |
| | | } |
| | | |
| | | /** 企业钱包代进件单状态 */ |
| | | export enum EnumEnterpriseWalletExpandindirectOrderStatus { |
| | | /**未进件 */ |
| | | Wait = 1, |
| | | /**审批中 */ |
| | | PROCESSING = 10, |
| | | /**已进件 */ |
| | | VALID = 20, |
| | | /**审批不通过 */ |
| | | INVALID = 30, |
| | | /**已废弃 */ |
| | | DISUSE = 40, |
| | | /**已撤销 */ |
| | | REVOKED = 50, |
| | | } |
| | | |
| | | /** 企业钱包签约状态 */ |
| | | export enum EnumEnterpriseWalletSignStatus { |
| | | /**未签约 */ |
| | | Wait = 1, |
| | | /**申请中 */ |
| | | Apply = 10, |
| | | /**已签约 */ |
| | | Normal = 100, |
| | | /**终止 */ |
| | | Stop = 999, |
| | | } |
| | | |
| | | /** 企业钱包交易状态 */ |
| | | export enum EnumEnterpriseWalletTransactionStatus { |
| | | /**待提交 */ |
| | | WaitSubmit = 1, |
| | | /**待支付 */ |
| | | WaitPay = 10, |
| | | /**处理中 */ |
| | | Dealing = 20, |
| | | /**成功 */ |
| | | Success = 30, |
| | | /**退票 */ |
| | | Refund = 40, |
| | | /**失败 */ |
| | | Fail = 50, |
| | | } |
| | | |
| | | /** 企业钱包交易类型 */ |
| | | export enum EnumEnterpriseWalletTransactionType { |
| | | /**充值 */ |
| | | Recharge = 10, |
| | | /**转账 */ |
| | | Transfer = 20, |
| | | } |
| | | |
| | | /** 菜单类型 */ |
| | |
| | | FlexJobServerTaskUser = 2, |
| | | /**任务验收 */ |
| | | FlexJobServerTaskCheckReceive = 3, |
| | | /**编号地址 */ |
| | | CommonServerCodeUrls = 4, |
| | | /**文件 */ |
| | | CommonServerFileUtils = 4, |
| | | CommonServerFileUtils = 5, |
| | | /**文字识别 */ |
| | | CommonServerOcrUtils = 5, |
| | | CommonServerOcrUtils = 6, |
| | | /**日志记录 */ |
| | | CommonServerLogRecords = 6, |
| | | CommonServerLogRecords = 7, |
| | | /**同步数据库 */ |
| | | CommonServerSyncDatabase = 8, |
| | | /**用户认证 */ |
| | | UserServerAuth = 7, |
| | | UserServerAuth = 9, |
| | | /**用户菜单 */ |
| | | UserServerMenu = 8, |
| | | UserServerMenu = 10, |
| | | /**用户资源 */ |
| | | UserServerResource = 9, |
| | | UserServerResource = 11, |
| | | /**用户角色 */ |
| | | UserServerRole = 10, |
| | | UserServerRole = 12, |
| | | /**用户信息 */ |
| | | UserServerUser = 11, |
| | | UserServerUser = 13, |
| | | /**电子签 */ |
| | | UserServerElectronSign = 12, |
| | | UserServerElectronSign = 14, |
| | | /**用户简历 */ |
| | | UserServerUserResume = 13, |
| | | UserServerUserResume = 15, |
| | | /**企业信息 */ |
| | | UserServerEnterprise = 14, |
| | | UserServerEnterprise = 16, |
| | | /**企业钱包 */ |
| | | UserServerEnterpriseWallet = 15, |
| | | UserServerEnterpriseWallet = 17, |
| | | /**灵工信息 */ |
| | | UserServerEnterpriseEmployee = 16, |
| | | UserServerEnterpriseEmployee = 18, |
| | | /**电子签 */ |
| | | ElectronSignServerElectronSign = 17, |
| | | ElectronSignServerElectronSign = 19, |
| | | } |
| | | |
| | | /** 资源请求方式 */ |
| | |
| | | Stopped = 100, |
| | | } |
| | | |
| | | /** 任务结算单状态 */ |
| | | export enum EnumTaskSettlementOrderStatus { |
| | | /**待上传 */ |
| | | Wait = 10, |
| | | /**已上传 */ |
| | | Completed = 20, |
| | | } |
| | | |
| | | /** 任务结算状态 */ |
| | | export enum EnumTaskSettlementStatus { |
| | | /**待结算 */ |
| | | Wait = 10, |
| | | /**结算中 */ |
| | | InProcess = 20, |
| | | /**已结算 */ |
| | | Completed = 30, |
| | | } |
New file |
| | |
| | | /* eslint-disable */ |
| | | // @ts-ignore |
| | | import { request } from '@/utils/request'; |
| | | |
| | | /** 查询编号地址 GET /api/common/codeUrl/getCodeUrl */ |
| | | export async function getCodeUrl( |
| | | // 叠加生成的Param类型 (非body参数swagger默认没有生成对象) |
| | | params: API.APIgetCodeUrlParams, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<API.GetCodeUrlQueryResult>('/api/common/codeUrl/getCodeUrl', { |
| | | method: 'GET', |
| | | params: { |
| | | ...params, |
| | | }, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** 保存编号地址 POST /api/common/codeUrl/saveCodeUrl */ |
| | | export async function saveCodeUrl(body: API.SaveCodeUrlCommand, options?: API.RequestConfig) { |
| | | return request<string>('/api/common/codeUrl/saveCodeUrl', { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json-patch+json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | |
| | | ); |
| | | } |
| | | |
| | | /** 发送邀请签约短信 POST /api/user/enterpriseEmployee/sendInviteElectronSignSms */ |
| | | export async function sendInviteElectronSignSms( |
| | | body: API.SendInviteElectronSignSmsCommand, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<number>('/api/user/enterpriseEmployee/sendInviteElectronSignSms', { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json-patch+json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** 灵工解约 POST /api/user/enterpriseEmployee/stopElectronSign */ |
| | | export async function stopElectronSign( |
| | | body: API.StopElectronSignCommand, |
| | |
| | | // @ts-ignore |
| | | import { request } from '@/utils/request'; |
| | | |
| | | /** 支付宝资金二级商户KYB代进件 POST /api/user/enterpriseWallet/alipayFundExpandindirectCreate */ |
| | | export async function alipayFundExpandindirectCreate( |
| | | body: API.AlipayFundExpandindirectCreateCommand, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<string>('/api/user/enterpriseWallet/alipayFundExpandindirectCreate', { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json-patch+json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** 支付宝资金二级商户KYB代进件状态通知 POST /api/user/enterpriseWallet/alipayFundExpandindirectCreateNotify */ |
| | | export async function alipayFundExpandindirectCreateNotify( |
| | | body: { |
| | |
| | | }); |
| | | } |
| | | |
| | | /** 支付宝资金二级商户KYB代进件文件上传接口 POST /api/user/enterpriseWallet/alipayFundExpandindirectImageUpload */ |
| | | export async function alipayFundExpandindirectImageUpload( |
| | | /** 资金单据状态变更通知 POST /api/user/enterpriseWallet/alipayFundTransOrderChangedNotify */ |
| | | export async function alipayFundTransOrderChangedNotify( |
| | | body: { |
| | | /** 产品码 */ |
| | | ProductCode?: string; |
| | | /** 场景码 */ |
| | | BizScene?: string; |
| | | /** 通知ID */ |
| | | notify_id?: string; |
| | | /** 消息发送时的服务端时间 */ |
| | | utc_timestamp?: string; |
| | | /** 消息接口名称 */ |
| | | msg_method?: string; |
| | | /** 消息接受方的应用id */ |
| | | app_id?: string; |
| | | /** 版本号(1.1版本为标准消息) */ |
| | | version?: string; |
| | | /** 消息报文 */ |
| | | biz_content?: string; |
| | | /** 签名 */ |
| | | sign?: string; |
| | | /** 签名类型 */ |
| | | sign_type?: string; |
| | | /** 编码集,该字符集为验签和解密所需要的字符集 */ |
| | | charset?: 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]; |
| | |
| | | } |
| | | }); |
| | | |
| | | return request<string>('/api/user/enterpriseWallet/alipayFundExpandindirectImageUpload', { |
| | | return request<boolean>('/api/user/enterpriseWallet/alipayFundTransOrderChangedNotify', { |
| | | method: 'POST', |
| | | data: formData, |
| | | requestType: 'form', |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** 支付宝资金二级商户KYB代进件单取消接口 POST /api/user/enterpriseWallet/alipayFundExpandindirectOrderCancel */ |
| | | export async function alipayFundExpandindirectOrderCancel( |
| | | body: API.AlipayFundExpandindirectOrderCancelCommand, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<string>('/api/user/enterpriseWallet/alipayFundExpandindirectOrderCancel', { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json-patch+json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** 转账 POST /api/user/enterpriseWallet/alipayTransfer */ |
| | | export async function alipayTransfer(body: API.AlipayTransferCommand, options?: API.RequestConfig) { |
| | | return request<string>('/api/user/enterpriseWallet/alipayTransfer', { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json-patch+json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | |
| | | }); |
| | | } |
| | | |
| | | /** 查询支付宝资金二级商户KYB代进件单详情 GET /api/user/enterpriseWallet/getAlipayFundExpandindirectOrder */ |
| | | export async function getAlipayFundExpandindirectOrder( |
| | | // 叠加生成的Param类型 (非body参数swagger默认没有生成对象) |
| | | params: API.APIgetAlipayFundExpandindirectOrderParams, |
| | | /** 支付宝资金二级商户KYB代进件 POST /api/user/enterpriseWallet/enterpriseWalletExpandindirectCreate */ |
| | | export async function enterpriseWalletExpandindirectCreate( |
| | | body: API.EnterpriseWalletExpandindirectCreateCommand, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<API.GetAlipayFundExpandindirectOrderQueryResult>( |
| | | '/api/user/enterpriseWallet/getAlipayFundExpandindirectOrder', |
| | | { |
| | | method: 'GET', |
| | | params: { |
| | | ...params, |
| | | }, |
| | | ...(options || {}), |
| | | } |
| | | ); |
| | | return request<string>('/api/user/enterpriseWallet/enterpriseWalletExpandindirectCreate', { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json-patch+json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** 支付宝资金二级商户KYB代进件单取消接口 POST /api/user/enterpriseWallet/enterpriseWalletExpandindirectOrderCancel */ |
| | | export async function enterpriseWalletExpandindirectOrderCancel( |
| | | body: API.EnterpriseWalletExpandindirectOrderCancelCommand, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<string>('/api/user/enterpriseWallet/enterpriseWalletExpandindirectOrderCancel', { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json-patch+json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** 支付宝通知回传 GET /api/user/enterpriseWallet/getAlipayNotify */ |
| | |
| | | ); |
| | | } |
| | | |
| | | /** 查询支付宝资金二级商户KYB代进件单详情 GET /api/user/enterpriseWallet/getEnterpriseWalletExpandindirectOrder */ |
| | | export async function getEnterpriseWalletExpandindirectOrder( |
| | | // 叠加生成的Param类型 (非body参数swagger默认没有生成对象) |
| | | params: API.APIgetEnterpriseWalletExpandindirectOrderParams, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<API.GetEnterpriseWalletExpandindirectOrderQueryResult>( |
| | | '/api/user/enterpriseWallet/getEnterpriseWalletExpandindirectOrder', |
| | | { |
| | | method: 'GET', |
| | | params: { |
| | | ...params, |
| | | }, |
| | | ...(options || {}), |
| | | } |
| | | ); |
| | | } |
| | | |
| | | /** 查询企业钱包交易详情 GET /api/user/enterpriseWallet/getEnterpriseWalletTransaction */ |
| | | export async function getEnterpriseWalletTransaction( |
| | | // 叠加生成的Param类型 (非body参数swagger默认没有生成对象) |
| | | params: API.APIgetEnterpriseWalletTransactionParams, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<API.GetEnterpriseWalletTransactionQueryResult>( |
| | | '/api/user/enterpriseWallet/getEnterpriseWalletTransaction', |
| | | { |
| | | method: 'GET', |
| | | params: { |
| | | ...params, |
| | | }, |
| | | ...(options || {}), |
| | | } |
| | | ); |
| | | } |
| | | |
| | | /** 开通企业钱包 POST /api/user/enterpriseWallet/openEnterpriseWallet */ |
| | | export async function openEnterpriseWallet( |
| | | body: API.OpenEnterpriseWalletCommand, |
| | |
| | | } |
| | | ); |
| | | } |
| | | |
| | | /** 企业钱包充值 POST /api/user/enterpriseWallet/rechargeEnterpriseWallet */ |
| | | export async function rechargeEnterpriseWallet( |
| | | body: API.RechargeEnterpriseWalletCommand, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<API.RechargeEnterpriseWalletCommandResult>( |
| | | '/api/user/enterpriseWallet/rechargeEnterpriseWallet', |
| | | { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json-patch+json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | } |
| | | ); |
| | | } |
| | | |
| | | /** 企业钱包转账 POST /api/user/enterpriseWallet/transferEnterpriseWallet */ |
| | | export async function transferEnterpriseWallet( |
| | | body: API.TransferEnterpriseWalletCommand, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<string>('/api/user/enterpriseWallet/transferEnterpriseWallet', { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json-patch+json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | |
| | | import * as user from './user'; |
| | | import * as role from './role'; |
| | | import * as ocrUtils from './ocrUtils'; |
| | | import * as task from './task'; |
| | | import * as enterprise from './enterprise'; |
| | | import * as resource from './resource'; |
| | | import * as task from './task'; |
| | | import * as dictionary from './dictionary'; |
| | | import * as enterpriseWallet from './enterpriseWallet'; |
| | | import * as codeUrl from './codeUrl'; |
| | | import * as electronSign from './electronSign'; |
| | | import * as userResume from './userResume'; |
| | | import * as auth from './auth'; |
| | |
| | | import * as menu from './menu'; |
| | | import * as logRecords from './logRecords'; |
| | | import * as fileUtils from './fileUtils'; |
| | | import * as syncDatabase from './syncDatabase'; |
| | | export default { |
| | | enterpriseEmployee, |
| | | user, |
| | | role, |
| | | ocrUtils, |
| | | task, |
| | | enterprise, |
| | | resource, |
| | | task, |
| | | dictionary, |
| | | enterpriseWallet, |
| | | codeUrl, |
| | | electronSign, |
| | | userResume, |
| | | auth, |
| | |
| | | menu, |
| | | logRecords, |
| | | fileUtils, |
| | | syncDatabase, |
| | | }; |
New file |
| | |
| | | /* eslint-disable */ |
| | | // @ts-ignore |
| | | import { request } from '@/utils/request'; |
| | | |
| | | /** 同步数据库 POST /api/common/syncDatabase/syncDatabase */ |
| | | export async function syncDatabase(body: API.SyncDatabaseCommand, options?: API.RequestConfig) { |
| | | return request<number>('/api/common/syncDatabase/syncDatabase', { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json-patch+json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | |
| | | ); |
| | | } |
| | | |
| | | /** 查询结算单详情 GET /api/flexjob/task/getSettlementTask */ |
| | | export async function getSettlementTask( |
| | | // 叠加生成的Param类型 (非body参数swagger默认没有生成对象) |
| | | params: API.APIgetSettlementTaskParams, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<API.GetSettlementTaskQueryResult>('/api/flexjob/task/getSettlementTask', { |
| | | method: 'GET', |
| | | params: { |
| | | ...params, |
| | | }, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** 查询结算任务分页列表数据 POST /api/flexjob/task/getSettlementTasks */ |
| | | export async function getSettlementTasks( |
| | | body: API.GetSettlementTasksQuery, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<API.GetSettlementTasksQueryResult>('/api/flexjob/task/getSettlementTasks', { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json-patch+json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** 查询任务企业信息 GET /api/flexjob/task/getTaskEnterprise */ |
| | | export async function getTaskEnterprise( |
| | | // 叠加生成的Param类型 (非body参数swagger默认没有生成对象) |
| | |
| | | /** 查询任务分页列表 POST /api/flexjob/task/getTaskInfos */ |
| | | export async function getTaskInfos(body: API.GetTaskInfosQuery, options?: API.RequestConfig) { |
| | | return request<API.GetTaskInfosQueryResult>('/api/flexjob/task/getTaskInfos', { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json-patch+json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** 查询任务选择器数据 GET /api/flexjob/task/getTaskSelect */ |
| | | export async function getTaskSelect( |
| | | // 叠加生成的Param类型 (非body参数swagger默认没有生成对象) |
| | | params: API.APIgetTaskSelectParams, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<API.SelectOptionGuidGetTaskSelectQueryOption[]>( |
| | | '/api/flexjob/task/getTaskSelect', |
| | | { |
| | | method: 'GET', |
| | | params: { |
| | | ...params, |
| | | }, |
| | | ...(options || {}), |
| | | } |
| | | ); |
| | | } |
| | | |
| | | /** 撤回结算 POST /api/flexjob/task/revokeTaskSettlementOrder */ |
| | | export async function revokeTaskSettlementOrder( |
| | | body: API.RevokeTaskSettlementOrderCommand, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<string>('/api/flexjob/task/revokeTaskSettlementOrder', { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json-patch+json', |
| | |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** 确认结算 POST /api/flexjob/task/sureTaskSettlement */ |
| | | export async function sureTaskSettlement( |
| | | body: API.SureTaskSettlementCommand, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<string>('/api/flexjob/task/sureTaskSettlement', { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json-patch+json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** 确认结算单 POST /api/flexjob/task/sureTaskSettlementOrder */ |
| | | export async function sureTaskSettlementOrder( |
| | | body: API.SureTaskSettlementOrderCommand, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<string>('/api/flexjob/task/sureTaskSettlementOrder', { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json-patch+json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | |
| | | }); |
| | | } |
| | | |
| | | /** 查询结算名单分页列表数据 GET /api/flexjob/taskUser/getSettlementTaskUsers */ |
| | | export async function getSettlementTaskUsers( |
| | | // 叠加生成的Param类型 (非body参数swagger默认没有生成对象) |
| | | params: API.APIgetSettlementTaskUsersParams, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<API.GetSettlementTaskUsersQueryResult>( |
| | | '/api/flexjob/taskUser/getSettlementTaskUsers', |
| | | { |
| | | method: 'GET', |
| | | params: { |
| | | ...params, |
| | | }, |
| | | ...(options || {}), |
| | | } |
| | | ); |
| | | } |
| | | |
| | | /** 查询应聘报名人员录用状态 GET /api/flexjob/taskUser/getTaskUserHireStatus */ |
| | | export async function getTaskUserHireStatus( |
| | | // 叠加生成的Param类型 (非body参数swagger默认没有生成对象) |
| | |
| | | [key: string]: any; |
| | | } |
| | | |
| | | interface AlipayFundExpandindirectCreateCommand { |
| | | /** 产品码 */ |
| | | productCode?: string; |
| | | /** 场景码 */ |
| | | bizScene?: string; |
| | | /** 外部单号 */ |
| | | outBizNo?: string; |
| | | /** 二级商户信息-标识 */ |
| | | identity?: string; |
| | | /** 二级商户信息-标识类型 */ |
| | | identityType?: string; |
| | | /** 二级商户信息-姓名 */ |
| | | name?: string; |
| | | /** 业务类型 */ |
| | | bizType?: string; |
| | | /** 原进件单id */ |
| | | originalOrderId?: string; |
| | | /** 资金记账本的业务场景 */ |
| | | sceneCode?: string; |
| | | /** 转账场景说明 */ |
| | | sceneDirections?: string; |
| | | /** 转账场景截图 */ |
| | | sceneImage?: string; |
| | | /** 商户行业资质图片或协议文本 */ |
| | | sceneQualificationImage?: string; |
| | | sitesInfo?: AlipayFundExpandindirectCreateCommandSites; |
| | | /** Id */ |
| | | id?: string; |
| | | } |
| | | |
| | | interface AlipayFundExpandindirectCreateCommandSites { |
| | | website?: string; |
| | | app?: string; |
| | | gongzh?: string; |
| | | qita?: string; |
| | | xchengxU_ZHI?: string; |
| | | } |
| | | |
| | | interface AlipayFundExpandindirectOrderCancelCommand { |
| | | /** 代进件单Id */ |
| | | id?: string; |
| | | } |
| | | |
| | | type AlipayTransferCommand = Record<string, any>; |
| | | |
| | | interface APIcheckHealthParams { |
| | | /** 健康校验 */ |
| | | request?: CheckHealthQuery; |
| | | } |
| | | |
| | | interface APIgetAlipayFundExpandindirectOrderParams { |
| | | /** 代进件单Id */ |
| | | id?: string; |
| | | } |
| | | |
| | | interface APIgetAliyunOSSAcsParams { |
| | |
| | | taskInfoUserId?: string; |
| | | /** 日期(用于两个小程序 跟某一个Id一起传) */ |
| | | date?: string; |
| | | } |
| | | |
| | | interface APIgetCodeUrlParams { |
| | | /** 场景 */ |
| | | scene?: EnumCodeUrlScene; |
| | | /** 编号 */ |
| | | code?: string; |
| | | } |
| | | |
| | | interface APIgetContractTemplateParams { |
| | |
| | | id?: string; |
| | | } |
| | | |
| | | interface APIgetEnterpriseWalletExpandindirectOrderParams { |
| | | /** 企业Id */ |
| | | enterpriseId?: string; |
| | | } |
| | | |
| | | interface APIgetEnterpriseWalletParams { |
| | | /** 企业Id */ |
| | | enterpriseId?: string; |
| | | /** 通道 */ |
| | | access?: EnumEnterpriseWalletAccess; |
| | | } |
| | | |
| | | interface APIgetEnterpriseWalletTransactionParams { |
| | | /** 交易Id */ |
| | | id?: string; |
| | | } |
| | | |
| | | interface APIgetFileUrlParams { |
| | |
| | | interface APIgetPersonalLoginInfoParams { |
| | | /** 查询个人用户登录信息 */ |
| | | request?: GetPersonalLoginInfoQuery; |
| | | } |
| | | |
| | | interface APIgetPersonalUserBankCardParams { |
| | | /** 查询个人用户银行卡信息 */ |
| | | request?: GetPersonalUserBankCardQuery; |
| | | } |
| | | |
| | | interface APIgetPersonalUserElectronSignParams { |
| | |
| | | roleId?: string; |
| | | } |
| | | |
| | | interface APIgetSettlementTaskParams { |
| | | /** Id */ |
| | | id?: string; |
| | | } |
| | | |
| | | interface APIgetSettlementTaskUsersParams { |
| | | /** 任务Id */ |
| | | taskInfoId?: string; |
| | | /** 结算单地址 */ |
| | | settlementOrderUrl?: string; |
| | | } |
| | | |
| | | interface APIgetTaskEnterpriseParams { |
| | | /** 企业Id */ |
| | | id?: string; |
| | |
| | | interface APIgetTaskInfoParams { |
| | | /** Id */ |
| | | id?: string; |
| | | } |
| | | |
| | | interface APIgetTaskSelectParams { |
| | | /** 关键字 */ |
| | | keywords?: string; |
| | | } |
| | | |
| | | interface APIgetTaskUserHireStatusParams { |
| | |
| | | type ClearTaskCollectCommand = Record<string, any>; |
| | | |
| | | interface CloseEnterpriseWalletCommand { |
| | | /** 企业Id */ |
| | | enterpriseId?: string; |
| | | access?: EnumEnterpriseWalletAccess; |
| | | } |
| | | |
| | |
| | | signContractLongUrl?: string; |
| | | } |
| | | |
| | | interface EnterpriseWalletExpandindirectCreateCommand { |
| | | /** 企业Id */ |
| | | enterpriseId?: string; |
| | | /** 支付宝登录账号 */ |
| | | identity?: string; |
| | | /** 支付宝姓名 */ |
| | | name?: string; |
| | | scene?: EnumEnterpriseWalletExpandindirectOrderScene; |
| | | /** 转账场景说明 */ |
| | | sceneDirections?: string; |
| | | sitesInfo?: EnterpriseWalletExpandindirectCreateCommandSites; |
| | | /** 附件 */ |
| | | files?: EnterpriseWalletExpandindirectCreateCommandFile[]; |
| | | } |
| | | |
| | | interface EnterpriseWalletExpandindirectCreateCommandFile { |
| | | type?: EnumEnterpriseWalletExpandindirectOrderFileType; |
| | | /** 附件 */ |
| | | file?: string; |
| | | } |
| | | |
| | | interface EnterpriseWalletExpandindirectCreateCommandSites { |
| | | /** 网站 */ |
| | | website?: string; |
| | | /** APP */ |
| | | app?: string; |
| | | /** 公众号 */ |
| | | gongzh?: string; |
| | | /** 支付宝小程序 */ |
| | | xchengxU_ZHI?: string; |
| | | /** 其他 */ |
| | | qita?: string; |
| | | } |
| | | |
| | | interface EnterpriseWalletExpandindirectOrderCancelCommand { |
| | | /** 企业Id */ |
| | | enterpriseId?: string; |
| | | } |
| | | |
| | | enum EnumBillingMethod { |
| | | /**按月 */ |
| | | Month = 10, |
| | |
| | | PcWeb = 10, |
| | | /**微信小程序 */ |
| | | Wxmp = 20, |
| | | } |
| | | |
| | | enum EnumCodeUrlScene { |
| | | /**邀请签约 */ |
| | | InviteElectronSign = 1, |
| | | /**签约地址 */ |
| | | ElectronSignUrl = 10, |
| | | } |
| | | |
| | | enum EnumContractTemplateStatus { |
| | |
| | | Alipay = 10, |
| | | } |
| | | |
| | | enum EnumEnterpriseWalletExpandindirectOrderFileType { |
| | | /**转账场景截图 */ |
| | | Scene = 10, |
| | | /**商户行业资质图片或协议文本 */ |
| | | SceneQualification = 20, |
| | | } |
| | | |
| | | enum EnumEnterpriseWalletExpandindirectOrderScene { |
| | | /**现金营销 */ |
| | | XIANJIN_YINGXIAO = 10, |
| | | /**行政补贴 */ |
| | | XINGZHENG_BUTIE = 20, |
| | | /**保险理赔 */ |
| | | BAOXIAN_LIPEI = 30, |
| | | /**佣金报酬 */ |
| | | YONGJIN_BAOCHOU = 40, |
| | | /**企业赔付 */ |
| | | QIYE_PEIFU = 50, |
| | | /**采购货款 */ |
| | | CAIGOU_HUOKUAN = 60, |
| | | /**二手回收 */ |
| | | ERSHOU_HUISHOU = 70, |
| | | /**公益补助 */ |
| | | GONGYI_BUZHU = 80, |
| | | /**其他场景 */ |
| | | ZHUANZHANG_QITA = 90, |
| | | } |
| | | |
| | | enum EnumEnterpriseWalletExpandindirectOrderStatus { |
| | | /**未进件 */ |
| | | Wait = 1, |
| | | /**审批中 */ |
| | | PROCESSING = 10, |
| | | /**已进件 */ |
| | | VALID = 20, |
| | | /**审批不通过 */ |
| | | INVALID = 30, |
| | | /**已废弃 */ |
| | | DISUSE = 40, |
| | | /**已撤销 */ |
| | | REVOKED = 50, |
| | | } |
| | | |
| | | enum EnumEnterpriseWalletSignStatus { |
| | | /**未签约 */ |
| | | Wait = 1, |
| | | /**申请中 */ |
| | | Apply = 10, |
| | | /**已签约 */ |
| | | Normal = 100, |
| | | /**终止 */ |
| | | Stop = 999, |
| | | } |
| | | |
| | | enum EnumEnterpriseWalletTransactionStatus { |
| | | /**待提交 */ |
| | | WaitSubmit = 1, |
| | | /**待支付 */ |
| | | WaitPay = 10, |
| | | /**处理中 */ |
| | | Dealing = 20, |
| | | /**成功 */ |
| | | Success = 30, |
| | | /**退票 */ |
| | | Refund = 40, |
| | | /**失败 */ |
| | | Fail = 50, |
| | | } |
| | | |
| | | enum EnumEnterpriseWalletTransactionType { |
| | | /**充值 */ |
| | | Recharge = 10, |
| | | /**转账 */ |
| | | Transfer = 20, |
| | | } |
| | | |
| | | enum EnumMenuType { |
| | |
| | | FlexJobServerTaskUser = 2, |
| | | /**任务验收 */ |
| | | FlexJobServerTaskCheckReceive = 3, |
| | | /**编号地址 */ |
| | | CommonServerCodeUrls = 4, |
| | | /**文件 */ |
| | | CommonServerFileUtils = 4, |
| | | CommonServerFileUtils = 5, |
| | | /**文字识别 */ |
| | | CommonServerOcrUtils = 5, |
| | | CommonServerOcrUtils = 6, |
| | | /**日志记录 */ |
| | | CommonServerLogRecords = 6, |
| | | CommonServerLogRecords = 7, |
| | | /**同步数据库 */ |
| | | CommonServerSyncDatabase = 8, |
| | | /**用户认证 */ |
| | | UserServerAuth = 7, |
| | | UserServerAuth = 9, |
| | | /**用户菜单 */ |
| | | UserServerMenu = 8, |
| | | UserServerMenu = 10, |
| | | /**用户资源 */ |
| | | UserServerResource = 9, |
| | | UserServerResource = 11, |
| | | /**用户角色 */ |
| | | UserServerRole = 10, |
| | | UserServerRole = 12, |
| | | /**用户信息 */ |
| | | UserServerUser = 11, |
| | | UserServerUser = 13, |
| | | /**电子签 */ |
| | | UserServerElectronSign = 12, |
| | | UserServerElectronSign = 14, |
| | | /**用户简历 */ |
| | | UserServerUserResume = 13, |
| | | UserServerUserResume = 15, |
| | | /**企业信息 */ |
| | | UserServerEnterprise = 14, |
| | | UserServerEnterprise = 16, |
| | | /**企业钱包 */ |
| | | UserServerEnterpriseWallet = 15, |
| | | UserServerEnterpriseWallet = 17, |
| | | /**灵工信息 */ |
| | | UserServerEnterpriseEmployee = 16, |
| | | UserServerEnterpriseEmployee = 18, |
| | | /**电子签 */ |
| | | ElectronSignServerElectronSign = 17, |
| | | ElectronSignServerElectronSign = 19, |
| | | } |
| | | |
| | | enum EnumResourceMethod { |
| | |
| | | Stopped = 100, |
| | | } |
| | | |
| | | enum EnumTaskSettlementOrderStatus { |
| | | /**待上传 */ |
| | | Wait = 10, |
| | | /**已上传 */ |
| | | Completed = 20, |
| | | } |
| | | |
| | | enum EnumTaskSettlementStatus { |
| | | /**待结算 */ |
| | | Wait = 10, |
| | | /**结算中 */ |
| | | InProcess = 20, |
| | | /**已结算 */ |
| | | Completed = 30, |
| | | } |
| | |
| | | timestamp?: number; |
| | | } |
| | | |
| | | interface FriendlyResultGetAlipayFundExpandindirectOrderQueryResult { |
| | | /** 跟踪Id */ |
| | | traceId?: string; |
| | | /** 状态码 */ |
| | | code?: number; |
| | | /** 错误码 */ |
| | | errorCode?: string; |
| | | data?: GetAlipayFundExpandindirectOrderQueryResult; |
| | | /** 执行成功 */ |
| | | success?: boolean; |
| | | /** 错误信息 */ |
| | | msg?: any; |
| | | /** 附加数据 */ |
| | | extras?: any; |
| | | /** 时间戳 */ |
| | | timestamp?: number; |
| | | } |
| | | |
| | | interface FriendlyResultGetAliyunOSSAcsQueryResult { |
| | | /** 跟踪Id */ |
| | | traceId?: string; |
| | |
| | | /** 错误码 */ |
| | | errorCode?: string; |
| | | data?: GetCheckReceiveTaskUserSubmitsQueryResult; |
| | | /** 执行成功 */ |
| | | success?: boolean; |
| | | /** 错误信息 */ |
| | | msg?: any; |
| | | /** 附加数据 */ |
| | | extras?: any; |
| | | /** 时间戳 */ |
| | | timestamp?: number; |
| | | } |
| | | |
| | | interface FriendlyResultGetCodeUrlQueryResult { |
| | | /** 跟踪Id */ |
| | | traceId?: string; |
| | | /** 状态码 */ |
| | | code?: number; |
| | | /** 错误码 */ |
| | | errorCode?: string; |
| | | data?: GetCodeUrlQueryResult; |
| | | /** 执行成功 */ |
| | | success?: boolean; |
| | | /** 错误信息 */ |
| | |
| | | timestamp?: number; |
| | | } |
| | | |
| | | interface FriendlyResultGetEnterpriseWalletExpandindirectOrderQueryResult { |
| | | /** 跟踪Id */ |
| | | traceId?: string; |
| | | /** 状态码 */ |
| | | code?: number; |
| | | /** 错误码 */ |
| | | errorCode?: string; |
| | | data?: GetEnterpriseWalletExpandindirectOrderQueryResult; |
| | | /** 执行成功 */ |
| | | success?: boolean; |
| | | /** 错误信息 */ |
| | | msg?: any; |
| | | /** 附加数据 */ |
| | | extras?: any; |
| | | /** 时间戳 */ |
| | | timestamp?: number; |
| | | } |
| | | |
| | | interface FriendlyResultGetEnterpriseWalletQueryResult { |
| | | /** 跟踪Id */ |
| | | traceId?: string; |
| | |
| | | /** 错误码 */ |
| | | errorCode?: string; |
| | | data?: GetEnterpriseWalletQueryResult; |
| | | /** 执行成功 */ |
| | | success?: boolean; |
| | | /** 错误信息 */ |
| | | msg?: any; |
| | | /** 附加数据 */ |
| | | extras?: any; |
| | | /** 时间戳 */ |
| | | timestamp?: number; |
| | | } |
| | | |
| | | interface FriendlyResultGetEnterpriseWalletTransactionQueryResult { |
| | | /** 跟踪Id */ |
| | | traceId?: string; |
| | | /** 状态码 */ |
| | | code?: number; |
| | | /** 错误码 */ |
| | | errorCode?: string; |
| | | data?: GetEnterpriseWalletTransactionQueryResult; |
| | | /** 执行成功 */ |
| | | success?: boolean; |
| | | /** 错误信息 */ |
| | |
| | | timestamp?: number; |
| | | } |
| | | |
| | | interface FriendlyResultGetPersonalUserBankCardQueryResult { |
| | | /** 跟踪Id */ |
| | | traceId?: string; |
| | | /** 状态码 */ |
| | | code?: number; |
| | | /** 错误码 */ |
| | | errorCode?: string; |
| | | data?: GetPersonalUserBankCardQueryResult; |
| | | /** 执行成功 */ |
| | | success?: boolean; |
| | | /** 错误信息 */ |
| | | msg?: any; |
| | | /** 附加数据 */ |
| | | extras?: any; |
| | | /** 时间戳 */ |
| | | timestamp?: number; |
| | | } |
| | | |
| | | interface FriendlyResultGetPersonalUserElectronSignQueryResult { |
| | | /** 跟踪Id */ |
| | | traceId?: string; |
| | |
| | | /** 错误码 */ |
| | | errorCode?: string; |
| | | data?: GetRoleQueryResult; |
| | | /** 执行成功 */ |
| | | success?: boolean; |
| | | /** 错误信息 */ |
| | | msg?: any; |
| | | /** 附加数据 */ |
| | | extras?: any; |
| | | /** 时间戳 */ |
| | | timestamp?: number; |
| | | } |
| | | |
| | | interface FriendlyResultGetSettlementTaskQueryResult { |
| | | /** 跟踪Id */ |
| | | traceId?: string; |
| | | /** 状态码 */ |
| | | code?: number; |
| | | /** 错误码 */ |
| | | errorCode?: string; |
| | | data?: GetSettlementTaskQueryResult; |
| | | /** 执行成功 */ |
| | | success?: boolean; |
| | | /** 错误信息 */ |
| | | msg?: any; |
| | | /** 附加数据 */ |
| | | extras?: any; |
| | | /** 时间戳 */ |
| | | timestamp?: number; |
| | | } |
| | | |
| | | interface FriendlyResultGetSettlementTasksQueryResult { |
| | | /** 跟踪Id */ |
| | | traceId?: string; |
| | | /** 状态码 */ |
| | | code?: number; |
| | | /** 错误码 */ |
| | | errorCode?: string; |
| | | data?: GetSettlementTasksQueryResult; |
| | | /** 执行成功 */ |
| | | success?: boolean; |
| | | /** 错误信息 */ |
| | | msg?: any; |
| | | /** 附加数据 */ |
| | | extras?: any; |
| | | /** 时间戳 */ |
| | | timestamp?: number; |
| | | } |
| | | |
| | | interface FriendlyResultGetSettlementTaskUsersQueryResult { |
| | | /** 跟踪Id */ |
| | | traceId?: string; |
| | | /** 状态码 */ |
| | | code?: number; |
| | | /** 错误码 */ |
| | | errorCode?: string; |
| | | data?: GetSettlementTaskUsersQueryResult; |
| | | /** 执行成功 */ |
| | | success?: boolean; |
| | | /** 错误信息 */ |
| | |
| | | timestamp?: number; |
| | | } |
| | | |
| | | interface FriendlyResultListSelectOptionGuidGetTaskSelectQueryOption { |
| | | /** 跟踪Id */ |
| | | traceId?: string; |
| | | /** 状态码 */ |
| | | code?: number; |
| | | /** 错误码 */ |
| | | errorCode?: string; |
| | | /** 数据 */ |
| | | data?: SelectOptionGuidGetTaskSelectQueryOption[]; |
| | | /** 执行成功 */ |
| | | success?: boolean; |
| | | /** 错误信息 */ |
| | | msg?: any; |
| | | /** 附加数据 */ |
| | | extras?: any; |
| | | /** 时间戳 */ |
| | | timestamp?: number; |
| | | } |
| | | |
| | | interface FriendlyResultListSelectOptionStringGetDictionaryDataSelectQueryResultOption { |
| | | /** 跟踪Id */ |
| | | traceId?: string; |
| | |
| | | timestamp?: number; |
| | | } |
| | | |
| | | interface FriendlyResultRechargeEnterpriseWalletCommandResult { |
| | | /** 跟踪Id */ |
| | | traceId?: string; |
| | | /** 状态码 */ |
| | | code?: number; |
| | | /** 错误码 */ |
| | | errorCode?: string; |
| | | data?: RechargeEnterpriseWalletCommandResult; |
| | | /** 执行成功 */ |
| | | success?: boolean; |
| | | /** 错误信息 */ |
| | | msg?: any; |
| | | /** 附加数据 */ |
| | | extras?: any; |
| | | /** 时间戳 */ |
| | | timestamp?: number; |
| | | } |
| | | |
| | | interface FriendlyResultString { |
| | | /** 跟踪Id */ |
| | | traceId?: string; |
| | |
| | | extras?: any; |
| | | /** 时间戳 */ |
| | | timestamp?: number; |
| | | } |
| | | |
| | | interface GetAlipayFundExpandindirectOrderQueryResult { |
| | | /** Id */ |
| | | id?: string; |
| | | /** 产品码 */ |
| | | productCode?: string; |
| | | /** 场景码 */ |
| | | bizScene?: string; |
| | | /** 外部单号 */ |
| | | outBizNo?: string; |
| | | /** 二级商户信息-标识 */ |
| | | identity?: string; |
| | | /** 二级商户信息-标识类型 */ |
| | | identityType?: string; |
| | | /** 二级商户信息-姓名 */ |
| | | name?: string; |
| | | /** 业务类型 */ |
| | | bizType?: string; |
| | | /** 原进件单id */ |
| | | originalOrderId?: string; |
| | | /** 资金记账本的业务场景 */ |
| | | sceneCode?: string; |
| | | /** 转账场景说明 */ |
| | | sceneDirections?: string; |
| | | /** 转账场景截图 */ |
| | | sceneImage?: string; |
| | | /** 商户行业资质图片或协议文本 */ |
| | | sceneQualificationImage?: string; |
| | | /** 商户站点信息 */ |
| | | sites?: string; |
| | | /** 进件单id */ |
| | | orderId?: string; |
| | | /** 进件单状态 |
| | | 审批中: PROCESSING |
| | | 已生效: VALID |
| | | 审批不通过: INVALID |
| | | 已废弃: DISUSE |
| | | 已撤销: REVOKED */ |
| | | status?: string; |
| | | /** 进件单任务完结时间 */ |
| | | taskFinishTime?: string; |
| | | /** 进件单审核不通过原因 */ |
| | | riskReviewRemark?: string; |
| | | } |
| | | |
| | | type GetAlipayNotifyCommand = Record<string, any>; |
| | |
| | | endTime?: string; |
| | | /** 任务地点名称 */ |
| | | addressName?: string; |
| | | } |
| | | |
| | | interface GetCodeUrlQueryResult { |
| | | /** 地址 */ |
| | | url?: string; |
| | | /** 参数1 */ |
| | | paramValue1?: string; |
| | | /** 参数2 */ |
| | | paramValue2?: string; |
| | | /** 参数3 */ |
| | | paramValue3?: string; |
| | | /** 参数4 */ |
| | | paramValue4?: string; |
| | | /** 参数5 */ |
| | | paramValue5?: string; |
| | | } |
| | | |
| | | interface GetContractTemplateEnterprisesQuery { |
| | |
| | | isConfigured?: boolean; |
| | | } |
| | | |
| | | interface GetEnterpriseWalletExpandindirectOrderQueryResult { |
| | | /** 单号 */ |
| | | outBizNo?: string; |
| | | /** 支付宝登录账号 */ |
| | | identity?: string; |
| | | /** 支付宝姓名 */ |
| | | name?: string; |
| | | scene?: EnumEnterpriseWalletExpandindirectOrderScene; |
| | | /** 转账场景说明 */ |
| | | sceneDirections?: string; |
| | | /** 商户站点信息 */ |
| | | sites?: string; |
| | | /** 进件单id */ |
| | | orderId?: string; |
| | | orderStatus?: EnumEnterpriseWalletExpandindirectOrderStatus; |
| | | /** 进件单任务完结时间 */ |
| | | taskFinishTime?: string; |
| | | /** 进件单审核不通过原因 */ |
| | | riskReviewRemark?: string; |
| | | sitesInfo?: GetEnterpriseWalletExpandindirectOrderQueryResultSites; |
| | | /** 附件 */ |
| | | files?: GetEnterpriseWalletExpandindirectOrderQueryResultFile[]; |
| | | } |
| | | |
| | | interface GetEnterpriseWalletExpandindirectOrderQueryResultFile { |
| | | type?: EnumEnterpriseWalletExpandindirectOrderFileType; |
| | | /** 附件 */ |
| | | file?: string; |
| | | } |
| | | |
| | | interface GetEnterpriseWalletExpandindirectOrderQueryResultSites { |
| | | /** 网站 */ |
| | | website?: string; |
| | | /** APP */ |
| | | app?: string; |
| | | /** 公众号 */ |
| | | gongzh?: string; |
| | | /** 支付宝小程序 */ |
| | | xchengxU_ZHI?: string; |
| | | /** 其他 */ |
| | | qita?: string; |
| | | } |
| | | |
| | | interface GetEnterpriseWalletQueryResult { |
| | | /** 钱包Id */ |
| | | id?: string; |
| | | access?: EnumEnterpriseWalletAccess; |
| | | /** 账号 */ |
| | | account?: string; |
| | | /** 商户Id */ |
| | | merchantId?: string; |
| | | /** 协议号 */ |
| | | code?: string; |
| | | /** 通道协议号 */ |
| | |
| | | /** 协议失效时间 */ |
| | | invalidTime?: string; |
| | | signStatus?: EnumEnterpriseWalletSignStatus; |
| | | expandindirectOrderStatus?: EnumEnterpriseWalletExpandindirectOrderStatus; |
| | | } |
| | | |
| | | interface GetEnterpriseWalletTransactionQueryResult { |
| | | type?: EnumEnterpriseWalletTransactionType; |
| | | /** 订单号 */ |
| | | code?: string; |
| | | /** 金额 */ |
| | | amount?: number; |
| | | /** 余额 */ |
| | | balance?: number; |
| | | /** 备注 */ |
| | | remark?: string; |
| | | /** 订单支付时间 */ |
| | | transDate?: string; |
| | | transactionStatus?: EnumEnterpriseWalletTransactionStatus; |
| | | } |
| | | |
| | | interface GetExceptionLogsQuery { |
| | |
| | | hireRefuseTaskCount?: number; |
| | | } |
| | | |
| | | type GetPersonalUserBankCardQuery = Record<string, any>; |
| | | |
| | | interface GetPersonalUserBankCardQueryResult { |
| | | access?: EnumEnterpriseWalletAccess; |
| | | /** 银行卡号 */ |
| | | code?: string; |
| | | /** 所属银行 */ |
| | | bank?: string; |
| | | /** 所属支行 */ |
| | | bankBranch?: string; |
| | | /** 银行预留手机号 */ |
| | | phoneNumber?: string; |
| | | } |
| | | |
| | | interface GetPersonalUserElectronSignQueryResult { |
| | | /** 灵工Id */ |
| | | id?: string; |
| | |
| | | isChecked?: boolean; |
| | | } |
| | | |
| | | interface GetSettlementTaskQueryResult { |
| | | /** Id */ |
| | | id?: string; |
| | | /** 任务名称 */ |
| | | name?: string; |
| | | /** 任务单号 */ |
| | | code?: string; |
| | | settlementOrderStatus?: EnumTaskSettlementOrderStatus; |
| | | /** 结算单名称 */ |
| | | settlementOrderName?: string; |
| | | /** 上传时间 */ |
| | | settlementOrderTime?: string; |
| | | /** 实发金额 */ |
| | | actualSettlementAmount?: number; |
| | | /** 结算金额 */ |
| | | settlementAmount?: number; |
| | | settlementStatus?: EnumTaskSettlementStatus; |
| | | /** 结算时间 */ |
| | | settlementTime?: string; |
| | | /** 备注 */ |
| | | settlementRemark?: string; |
| | | } |
| | | |
| | | interface GetSettlementTasksQuery { |
| | | /** 关键字 */ |
| | | keywords?: string; |
| | | settlementOrderStatus?: EnumTaskSettlementOrderStatus; |
| | | settlementStatus?: EnumTaskSettlementStatus; |
| | | pageModel?: PagedListQueryPageModel; |
| | | } |
| | | |
| | | interface GetSettlementTasksQueryResult { |
| | | pageModel?: PagedListQueryResultPageModel; |
| | | /** 数据 */ |
| | | data?: GetSettlementTasksQueryResultItem[]; |
| | | } |
| | | |
| | | interface GetSettlementTasksQueryResultItem { |
| | | /** 任务Id */ |
| | | id?: string; |
| | | /** 任务名称 */ |
| | | name?: string; |
| | | /** 任务单号 */ |
| | | code?: string; |
| | | settlementOrderStatus?: EnumTaskSettlementOrderStatus; |
| | | /** 结算单名称 */ |
| | | settlementOrderName?: string; |
| | | /** 上传时间 */ |
| | | settlementOrderTime?: string; |
| | | /** 实发金额 */ |
| | | actualSettlementAmount?: number; |
| | | /** 结算金额 */ |
| | | settlementAmount?: number; |
| | | settlementStatus?: EnumTaskSettlementStatus; |
| | | /** 结算时间 */ |
| | | settlementTime?: string; |
| | | /** 备注 */ |
| | | settlementRemark?: string; |
| | | /** 结算人数 */ |
| | | settlementUserCount?: number; |
| | | } |
| | | |
| | | interface GetSettlementTaskUsersQueryResult { |
| | | /** 结算名单 */ |
| | | data?: GetSettlementTaskUsersQueryResultItem[]; |
| | | /** 错误信息 */ |
| | | errors?: GetSettlementTaskUsersQueryResultError[]; |
| | | } |
| | | |
| | | interface GetSettlementTaskUsersQueryResultError { |
| | | /** 错误信息 */ |
| | | errorMessage?: string; |
| | | /** 姓名 */ |
| | | name?: string; |
| | | /** 身份证号 */ |
| | | identity?: string; |
| | | /** 结算金额 */ |
| | | settlementAmount?: number; |
| | | /** 实发金额 */ |
| | | actualSettlementAmount?: number; |
| | | /** 收款账户 */ |
| | | receiveAccount?: string; |
| | | /** 所属银行 */ |
| | | bank?: string; |
| | | /** 开户支行名称 */ |
| | | bankBranch?: string; |
| | | /** 任务名称 */ |
| | | taskName?: string; |
| | | } |
| | | |
| | | interface GetSettlementTaskUsersQueryResultItem { |
| | | /** 任务用户Id */ |
| | | id?: string; |
| | | /** 姓名 */ |
| | | name?: string; |
| | | /** 身份证号 */ |
| | | identity?: string; |
| | | /** 手机号 */ |
| | | contactPhoneNumber?: string; |
| | | checkReceiveStatus?: EnumTaskCheckReceiveStatus; |
| | | settlementStatus?: EnumTaskSettlementStatus; |
| | | /** 所属银行 */ |
| | | bank?: string; |
| | | /** 开户支行名称 */ |
| | | bankBranch?: string; |
| | | /** 收款账户 */ |
| | | receiveAccount?: string; |
| | | /** 结算金额 */ |
| | | settlementAmount?: number; |
| | | /** 实发金额 */ |
| | | actualSettlementAmount?: number; |
| | | /** 结算时间 */ |
| | | settlementTime?: string; |
| | | } |
| | | |
| | | interface GetTaskEnterpriseQueryResult { |
| | | /** 企业全称 */ |
| | | enterpriseName?: string; |
| | |
| | | inProcessReleaseCount?: number; |
| | | /** 已停止数量 */ |
| | | stoppedReleaseCount?: number; |
| | | } |
| | | |
| | | interface GetTaskSelectQueryOption { |
| | | /** 任务Id */ |
| | | id?: string; |
| | | /** 任务单号 */ |
| | | code?: string; |
| | | /** 任务名称 */ |
| | | name?: string; |
| | | } |
| | | |
| | | interface GetTaskUserHireStatusQueryResult { |
| | |
| | | } |
| | | |
| | | interface OpenEnterpriseWalletCommand { |
| | | /** 企业Id */ |
| | | enterpriseId?: string; |
| | | access?: EnumEnterpriseWalletAccess; |
| | | /** 账号 */ |
| | | account?: string; |
| | | /** 商户Id */ |
| | | merchantId?: string; |
| | | } |
| | | |
| | | interface OpenEnterpriseWalletCommandResult { |
| | |
| | | } |
| | | |
| | | interface PersonalUserElectronSignCommand { |
| | | /** 灵工Id */ |
| | | /** 灵工Id(二选一) */ |
| | | id?: string; |
| | | /** 邀约短信编号(二选一) */ |
| | | smsCode?: string; |
| | | } |
| | | |
| | | interface PersonalUserElectronSignCommandResult { |
| | |
| | | verifyCode: string; |
| | | } |
| | | |
| | | interface RechargeEnterpriseWalletCommand { |
| | | /** 企业Id */ |
| | | enterpriseId?: string; |
| | | access?: EnumEnterpriseWalletAccess; |
| | | /** 金额 */ |
| | | amount?: number; |
| | | /** 充值备注 */ |
| | | remark?: string; |
| | | } |
| | | |
| | | interface RechargeEnterpriseWalletCommandResult { |
| | | /** 支付地址 */ |
| | | payUrl?: string; |
| | | } |
| | | |
| | | interface RegisterPersonalUserCommand { |
| | | /** 手机号码 */ |
| | | phoneNumber: string; |
| | |
| | | interface ResendResourceCommand { |
| | | /** 资源日志Id */ |
| | | id?: string; |
| | | } |
| | | |
| | | interface RevokeTaskSettlementOrderCommand { |
| | | /** 任务Id */ |
| | | taskInfoId?: string; |
| | | } |
| | | |
| | | interface SaveCodeUrlCommand { |
| | | scene?: EnumCodeUrlScene; |
| | | /** 地址 */ |
| | | url?: string; |
| | | /** 参数1 */ |
| | | paramValue1?: string; |
| | | /** 参数2 */ |
| | | paramValue2?: string; |
| | | /** 参数3 */ |
| | | paramValue3?: string; |
| | | /** 参数4 */ |
| | | paramValue4?: string; |
| | | /** 参数5 */ |
| | | paramValue5?: string; |
| | | /** 过期时间 */ |
| | | expiredTime?: string; |
| | | } |
| | | |
| | | interface SaveContractTemplateCommand { |
| | |
| | | id?: string; |
| | | } |
| | | |
| | | interface SavePersonalUserBankCardCommand { |
| | | access?: EnumEnterpriseWalletAccess; |
| | | /** 银行卡号 */ |
| | | code?: string; |
| | | /** 所属银行 */ |
| | | bank?: string; |
| | | /** 所属支行 */ |
| | | bankBranch?: string; |
| | | /** 银行预留手机号 */ |
| | | phoneNumber?: string; |
| | | } |
| | | |
| | | interface SaveRoleCommand { |
| | | /** Id */ |
| | | id?: string; |
| | |
| | | data?: GetEnterpriseContractTemplateSelectQueryOption; |
| | | } |
| | | |
| | | interface SelectOptionGuidGetTaskSelectQueryOption { |
| | | /** 值 */ |
| | | value?: string; |
| | | /** 标签 */ |
| | | label?: string; |
| | | data?: GetTaskSelectQueryOption; |
| | | } |
| | | |
| | | interface SelectOptionStringGetDictionaryDataSelectQueryResultOption { |
| | | /** 值 */ |
| | | value?: string; |
| | | /** 标签 */ |
| | | label?: string; |
| | | data?: GetDictionaryDataSelectQueryResultOption; |
| | | } |
| | | |
| | | interface SendInviteElectronSignSmsCommand { |
| | | /** Id */ |
| | | ids?: string[]; |
| | | } |
| | | |
| | | interface SendLoginOrRegisterVerifyCodeCommand { |
| | |
| | | files?: string[]; |
| | | } |
| | | |
| | | interface SureTaskSettlementCommand { |
| | | /** 任务Id */ |
| | | taskInfoId?: string; |
| | | } |
| | | |
| | | interface SureTaskSettlementOrderCommand { |
| | | /** 任务Id */ |
| | | taskInfoId?: string; |
| | | /** 结算单地址 */ |
| | | settlementOrderUrl?: string; |
| | | /** 结算名单 */ |
| | | taskInfoUsers?: SureTaskSettlementOrderCommandUser[]; |
| | | } |
| | | |
| | | interface SureTaskSettlementOrderCommandUser { |
| | | /** 任务用户Id */ |
| | | id?: string; |
| | | /** 姓名 */ |
| | | name?: string; |
| | | /** 所属银行 */ |
| | | bank?: string; |
| | | /** 开户支行名称 */ |
| | | bankBranch?: string; |
| | | /** 收款账户 */ |
| | | receiveAccount: string; |
| | | /** 结算金额 */ |
| | | settlementAmount: number; |
| | | /** 实发金额 */ |
| | | actualSettlementAmount: number; |
| | | } |
| | | |
| | | type SyncDatabaseCommand = Record<string, any>; |
| | | |
| | | interface SyncElectronSignSettingsCommand { |
| | | /** 项 */ |
| | | items?: SyncElectronSignSettingsCommandItem[]; |
| | |
| | | remark?: string; |
| | | } |
| | | |
| | | interface TransferEnterpriseWalletCommand { |
| | | access?: EnumEnterpriseWalletAccess; |
| | | /** 金额 */ |
| | | amount?: number; |
| | | /** 充值备注 */ |
| | | remark?: string; |
| | | } |
| | | |
| | | interface UpdatePhoneNumberVerifyCodeCommand { |
| | | /** 手机号码 */ |
| | | phoneNumber: string; |
| | |
| | | ); |
| | | } |
| | | |
| | | /** 查询个人用户银行卡信息 GET /api/user/user/getPersonalUserBankCard */ |
| | | export async function getPersonalUserBankCard( |
| | | // 叠加生成的Param类型 (非body参数swagger默认没有生成对象) |
| | | params: API.APIgetPersonalUserBankCardParams, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<API.GetPersonalUserBankCardQueryResult>('/api/user/user/getPersonalUserBankCard', { |
| | | method: 'GET', |
| | | params: { |
| | | ...params, |
| | | request: undefined, |
| | | ...params['request'], |
| | | }, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** 查询C端人员分页列表数据 POST /api/user/user/getPersonalUserInfos */ |
| | | export async function getPersonalUserInfos( |
| | | body: API.GetPersonalUserInfosQuery, |
| | |
| | | }); |
| | | } |
| | | |
| | | /** 保存用户银行卡信息 POST /api/user/user/savePersonalUserBankCard */ |
| | | export async function savePersonalUserBankCard( |
| | | body: API.SavePersonalUserBankCardCommand, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<string>('/api/user/user/savePersonalUserBankCard', { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json-patch+json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** 设置用户信息角色 PUT /api/user/user/setUserInfoRoles */ |
| | | export async function setUserInfoRoles( |
| | | body: API.SetUserInfoRolesCommand, |
| | |
| | | title?: string; |
| | | message?: string | VNode; |
| | | confirmText?: string; |
| | | cancelText?: string; |
| | | showCancelBtn?: boolean; |
| | | }; |
| | | |
| | |
| | | title = '提示', |
| | | message = '确定要删除该数据吗?', |
| | | confirmText = '确认', |
| | | cancelText = '取消', |
| | | showCancelBtn = true, |
| | | } = options; |
| | | return new Promise((resolve, reject) => { |
| | |
| | | visible={open.value} |
| | | content={message} |
| | | showCancelBtn={showCancelBtn} |
| | | cancelText={cancelText} |
| | | onCancel={() => { |
| | | onClose(); |
| | | reject(); |