| | |
| | | "useCssModule": true, |
| | | "useCssVars": true, |
| | | "useDictionaryDataSelect": true, |
| | | "useEnabledElectronSignSettings": true, |
| | | "useGetDictionaryCategorySelect": true, |
| | | "useGlobalEventContext": true, |
| | | "useGlobalEventProvide": true, |
| | |
| | | const toValue: typeof import('vue')['toValue'] |
| | | const triggerRef: typeof import('vue')['triggerRef'] |
| | | const unref: typeof import('vue')['unref'] |
| | | const useAA: typeof import('./src/hooks/electronSign')['useAA'] |
| | | const useAccess: typeof import('./src/hooks/useAccess')['useAccess'] |
| | | const useAllAreaList: typeof import('./src/hooks/dic')['useAllAreaList'] |
| | | const useAllRoleList: typeof import('./src/hooks/useUser')['useAllRoleList'] |
| | |
| | | const useCssModule: typeof import('vue')['useCssModule'] |
| | | const useCssVars: typeof import('vue')['useCssVars'] |
| | | const useDictionaryDataSelect: typeof import('./src/hooks/dic')['useDictionaryDataSelect'] |
| | | const useEnabledElectronSignSettings: typeof import('./src/hooks/electronSign')['useEnabledElectronSignSettings'] |
| | | const useGetDictionaryCategorySelect: typeof import('./src/hooks/dic')['useGetDictionaryCategorySelect'] |
| | | const useGlobalEventContext: typeof import('./src/hooks/useEvent')['useGlobalEventContext'] |
| | | const useGlobalEventProvide: typeof import('./src/hooks/useEvent')['useGlobalEventProvide'] |
| | |
| | | readonly useCssModule: UnwrapRef<typeof import('vue')['useCssModule']> |
| | | readonly useCssVars: UnwrapRef<typeof import('vue')['useCssVars']> |
| | | readonly useDictionaryDataSelect: UnwrapRef<typeof import('./src/hooks/dic')['useDictionaryDataSelect']> |
| | | readonly useEnabledElectronSignSettings: UnwrapRef<typeof import('./src/hooks/electronSign')['useEnabledElectronSignSettings']> |
| | | readonly useGetDictionaryCategorySelect: UnwrapRef<typeof import('./src/hooks/dic')['useGetDictionaryCategorySelect']> |
| | | readonly useGlobalEventContext: UnwrapRef<typeof import('./src/hooks/useEvent')['useGlobalEventContext']> |
| | | readonly useGlobalEventProvide: UnwrapRef<typeof import('./src/hooks/useEvent')['useGlobalEventProvide']> |
| | |
| | | Pass = 20, |
| | | /**已拒签 */ |
| | | Refuse = 30, |
| | | /**生效中 */ |
| | | Effect = 40, |
| | | /**已终止 */ |
| | | Stop = 50, |
| | | } |
| | | |
| | | /** 任务验收状态 */ |
New file |
| | |
| | | import { useQuery, useQueryClient } from '@tanstack/vue-query'; |
| | | import * as electronSignServices from '@/services/api/electronSign'; |
| | | |
| | | export function useEnabledElectronSignSettings() { |
| | | const { data } = useQuery({ |
| | | queryKey: ['electronSignServices/getEnabledElectronSignSettings'], |
| | | queryFn: async () => { |
| | | let res = await electronSignServices.getEnabledElectronSignSettings( |
| | | {}, |
| | | { showLoading: false } |
| | | ); |
| | | return res; |
| | | }, |
| | | placeholderData: () => [] as API.GetEnabledElectronSignSettingsQueryResultItem[], |
| | | }); |
| | | return { |
| | | enabledElectronSignSettings: data, |
| | | }; |
| | | } |
| | |
| | | export * from './dic'; |
| | | export * from './menu'; |
| | | export * from './portraitTable'; |
| | | export * from './electronSign'; |
| | |
| | | // @ts-ignore |
| | | import { request } from '@/utils/request'; |
| | | |
| | | /** 校验电子签通道是否启用 POST /api/user/electronSign/checkElectronSignAccessEnableds */ |
| | | export async function checkElectronSignAccessEnableds( |
| | | body: API.CheckElectronSignAccessEnabledsCommand, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<boolean>('/api/user/electronSign/checkElectronSignAccessEnableds', { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json-patch+json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** 电子签回传 POST /api/user/electronSign/electronSignCallback */ |
| | | export async function electronSignCallback( |
| | | body: API.ElectronSignCallbackCommand, |
| | |
| | | 'Content-Type': 'application/json-patch+json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | } |
| | | ); |
| | | } |
| | | |
| | | /** 查询已启用的电子签配置 GET /api/user/electronSign/getEnabledElectronSignSettings */ |
| | | export async function getEnabledElectronSignSettings( |
| | | // 叠加生成的Param类型 (非body参数swagger默认没有生成对象) |
| | | params: API.APIgetEnabledElectronSignSettingsParams, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<API.GetEnabledElectronSignSettingsQueryResultItem[]>( |
| | | '/api/user/electronSign/getEnabledElectronSignSettings', |
| | | { |
| | | method: 'GET', |
| | | params: { |
| | | ...params, |
| | | request: undefined, |
| | | ...params['request'], |
| | | }, |
| | | ...(options || {}), |
| | | } |
| | | ); |
| | |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** 同步电子签配置 POST /api/user/electronSign/syncElectronSignSettings */ |
| | | export async function syncElectronSignSettings( |
| | | body: API.SyncElectronSignSettingsCommand, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<boolean>('/api/user/electronSign/syncElectronSignSettings', { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json-patch+json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | |
| | | ); |
| | | } |
| | | |
| | | /** 查询个人用户签约列表 POST /api/user/enterpriseEmployee/getEnterpriseEmployeeElectronSigns */ |
| | | export async function getEnterpriseEmployeeElectronSigns( |
| | | body: API.GetEnterpriseEmployeeElectronSignsQuery, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<API.GetEnterpriseEmployeeElectronSignsQueryResult>( |
| | | '/api/user/enterpriseEmployee/getEnterpriseEmployeeElectronSigns', |
| | | { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json-patch+json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | } |
| | | ); |
| | | } |
| | | |
| | | /** 查询灵工分页列表数据 POST /api/user/enterpriseEmployee/getEnterpriseEmployees */ |
| | | export async function getEnterpriseEmployees( |
| | | body: API.GetEnterpriseEmployeesQuery, |
| | |
| | | import * as enterpriseEmployee from './enterpriseEmployee'; |
| | | import * as user from './user'; |
| | | import * as role from './role'; |
| | | import * as ocrUtils from './ocrUtils'; |
| | | import * as enterprise from './enterprise'; |
| | | import * as electronSign from './electronSign'; |
| | | import * as resource from './resource'; |
| | | import * as task from './task'; |
| | | import * as dictionary from './dictionary'; |
| | | import * as electronSign from './electronSign'; |
| | | import * as userResume from './userResume'; |
| | | import * as auth from './auth'; |
| | | import * as taskCheckReceive from './taskCheckReceive'; |
| | | import * as taskUser from './taskUser'; |
| | | import * as ocrUtils from './ocrUtils'; |
| | | import * as menu from './menu'; |
| | | import * as logRecords from './logRecords'; |
| | | import * as fileUtils from './fileUtils'; |
| | |
| | | enterpriseEmployee, |
| | | user, |
| | | role, |
| | | ocrUtils, |
| | | enterprise, |
| | | electronSign, |
| | | resource, |
| | | task, |
| | | dictionary, |
| | | electronSign, |
| | | userResume, |
| | | auth, |
| | | taskCheckReceive, |
| | | taskUser, |
| | | ocrUtils, |
| | | menu, |
| | | logRecords, |
| | | fileUtils, |
| | |
| | | withChildren?: boolean; |
| | | } |
| | | |
| | | interface APIgetEnabledElectronSignSettingsParams { |
| | | /** 查询已启用的电子签配置 */ |
| | | request?: GetEnabledElectronSignSettingsQuery; |
| | | } |
| | | |
| | | interface APIgetEnterpriseElectronSignSettingParams { |
| | | /** Id */ |
| | | id?: string; |
| | |
| | | phoneNumber: string; |
| | | /** 验证码 */ |
| | | verifyCode: string; |
| | | } |
| | | |
| | | interface CheckElectronSignAccessEnabledsCommand { |
| | | /** 通道 */ |
| | | accesses?: EnumElectronSignAccess[]; |
| | | } |
| | | |
| | | type CheckHealthQuery = Record<string, any>; |
| | |
| | | Pass = 20, |
| | | /**已拒签 */ |
| | | Refuse = 30, |
| | | /**生效中 */ |
| | | Effect = 40, |
| | | /**已终止 */ |
| | | Stop = 50, |
| | | } |
| | | |
| | | enum EnumTaskUserSubmitCheckReceiveStatus { |
| | |
| | | /** 错误码 */ |
| | | errorCode?: string; |
| | | data?: GetEnterpriseElectronSignSettingQueryResult; |
| | | /** 执行成功 */ |
| | | success?: boolean; |
| | | /** 错误信息 */ |
| | | msg?: any; |
| | | /** 附加数据 */ |
| | | extras?: any; |
| | | /** 时间戳 */ |
| | | timestamp?: number; |
| | | } |
| | | |
| | | interface FriendlyResultGetEnterpriseEmployeeElectronSignsQueryResult { |
| | | /** 跟踪Id */ |
| | | traceId?: string; |
| | | /** 状态码 */ |
| | | code?: number; |
| | | /** 错误码 */ |
| | | errorCode?: string; |
| | | data?: GetEnterpriseEmployeeElectronSignsQueryResult; |
| | | /** 执行成功 */ |
| | | success?: boolean; |
| | | /** 错误信息 */ |
| | |
| | | errorCode?: string; |
| | | /** 数据 */ |
| | | data?: GetAreaSelectQueryResultOption[]; |
| | | /** 执行成功 */ |
| | | success?: boolean; |
| | | /** 错误信息 */ |
| | | msg?: any; |
| | | /** 附加数据 */ |
| | | extras?: any; |
| | | /** 时间戳 */ |
| | | timestamp?: number; |
| | | } |
| | | |
| | | interface FriendlyResultListGetEnabledElectronSignSettingsQueryResultItem { |
| | | /** 跟踪Id */ |
| | | traceId?: string; |
| | | /** 状态码 */ |
| | | code?: number; |
| | | /** 错误码 */ |
| | | errorCode?: string; |
| | | /** 数据 */ |
| | | data?: GetEnabledElectronSignSettingsQueryResultItem[]; |
| | | /** 执行成功 */ |
| | | success?: boolean; |
| | | /** 错误信息 */ |
| | |
| | | isDisabled?: boolean; |
| | | } |
| | | |
| | | type GetEnabledElectronSignSettingsQuery = Record<string, any>; |
| | | |
| | | interface GetEnabledElectronSignSettingsQueryResultItem { |
| | | access?: EnumElectronSignAccess; |
| | | /** 实名费用 */ |
| | | realVerifyCost?: number; |
| | | /** 签约费用 */ |
| | | signCost?: number; |
| | | /** 一口价 */ |
| | | mergeSignCost?: number; |
| | | } |
| | | |
| | | interface GetEnterpriseContractTemplateLogsQuery { |
| | | /** 模板Id */ |
| | | id?: string; |
| | |
| | | interface GetEnterpriseElectronSignSettingQueryResult { |
| | | /** Id */ |
| | | id?: string; |
| | | realAccess?: EnumRealAccess; |
| | | /** 实名费用 */ |
| | | realVerifyCost?: number; |
| | | /** 签约费用 */ |
| | | signCost?: number; |
| | | /** 一口价 */ |
| | | mergeSignCost?: number; |
| | | /** 电子签通道 */ |
| | | electronSignAccesses?: EnumElectronSignAccess[]; |
| | | } |
| | | |
| | | interface GetEnterpriseEmployeeElectronSignsQuery { |
| | | userSignContractStatus?: EnumTaskUserSignContractStatus; |
| | | pageModel?: PagedListQueryPageModel; |
| | | } |
| | | |
| | | interface GetEnterpriseEmployeeElectronSignsQueryResult { |
| | | pageModel?: PagedListQueryResultPageModel; |
| | | /** 数据 */ |
| | | data?: GetEnterpriseEmployeeElectronSignsQueryResultItem[]; |
| | | } |
| | | |
| | | interface GetEnterpriseEmployeeElectronSignsQueryResultItem { |
| | | /** Id */ |
| | | id?: string; |
| | | /** 企业全称 */ |
| | | enterpriseName?: string; |
| | | userSignContractStatus?: EnumTaskUserSignContractStatus; |
| | | } |
| | | |
| | | interface GetEnterpriseEmployeeQueryResult { |
| | |
| | | interface SetEnterpriseElectronSignSettingCommand { |
| | | /** Id */ |
| | | id?: string; |
| | | realAccess?: EnumRealAccess; |
| | | /** 实名费用 */ |
| | | realVerifyCost?: number; |
| | | /** 签约费用 */ |
| | | signCost?: number; |
| | | /** 一口价 */ |
| | | mergeSignCost?: number; |
| | | /** 电子签通道 */ |
| | | electronSignAccesses?: EnumElectronSignAccess[]; |
| | | } |
| | | |
| | | interface SetEnterpriseSmsSettingCommand { |
| | |
| | | files?: string[]; |
| | | } |
| | | |
| | | interface SyncElectronSignSettingsCommand { |
| | | /** 项 */ |
| | | items?: SyncElectronSignSettingsCommandItem[]; |
| | | } |
| | | |
| | | interface SyncElectronSignSettingsCommandItem { |
| | | access?: EnumElectronSignAccess; |
| | | /** 是否禁用 */ |
| | | isDisabled?: boolean; |
| | | /** 实名费用 */ |
| | | realVerifyCost?: number; |
| | | /** 签约费用 */ |
| | | signCost?: number; |
| | | /** 一口价 */ |
| | | mergeSignCost?: number; |
| | | } |
| | | |
| | | interface SyncEnterpriseUserCommand { |
| | | dataSource?: EnumDataSource; |
| | | /** 数据来源Id */ |
| | |
| | | bankCard?: string; |
| | | /** 是否已校验银行账户 */ |
| | | isCheckedBankCard?: boolean; |
| | | /** 电子签通道 */ |
| | | electronSignAccesses?: EnumElectronSignAccess[]; |
| | | realAccess?: EnumRealAccess; |
| | | /** 实名费用 */ |
| | | realVerifyCost?: number; |
| | | /** 签约费用 */ |
| | | signCost?: number; |
| | | /** 一口价 */ |
| | | mergeSignCost?: number; |
| | | /** 是否实名 */ |
| | | isReal?: boolean; |
| | | enterpriseAuth?: SyncEnterpriseUserCommandEnterpriseAuth; |
| | |
| | | interface SyncEnterpriseUserCommandEnterpriseAuth { |
| | | enterpriseRealMethod?: EnumEnterpriseRealMethod; |
| | | personalRealMethod?: EnumPersonalRealMethod; |
| | | /** 法人姓名 */ |
| | | legalPerson?: string; |
| | | /** 法人身份证号 */ |
| | | legalIdentity?: string; |
| | | /** 法人或经办人姓名 */ |
| | | name?: string; |
| | | /** 法人或经办人身份证号 */ |
| | |
| | | proxy?: boolean; |
| | | /** 企业授权书 */ |
| | | proxyPowerAttorneyUrl?: string; |
| | | /** 实名Id */ |
| | | realId?: string; |
| | | /** 第三方实名通道账号 */ |
| | | certAccount?: string; |
| | | } |
| | | |
| | | type SyncHumanResourcesAreaDictionaryDataCommand = Record<string, any>; |