From 5df1e0cdf6bfd9ee9eeeebf2f04887442964efd4 Mon Sep 17 00:00:00 2001 From: zhengyiming <540361168@qq.com> Date: 星期二, 19 八月 2025 13:24:53 +0800 Subject: [PATCH] fix: bug --- packages/services/apiV2/logRecords.ts | 69 +++++++ packages/services/apiV2/resource.ts | 17 + apps/cMiniApp/src/subpackages/curriculum/editMineInfo/InnerPage.vue | 2 packages/services/apiV2/user.ts | 15 + packages/hooks/task.ts | 11 packages/services/apiV2/index.ts | 6 apps/bMiniApp/src/pages/mine/index.vue | 4 apps/cMiniApp/project.config.json | 4 packages/services/apiV2/task.ts | 15 + packages/services/apiV2/typings.d.ts | 328 +++++++++++++++++++++++++++++++++++ apps/bMiniApp/src/components/Avatar/UserAvatar.vue | 2 apps/cMiniApp/src/components/Avatar/UserAvatar.vue | 2 packages/constants/apiEnum.ts | 30 ++ 13 files changed, 476 insertions(+), 29 deletions(-) diff --git a/apps/bMiniApp/src/components/Avatar/UserAvatar.vue b/apps/bMiniApp/src/components/Avatar/UserAvatar.vue index 9ddbe34..460464d 100644 --- a/apps/bMiniApp/src/components/Avatar/UserAvatar.vue +++ b/apps/bMiniApp/src/components/Avatar/UserAvatar.vue @@ -1,5 +1,5 @@ <template> - <Avatar :src="userDetail?.avatarUrl"></Avatar> + <Avatar :src="userDetail?.avatar"></Avatar> </template> <script setup lang="ts"> diff --git a/apps/bMiniApp/src/pages/mine/index.vue b/apps/bMiniApp/src/pages/mine/index.vue index 27499bb..0f9af53 100644 --- a/apps/bMiniApp/src/pages/mine/index.vue +++ b/apps/bMiniApp/src/pages/mine/index.vue @@ -82,11 +82,11 @@ text="璐㈠姟绠$悊" @click="goFinance" ></TaskDetailWelfareItem> - <TaskDetailWelfareItem + <!-- <TaskDetailWelfareItem :icon="IconRealName" text="浼佷笟瀹炲悕" @click.stop="goAuthentication" - ></TaskDetailWelfareItem> + ></TaskDetailWelfareItem> --> <TaskDetailWelfareItem :icon="IconSetting" text="璁剧疆" diff --git a/apps/cMiniApp/project.config.json b/apps/cMiniApp/project.config.json index cc53dd5..1d057ff 100644 --- a/apps/cMiniApp/project.config.json +++ b/apps/cMiniApp/project.config.json @@ -3,8 +3,8 @@ "description": "", "setting": { "urlCheck": false, - "es6": false, - "enhance": false, + "es6": true, + "enhance": true, "postcss": false, "preloadBackgroundData": false, "minified": false, diff --git a/apps/cMiniApp/src/components/Avatar/UserAvatar.vue b/apps/cMiniApp/src/components/Avatar/UserAvatar.vue index 9ddbe34..460464d 100644 --- a/apps/cMiniApp/src/components/Avatar/UserAvatar.vue +++ b/apps/cMiniApp/src/components/Avatar/UserAvatar.vue @@ -1,5 +1,5 @@ <template> - <Avatar :src="userDetail?.avatarUrl"></Avatar> + <Avatar :src="userDetail?.avatar"></Avatar> </template> <script setup lang="ts"> diff --git a/apps/cMiniApp/src/subpackages/curriculum/editMineInfo/InnerPage.vue b/apps/cMiniApp/src/subpackages/curriculum/editMineInfo/InnerPage.vue index 3e5993c..d745d5c 100644 --- a/apps/cMiniApp/src/subpackages/curriculum/editMineInfo/InnerPage.vue +++ b/apps/cMiniApp/src/subpackages/curriculum/editMineInfo/InnerPage.vue @@ -5,7 +5,7 @@ <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" /> diff --git a/packages/constants/apiEnum.ts b/packages/constants/apiEnum.ts index 6003214..3f6b552 100644 --- a/packages/constants/apiEnum.ts +++ b/packages/constants/apiEnum.ts @@ -27,6 +27,16 @@ HumanResources = 10, } +/** 鏁版嵁搴撳璁℃棩蹇楁搷浣� */ +export enum EnumDbAuditOperate { + /**娣诲姞 */ + Added = 10, + /**淇敼 */ + Modified = 20, + /**鍒犻櫎 */ + Deleted = 30, +} + /** 浼佷笟瀹炲悕鏂瑰紡 */ export enum EnumEnterpriseRealMethod { /**浼佷笟涓夎绱� */ @@ -137,26 +147,30 @@ 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, /**鎻愪氦 */ diff --git a/packages/hooks/task.ts b/packages/hooks/task.ts index 474681a..8257f5f 100644 --- a/packages/hooks/task.ts +++ b/packages/hooks/task.ts @@ -72,10 +72,13 @@ 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), diff --git a/packages/services/apiV2/index.ts b/packages/services/apiV2/index.ts index 38f65d3..9639827 100644 --- a/packages/services/apiV2/index.ts +++ b/packages/services/apiV2/index.ts @@ -6,29 +6,31 @@ 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, }; diff --git a/packages/services/apiV2/logRecords.ts b/packages/services/apiV2/logRecords.ts new file mode 100644 index 0000000..ed70d74 --- /dev/null +++ b/packages/services/apiV2/logRecords.ts @@ -0,0 +1,69 @@ +/* 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( + // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟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 || {}), + }); +} diff --git a/packages/services/apiV2/resource.ts b/packages/services/apiV2/resource.ts index dc3ef94..ecc1ddc 100644 --- a/packages/services/apiV2/resource.ts +++ b/packages/services/apiV2/resource.ts @@ -2,6 +2,23 @@ // @ts-ignore import { request } from '@/utils/request'; +/** 鍋ュ悍鏍¢獙 GET /api/user/resource/checkHealth */ +export async function checkHealth( + // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟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( // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄) diff --git a/packages/services/apiV2/task.ts b/packages/services/apiV2/task.ts index 9488ff3..19f5179 100644 --- a/packages/services/apiV2/task.ts +++ b/packages/services/apiV2/task.ts @@ -83,6 +83,21 @@ ); } +/** 鏌ヨ浠诲姟浼佷笟淇℃伅 GET /api/flexjob/task/getTaskEnterprise */ +export async function getTaskEnterprise( + // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟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( // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄) diff --git a/packages/services/apiV2/typings.d.ts b/packages/services/apiV2/typings.d.ts index 3fc5b6f..090a520 100644 --- a/packages/services/apiV2/typings.d.ts +++ b/packages/services/apiV2/typings.d.ts @@ -3,6 +3,11 @@ [key: string]: any; } + interface APIcheckHealthParams { + /** 鍋ュ悍鏍¢獙 */ + request?: CheckHealthQuery; + } + interface APIgetAliyunOSSAcsParams { /** 鑾峰彇闃块噷浜慜SS鎺堟潈淇℃伅 */ request?: GetAliyunOSSAcsQuery; @@ -144,6 +149,11 @@ roleId?: string; } + interface APIgetTaskEnterpriseParams { + /** 浼佷笟Id */ + id?: string; + } + interface APIgetTaskInfoParams { /** Id */ id?: string; @@ -154,6 +164,11 @@ taskInfoId?: string; /** 鐢ㄦ埛Id锛圕绔敤鎴峰彲涓嶅~锛� */ userId?: string; + } + + interface APIgetTraceIdLogParams { + /** 璺熻釜Id */ + traceId?: string; } interface APIgetUserInfoRolesParams { @@ -242,6 +257,8 @@ verifyCode: string; } + type CheckHealthQuery = Record<string, any>; + interface CheckReceiveTaskCommand { /** 鎻愪氦Id */ id?: string; @@ -328,6 +345,15 @@ enum EnumDataSource { /**818 */ HumanResources = 10, + } + + enum EnumDbAuditOperate { + /**娣诲姞 */ + Added = 10, + /**淇敼 */ + Modified = 20, + /**鍒犻櫎 */ + Deleted = 30, } enum EnumEnterpriseRealMethod { @@ -429,25 +455,29 @@ 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, /**鎻愪氦 */ @@ -724,6 +754,24 @@ 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; @@ -822,6 +870,24 @@ /** 閿欒鐮� */ 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; /** 閿欒淇℃伅 */ @@ -976,6 +1042,24 @@ 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; @@ -984,6 +1068,24 @@ /** 閿欒鐮� */ 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; /** 閿欒淇℃伅 */ @@ -1056,6 +1158,24 @@ /** 閿欒鐮� */ 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; /** 閿欒淇℃伅 */ @@ -1820,6 +1940,41 @@ 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; + /** 鎿嶄綔浜篒d */ + createdUserId?: string; + createdUser?: GetResourceLogsQueryResultItemCreatedUser; + /** 鍒涘缓鏃堕棿 */ + createdTime?: string; + } + interface GetDictionaryCategoriesQuery { /** 鍏抽敭瀛� */ keywords?: string; @@ -2135,6 +2290,40 @@ 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; + /** 浠g爜 */ + code?: string; + /** 娑堟伅 */ + message?: string; + /** 鍫嗘爤璺熻釜 */ + stackTrace?: string; + /** 鎿嶄綔浜篒d */ + createdUserId?: string; + createdUser?: GetResourceLogsQueryResultItemCreatedUser; + /** 鍒涘缓鏃堕棿 */ + createdTime?: string; } interface GetLicenseOcrCommandResult { @@ -2553,6 +2742,71 @@ 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; + /** 瀹㈡埛绔疘P鍦板潃 */ + clientIpAddress?: string; + /** 鏉ユ簮鍦板潃 */ + refererUrl?: string; + /** 鎺у埗鍙版棩蹇� */ + consoleLogs?: string; + /** 鑰楁椂姣鏁� */ + elapsedMilliseconds?: number; + /** 鎿嶄綔浜篒d */ + 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; @@ -2639,6 +2893,27 @@ isChecked?: boolean; } + interface GetTaskEnterpriseQueryResult { + /** 浼佷笟鍏ㄧО */ + enterpriseName?: string; + /** 缁熶竴绀句細淇$敤浠g爜 */ + societyCreditCode?: string; + /** 鏄惁瀹炲悕 */ + isReal?: boolean; + /** 浼佷笟绫诲瀷 */ + enterpriseType?: string; + /** 娉ㄥ唽璧勬湰 */ + registeredCapital?: string; + /** 鎴愮珛鏃ユ湡 */ + establishmentDate?: string; + /** 浼佷笟鍦板潃 */ + address?: string; + /** 缁忚惀鑼冨洿 */ + mainBusiness?: string; + /** 鍦ㄦ嫑宀椾綅鏁伴噺 */ + taskCount?: number; + } + interface GetTaskInfoQueryResult { /** Id */ id?: string; @@ -2648,6 +2923,8 @@ enterpriseName?: string; /** 鑱旂郴鐢佃瘽 */ contactPhoneNumber?: string; + /** 鏄惁璁よ瘉 */ + isReal?: boolean; /** 鍦ㄦ嫑宀椾綅鏁伴噺 */ taskCount?: number; /** 鎶ュ悕浜烘暟 */ @@ -2808,6 +3085,8 @@ checkReceiveStatus?: EnumTaskCheckReceiveStatus; settlementStatus?: EnumTaskSettlementStatus; recommendStatus?: EnumTaskRecommendStatus; + /** 鎺ㄨ崘鏃堕棿 */ + recommendTime?: string; hireStatus?: EnumTaskUserHireStatus; /** 鍙戝竷鏃堕棿 */ createdTime?: string; @@ -2877,6 +3156,15 @@ /** 宸ヤ綔缁忛獙 */ workExperience?: string; hireStatus?: EnumTaskUserHireStatus; + } + + interface GetTraceIdLogQueryResult { + /** 璧勬簮鏃ュ織 */ + resourceLogs?: GetResourceLogsQueryResultItem[]; + /** 寮傚父鏃ュ織 */ + exceptionLogs?: GetExceptionLogsQueryResultItem[]; + /** 鏁版嵁搴撳璁℃棩蹇� */ + dbAuditLogs?: GetDbAuditLogsQueryResultItem[]; } interface GetUserInfoRolesQueryResultItem { @@ -3262,6 +3550,11 @@ phoneNumber: string; /** 楠岃瘉鐮� */ verifyCode: string; + } + + interface ResendResourceCommand { + /** 璧勬簮鏃ュ織Id */ + id?: string; } interface SaveDictionaryCategoryCommand { @@ -3785,6 +4078,25 @@ 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; diff --git a/packages/services/apiV2/user.ts b/packages/services/apiV2/user.ts index 44bca4f..43f20b8 100644 --- a/packages/services/apiV2/user.ts +++ b/packages/services/apiV2/user.ts @@ -112,3 +112,18 @@ ...(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 || {}), + }); +} -- Gitblit v1.9.1