| | |
| | | <template> |
| | | <Avatar :src="userDetail?.avatarUrl"></Avatar> |
| | | <Avatar :src="userDetail?.avatar"></Avatar> |
| | | </template> |
| | | |
| | | <script setup lang="ts"> |
| | |
| | | text="财务管理" |
| | | @click="goFinance" |
| | | ></TaskDetailWelfareItem> |
| | | <TaskDetailWelfareItem |
| | | <!-- <TaskDetailWelfareItem |
| | | :icon="IconRealName" |
| | | text="企业实名" |
| | | @click.stop="goAuthentication" |
| | | ></TaskDetailWelfareItem> |
| | | ></TaskDetailWelfareItem> --> |
| | | <TaskDetailWelfareItem |
| | | :icon="IconSetting" |
| | | text="设置" |
| | |
| | | "description": "", |
| | | "setting": { |
| | | "urlCheck": false, |
| | | "es6": false, |
| | | "enhance": false, |
| | | "es6": true, |
| | | "enhance": true, |
| | | "postcss": false, |
| | | "preloadBackgroundData": false, |
| | | "minified": false, |
| | |
| | | <template> |
| | | <Avatar :src="userDetail?.avatarUrl"></Avatar> |
| | | <Avatar :src="userDetail?.avatar"></Avatar> |
| | | </template> |
| | | |
| | | <script setup lang="ts"> |
| | |
| | | <Uploader v-model:file-list="form.avatar" :maximum="1" class="bole-uploader"> </Uploader> |
| | | </nut-form-item> |
| | | <nut-form-item label="姓名:" class="bole-form-item" prop="name"> |
| | | <nut-input v-model.trim="form.name" placeholder="请输入姓名" disabled /> |
| | | <nut-input v-model.trim="form.name" placeholder="请输入姓名" /> |
| | | </nut-form-item> |
| | | <nut-form-item label="手机号:" class="bole-form-item" prop="contactPhoneNumber" required> |
| | | <nut-input v-model.trim="form.contactPhoneNumber" placeholder="请输入手机号" type="text" /> |
| | |
| | | HumanResources = 10, |
| | | } |
| | | |
| | | /** 数据库审计日志操作 */ |
| | | export enum EnumDbAuditOperate { |
| | | /**添加 */ |
| | | Added = 10, |
| | | /**修改 */ |
| | | Modified = 20, |
| | | /**删除 */ |
| | | Deleted = 30, |
| | | } |
| | | |
| | | /** 企业实名方式 */ |
| | | export enum EnumEnterpriseRealMethod { |
| | | /**企业三要素 */ |
| | |
| | | FileUtils = 4, |
| | | /**文字识别 */ |
| | | OcrUtils = 5, |
| | | /**日志记录 */ |
| | | LogRecords = 6, |
| | | /**用户认证 */ |
| | | Auth = 6, |
| | | Auth = 7, |
| | | /**用户菜单 */ |
| | | Menu = 7, |
| | | Menu = 8, |
| | | /**用户资源 */ |
| | | Resource = 8, |
| | | Resource = 9, |
| | | /**用户角色 */ |
| | | Role = 9, |
| | | Role = 10, |
| | | /**用户信息 */ |
| | | User = 10, |
| | | User = 11, |
| | | /**用户简历 */ |
| | | UserResume = 11, |
| | | UserResume = 12, |
| | | /**企业信息 */ |
| | | Enterprise = 12, |
| | | Enterprise = 13, |
| | | /**灵工信息 */ |
| | | EnterpriseEmployee = 13, |
| | | EnterpriseEmployee = 14, |
| | | } |
| | | |
| | | /** 资源请求方式 */ |
| | | export enum EnumResourceMethod { |
| | | /**无 */ |
| | | None = 0, |
| | | /**查询 */ |
| | | Get = 10, |
| | | /**提交 */ |
| | |
| | | rows: 20, |
| | | page: pageParam, |
| | | orderInput: [ |
| | | queryState.orderType === HomeOrderType.Recommend |
| | | ? { property: 'recommendStatus', order: EnumPagedListOrder.Desc } |
| | | : { property: 'createdTime', order: EnumPagedListOrder.Desc }, |
| | | ], |
| | | queryState.orderType === HomeOrderType.Recommend && { |
| | | property: 'recommendStatus', |
| | | order: EnumPagedListOrder.Desc, |
| | | }, |
| | | { property: 'createdTime', order: EnumPagedListOrder.Desc }, |
| | | { property: 'releaseStatus', order: EnumPagedListOrder.Asc }, |
| | | ].filter(Boolean), |
| | | }, |
| | | keywords: queryState.searchValueTrim, |
| | | cityCode: unref(cityCode), |
| | |
| | | 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 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, |
| | | 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 || {}), |
| | | }); |
| | | } |
| | |
| | | // @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默认没有生成对象) |
| | |
| | | ); |
| | | } |
| | | |
| | | /** 查询任务企业信息 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默认没有生成对象) |
| | |
| | | [key: string]: any; |
| | | } |
| | | |
| | | interface APIcheckHealthParams { |
| | | /** 健康校验 */ |
| | | request?: CheckHealthQuery; |
| | | } |
| | | |
| | | interface APIgetAliyunOSSAcsParams { |
| | | /** 获取阿里云OSS授权信息 */ |
| | | request?: GetAliyunOSSAcsQuery; |
| | |
| | | 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 { |
| | |
| | | verifyCode: string; |
| | | } |
| | | |
| | | type CheckHealthQuery = Record<string, any>; |
| | | |
| | | interface CheckReceiveTaskCommand { |
| | | /** 提交Id */ |
| | | id?: string; |
| | |
| | | enum EnumDataSource { |
| | | /**818 */ |
| | | HumanResources = 10, |
| | | } |
| | | |
| | | enum EnumDbAuditOperate { |
| | | /**添加 */ |
| | | Added = 10, |
| | | /**修改 */ |
| | | Modified = 20, |
| | | /**删除 */ |
| | | Deleted = 30, |
| | | } |
| | | |
| | | enum EnumEnterpriseRealMethod { |
| | |
| | | FileUtils = 4, |
| | | /**文字识别 */ |
| | | OcrUtils = 5, |
| | | /**日志记录 */ |
| | | LogRecords = 6, |
| | | /**用户认证 */ |
| | | Auth = 6, |
| | | Auth = 7, |
| | | /**用户菜单 */ |
| | | Menu = 7, |
| | | Menu = 8, |
| | | /**用户资源 */ |
| | | Resource = 8, |
| | | Resource = 9, |
| | | /**用户角色 */ |
| | | Role = 9, |
| | | Role = 10, |
| | | /**用户信息 */ |
| | | User = 10, |
| | | User = 11, |
| | | /**用户简历 */ |
| | | UserResume = 11, |
| | | UserResume = 12, |
| | | /**企业信息 */ |
| | | Enterprise = 12, |
| | | Enterprise = 13, |
| | | /**灵工信息 */ |
| | | EnterpriseEmployee = 13, |
| | | EnterpriseEmployee = 14, |
| | | } |
| | | |
| | | enum EnumResourceMethod { |
| | | /**无 */ |
| | | None = 0, |
| | | /**查询 */ |
| | | Get = 10, |
| | | /**提交 */ |
| | |
| | | timestamp?: number; |
| | | } |
| | | |
| | | interface FriendlyResultGetDbAuditLogsQueryResult { |
| | | /** 跟踪Id */ |
| | | traceId?: string; |
| | | /** 状态码 */ |
| | | code?: number; |
| | | /** 错误码 */ |
| | | errorCode?: string; |
| | | data?: GetDbAuditLogsQueryResult; |
| | | /** 执行成功 */ |
| | | success?: boolean; |
| | | /** 错误信息 */ |
| | | msg?: any; |
| | | /** 附加数据 */ |
| | | extras?: any; |
| | | /** 时间戳 */ |
| | | timestamp?: number; |
| | | } |
| | | |
| | | interface FriendlyResultGetEnterpriseElectronSignSettingQueryResult { |
| | | /** 跟踪Id */ |
| | | traceId?: string; |
| | |
| | | /** 错误码 */ |
| | | errorCode?: string; |
| | | data?: GetEnterpriseSmsSettingQueryResult; |
| | | /** 执行成功 */ |
| | | success?: boolean; |
| | | /** 错误信息 */ |
| | | msg?: any; |
| | | /** 附加数据 */ |
| | | extras?: any; |
| | | /** 时间戳 */ |
| | | timestamp?: number; |
| | | } |
| | | |
| | | interface FriendlyResultGetExceptionLogsQueryResult { |
| | | /** 跟踪Id */ |
| | | traceId?: string; |
| | | /** 状态码 */ |
| | | code?: number; |
| | | /** 错误码 */ |
| | | errorCode?: string; |
| | | data?: GetExceptionLogsQueryResult; |
| | | /** 执行成功 */ |
| | | success?: boolean; |
| | | /** 错误信息 */ |
| | |
| | | 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; |
| | | /** 错误信息 */ |
| | |
| | | |
| | | 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 { |
| | | /** 关键字 */ |
| | | keywords?: 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 { |
| | |
| | | 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 { |
| | | /** Id */ |
| | | id?: string; |
| | |
| | | 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; |
| | | /** 报名人数 */ |
| | |
| | | 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 { |
| | |
| | | phoneNumber: string; |
| | | /** 验证码 */ |
| | | verifyCode: string; |
| | | } |
| | | |
| | | interface ResendResourceCommand { |
| | | /** 资源日志Id */ |
| | | id?: string; |
| | | } |
| | | |
| | | interface SaveDictionaryCategoryCommand { |
| | |
| | | |
| | | 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; |
| | |
| | | ...(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 || {}), |
| | | }); |
| | | } |