| | |
| | | /** 资源控制器 */ |
| | | export enum EnumResourceController { |
| | | /**数据字典 */ |
| | | Dictionary = 0, |
| | | FlexJobServerDictionary = 0, |
| | | /**任务 */ |
| | | Task = 1, |
| | | FlexJobServerTask = 1, |
| | | /**任务人员 */ |
| | | TaskUser = 2, |
| | | FlexJobServerTaskUser = 2, |
| | | /**任务验收 */ |
| | | TaskCheckReceive = 3, |
| | | FlexJobServerTaskCheckReceive = 3, |
| | | /**文件 */ |
| | | CommonServerFileUtils = 4, |
| | | /**文字识别 */ |
| | | FileUtils = 4, |
| | | /**文字识别 */ |
| | | OcrUtils = 5, |
| | | CommonServerOcrUtils = 5, |
| | | /**日志记录 */ |
| | | LogRecords = 6, |
| | | CommonServerLogRecords = 6, |
| | | /**用户认证 */ |
| | | Auth = 7, |
| | | UserServerAuth = 7, |
| | | /**用户菜单 */ |
| | | Menu = 8, |
| | | UserServerMenu = 8, |
| | | /**用户资源 */ |
| | | Resource = 9, |
| | | UserServerResource = 9, |
| | | /**用户角色 */ |
| | | Role = 10, |
| | | UserServerRole = 10, |
| | | /**用户信息 */ |
| | | User = 11, |
| | | UserServerUser = 11, |
| | | /**电子签 */ |
| | | UserServerElectronSign = 12, |
| | | /**用户简历 */ |
| | | UserResume = 12, |
| | | UserServerUserResume = 13, |
| | | /**企业信息 */ |
| | | Enterprise = 13, |
| | | UserServerEnterprise = 14, |
| | | /**灵工信息 */ |
| | | EnterpriseEmployee = 14, |
| | | UserServerEnterpriseEmployee = 15, |
| | | /**电子签 */ |
| | | ElectronSignServerElectronSign = 16, |
| | | } |
| | | |
| | | /** 资源请求方式 */ |
| | |
| | | |
| | | export const EnumRealAccessText = { |
| | | [EnumRealAccess.BestSign]: '上上签', |
| | | [EnumRealAccess.AlipaySign]: '支付宝电子签', |
| | | [EnumRealAccess.AlipaySign]: '支付宝信任签', |
| | | }; |
| | | |
| | | export enum ChargeTypeEnum { |
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 || {}), |
| | | }); |
| | | } |
| | | |
| | | /** 个人人脸实名认证 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/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 || {}), |
| | | }); |
| | | } |
| | |
| | | import * as userResume from './userResume'; |
| | | import * as auth from './auth'; |
| | | import * as taskCheckReceive from './taskCheckReceive'; |
| | | import * as electronSign from './electronSign'; |
| | | import * as taskUser from './taskUser'; |
| | | import * as menu from './menu'; |
| | | import * as logRecords from './logRecords'; |
| | |
| | | userResume, |
| | | auth, |
| | | taskCheckReceive, |
| | | electronSign, |
| | | taskUser, |
| | | menu, |
| | | logRecords, |
| | |
| | | id?: string; |
| | | } |
| | | |
| | | interface ElectronSignCallbackCommand { |
| | | /** 客户Id */ |
| | | customerId?: string; |
| | | /** 方法名称 */ |
| | | action?: string; |
| | | /** 是否成功 */ |
| | | success?: boolean; |
| | | /** 回调码 */ |
| | | code?: string; |
| | | /** 回调消息 */ |
| | | message?: string; |
| | | /** 关联Id */ |
| | | relationId?: string; |
| | | /** 回传数据 */ |
| | | data?: any; |
| | | } |
| | | |
| | | enum EnumBillingMethod { |
| | | /**按月 */ |
| | | Month = 10, |
| | |
| | | |
| | | enum EnumResourceController { |
| | | /**数据字典 */ |
| | | Dictionary = 0, |
| | | FlexJobServerDictionary = 0, |
| | | /**任务 */ |
| | | Task = 1, |
| | | FlexJobServerTask = 1, |
| | | /**任务人员 */ |
| | | TaskUser = 2, |
| | | FlexJobServerTaskUser = 2, |
| | | /**任务验收 */ |
| | | TaskCheckReceive = 3, |
| | | FlexJobServerTaskCheckReceive = 3, |
| | | /**文件 */ |
| | | CommonServerFileUtils = 4, |
| | | /**文字识别 */ |
| | | FileUtils = 4, |
| | | /**文字识别 */ |
| | | OcrUtils = 5, |
| | | CommonServerOcrUtils = 5, |
| | | /**日志记录 */ |
| | | LogRecords = 6, |
| | | CommonServerLogRecords = 6, |
| | | /**用户认证 */ |
| | | Auth = 7, |
| | | UserServerAuth = 7, |
| | | /**用户菜单 */ |
| | | Menu = 8, |
| | | UserServerMenu = 8, |
| | | /**用户资源 */ |
| | | Resource = 9, |
| | | UserServerResource = 9, |
| | | /**用户角色 */ |
| | | Role = 10, |
| | | UserServerRole = 10, |
| | | /**用户信息 */ |
| | | User = 11, |
| | | UserServerUser = 11, |
| | | /**电子签 */ |
| | | UserServerElectronSign = 12, |
| | | /**用户简历 */ |
| | | UserResume = 12, |
| | | UserServerUserResume = 13, |
| | | /**企业信息 */ |
| | | Enterprise = 13, |
| | | UserServerEnterprise = 14, |
| | | /**灵工信息 */ |
| | | EnterpriseEmployee = 14, |
| | | UserServerEnterpriseEmployee = 15, |
| | | /**电子签 */ |
| | | ElectronSignServerElectronSign = 16, |
| | | } |
| | | |
| | | enum EnumResourceMethod { |
| | |
| | | clientType?: EnumClientType; |
| | | } |
| | | |
| | | interface PersonalUserFaceRealCommand { |
| | | /** 姓名 */ |
| | | name: string; |
| | | /** 身份证号 */ |
| | | identity: string; |
| | | /** 身份证人像面 */ |
| | | identityImg: string; |
| | | /** 身份证国徽面 */ |
| | | identityBackImg: string; |
| | | } |
| | | |
| | | interface PersonalUserIdentity3RealCommand { |
| | | /** 姓名 */ |
| | | name: string; |
| | |
| | | phoneNumber: string; |
| | | } |
| | | |
| | | type SendPersonalUserIdentity3RealSmsCommand = Record<string, any>; |
| | | interface SendPersonalUserIdentity3RealSmsCommand { |
| | | /** 姓名 */ |
| | | name: string; |
| | | /** 手机号 */ |
| | | phoneNumber: string; |
| | | /** 身份证号 */ |
| | | identity: string; |
| | | } |
| | | |
| | | interface SetDictionaryDataIsDisabledCommand { |
| | | ids?: string[]; |
| | |
| | | }); |
| | | } |
| | | |
| | | /** 个人三要素实名认证 POST /api/user/user/personalUserIdentity3Real */ |
| | | export async function personalUserIdentity3Real( |
| | | body: API.PersonalUserIdentity3RealCommand, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<string>('/api/user/user/personalUserIdentity3Real', { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json-patch+json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** 发送个人三要素实名短信 POST /api/user/user/sendPersonalUserIdentity3RealSms */ |
| | | export async function sendPersonalUserIdentity3RealSms( |
| | | body: API.SendPersonalUserIdentity3RealSmsCommand, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<string>('/api/user/user/sendPersonalUserIdentity3RealSms', { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json-patch+json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** 设置用户信息角色 PUT /api/user/user/setUserInfoRoles */ |
| | | export async function setUserInfoRoles( |
| | | body: API.SetUserInfoRolesCommand, |
| | |
| | | </template> |
| | | </template> |
| | | <template v-if="form.enterpriseConfigureType === EnterpriseConfigureType.ShortMessage"> |
| | | <!-- <div class="configure-dialog-form-title">通道配置</div> |
| | | <ProFormItemV2 |
| | | label="名称:" |
| | | prop="messageChannel" |
| | | :checkRules="[{ message: '请选择短信通道' }]" |
| | | > |
| | | <div class="configure-dialog-form-title">通道配置</div> |
| | | <ProFormItemV2 label="名称:" prop="smsAccess" :checkRules="[{ message: '请选择短信通道' }]"> |
| | | <ProFormSelect |
| | | v-model="form.messageChannel" |
| | | v-model="form.smsAccess" |
| | | :valueEnum="EnumSmsAccessText" |
| | | placeholder="请选择短信通道" |
| | | > |
| | | </ProFormSelect> |
| | | </ProFormItemV2> --> |
| | | </ProFormItemV2> |
| | | <div class="configure-dialog-form-title">费用配置</div> |
| | | <ProFormItemV2 label="短信费用:" prop="smsCost"> |
| | | <ProFormInputNumber |
| | |
| | | ChargeTypeEnum, |
| | | ChargeTypeEnumText, |
| | | EnumRealAccessText, |
| | | VerifyStatusText, |
| | | VerifyStatus, |
| | | EnumSmsAccessText, |
| | | EnumRealAccess, |
| | | } from '@/constants'; |