From 2a681aed4c274560c04ab3699a4ace88abefcb90 Mon Sep 17 00:00:00 2001 From: zhengyiming <540361168@qq.com> Date: 星期五, 08 八月 2025 18:16:21 +0800 Subject: [PATCH] fix: 修改 --- src/services/api/typings.d.ts | 1402 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++-- 1 files changed, 1,345 insertions(+), 57 deletions(-) diff --git a/src/services/api/typings.d.ts b/src/services/api/typings.d.ts index 5317b70..17bba27 100644 --- a/src/services/api/typings.d.ts +++ b/src/services/api/typings.d.ts @@ -3,8 +3,145 @@ [key: string]: any; } + interface APIgetAliyunOSSAcsParams { + /** 鑾峰彇闃块噷浜慜SS鎺堟潈淇℃伅 */ + request?: GetAliyunOSSAcsQuery; + } + + interface APIgetCurrentLogierMenuParams { + /** Id */ + id?: string; + } + + interface APIgetCurrentLogierMenusParams { + /** 鑾峰彇褰撳墠鐧诲綍鐢ㄦ埛鑿滃崟 */ + request?: GetCurrentLogierMenusQuery; + } + + interface APIgetDictionaryCategorySelectParams { + /** 鏌ヨ鏁版嵁瀛楀吀绫诲埆閫夋嫨鍣ㄦ暟鎹� */ + request?: GetDictionaryCategorySelectQuery; + } + + interface APIgetDictionaryDataSelectParams { + /** 绫诲埆Id锛圛d/缂栧彿浜岄�変竴锛� */ + categoryId?: string; + /** 绫诲埆缂栧彿锛圛d/缂栧彿浜岄�変竴锛� */ + categoryCode?: string; + /** 涓婄骇Id */ + parentId?: string; + /** 鍏抽敭瀛� */ + keywords?: string; + /** 鏌ヨ鎵�鏈� */ + all?: boolean; + /** 鏈�澶ф繁搴� */ + maxDeep?: number; + } + + interface APIgetEnterpriseElectronSignSettingParams { + /** Id */ + id?: string; + } + + interface APIgetEnterpriseParams { + /** Id */ + id?: string; + } + + interface APIgetEnterpriseSmsSettingParams { + /** Id */ + id?: string; + } + + interface APIgetMenuParams { + /** Id */ + id?: string; + /** 瑙掕壊Id */ + roleId?: string; + } + + interface APIgetMenusParams { + /** 鐢ㄦ埛绫诲瀷 */ + userType?: EnumUserType; + /** 瀹㈡埛绔被鍨� */ + clientType?: EnumClientType; + /** 瑙掕壊Id */ + roleId?: string; + } + + interface APIgetResourceFieldsParams { + /** Id */ + id?: string; + } + + interface APIgetResourcesParams { + /** 璇锋眰鏂瑰紡 */ + method?: EnumResourceMethod; + /** 鍏抽敭瀛� */ + keywords?: string; + /** 瑙掕壊Id */ + roleId?: string; + } + + interface APIgetRoleParams { + /** Id */ + id?: string; + } + + interface APIgetRoleUserInfosParams { + /** 瑙掕壊Id */ + roleId?: string; + } + + interface APIgetTaskInfoParams { + /** Id */ + id?: string; + } + + interface APIgetUserInfoRolesParams { + /** 鐢ㄦ埛Id */ + userInfoId?: string; + /** 瀹㈡埛绔被鍨� */ + clientType?: EnumClientType; + } + + interface APIgetUserResumeParams { + /** 鐢ㄦ埛Id */ + userId?: string; + } + + interface BindPhoneNumberCommand { + /** 鎵嬫満鍙风爜 */ + phoneNumber?: string; + /** 楠岃瘉鐮� */ + verifyCode?: string; + } + + interface DeleteDictionaryCategoryCommand { + ids: string[]; + } + interface DeleteMenuCommand { ids: string[]; + } + + interface DeleteRoleCommand { + ids: string[]; + } + + interface DeleteTaskInfoCommand { + ids: string[]; + } + + enum EnumBillingMethod { + /**鎸夋湀 */ + Month = 10, + /**鎸夊ぉ */ + Day = 20, + /**鎸夋椂 */ + Hour = 30, + /**璁′欢 */ + Piece = 40, } enum EnumClientType { @@ -38,9 +175,124 @@ enum EnumPagedListOrder { /**鍗囧簭 */ - Ascending = 0, + Asc = 0, /**闄嶅簭 */ - Descending = 1, + Desc = 1, + } + + enum EnumRealAccess { + /**涓婁笂绛� */ + BestSign = 10, + /**鏀粯瀹濅俊浠荤 */ + AlipaySign = 20, + } + + enum EnumResourceController { + /**鏁版嵁瀛楀吀 */ + Dictionary = 0, + /**浠诲姟 */ + Task = 1, + /**鐢ㄦ埛璁よ瘉 */ + Auth = 2, + /**鐢ㄦ埛鑿滃崟 */ + Menu = 3, + /**鐢ㄦ埛璧勬簮 */ + Resource = 4, + /**鐢ㄦ埛瑙掕壊 */ + Role = 5, + /**鐢ㄦ埛淇℃伅 */ + User = 6, + /**浼佷笟淇℃伅 */ + Enterprise = 7, + } + + enum EnumResourceMethod { + /**鏌ヨ */ + Get = 10, + /**鎻愪氦 */ + Post = 20, + /**淇敼 */ + Put = 30, + /**鍒犻櫎 */ + Delete = 40, + } + + enum EnumRoleWebApiDataPower { + /**鑷畾涔� */ + Custom = 1, + /**鏌ヨ涓汉鍒涘缓鏁版嵁 */ + Creator = 10, + /**鏌ヨ褰撳墠閮ㄩ棬鏁版嵁 */ + CurrentDepartment = 20, + /**鏌ヨ褰撳墠鍙婁笅绾ч儴闂ㄦ暟鎹� */ + NestingDepartment = 21, + /**鏌ヨ褰撳墠浼佷笟鎵�鏈夋暟鎹� */ + CurrentEnterprise = 30, + /**鏌ヨ鎵�鏈� */ + All = 999, + } + + enum EnumSettlementCycle { + /**鏈堢粨 */ + Month = 10, + /**鍛ㄧ粨 */ + Week = 20, + /**鏃ョ粨 */ + Day = 30, + } + + enum EnumSmsAccess { + /**闃块噷浜戠煭淇� */ + AliyunSms = 10, + } + + enum EnumTaskCheckReceiveStatus { + /**寰呴獙鏀� */ + Wait = 10, + /**宸查獙鏀� */ + Completed = 30, + } + + enum EnumTaskRecommendStatus { + /**鏈帹鑽� */ + No = 10, + /**宸叉帹鑽� */ + Yes = 20, + } + + enum EnumTaskReleaseStatus { + /**鍙戝竷涓� */ + InProcess = 20, + /**宸插仠姝� */ + Stopped = 100, + } + + enum EnumTaskSettlementStatus { + /**寰呯粨绠� */ + Wait = 10, + /**宸茬粨绠� */ + Completed = 30, + } + + enum EnumTaskStatus { + /**寰呭畨鎺� */ + Wait = 10, + /**宸插畨鎺� */ + Complete = 20, + } + + enum EnumUserGender { + /**鐢� */ + Male = 10, + /**濂� */ + Female = 20, + } + + enum EnumUserStatus { + /**姝e父 */ + Normal = 10, + /**绂佺敤 */ + Disabled = 100, } enum EnumUserType { @@ -52,27 +304,91 @@ Operation = 100, } - enum EnumWebApiMethod { - /**鏌ヨ */ - Get = 10, - /**鎻愪氦 */ - Post = 20, - /**淇敼 */ - Put = 30, - /**鍒犻櫎 */ - Delete = 40, - } - - interface FriendlyResultGetDictionaryDatasQueryResult { + interface FriendlyResultBoolean { /** 璺熻釜Id */ traceId?: string; /** 鐘舵�佺爜 */ code?: number; - data?: GetDictionaryDatasQueryResult; + /** 閿欒鐮� */ + errorCode?: string; + /** 鏁版嵁 */ + data?: boolean; /** 鎵ц鎴愬姛 */ success?: boolean; /** 閿欒淇℃伅 */ - errors?: any; + msg?: any; + /** 闄勫姞鏁版嵁 */ + extras?: any; + /** 鏃堕棿鎴� */ + timestamp?: number; + } + + interface FriendlyResultGetAliyunOSSAcsQueryResult { + /** 璺熻釜Id */ + traceId?: string; + /** 鐘舵�佺爜 */ + code?: number; + /** 閿欒鐮� */ + errorCode?: string; + data?: GetAliyunOSSAcsQueryResult; + /** 鎵ц鎴愬姛 */ + success?: boolean; + /** 閿欒淇℃伅 */ + msg?: any; + /** 闄勫姞鏁版嵁 */ + extras?: any; + /** 鏃堕棿鎴� */ + timestamp?: number; + } + + interface FriendlyResultGetEnterpriseElectronSignSettingQueryResult { + /** 璺熻釜Id */ + traceId?: string; + /** 鐘舵�佺爜 */ + code?: number; + /** 閿欒鐮� */ + errorCode?: string; + data?: GetEnterpriseElectronSignSettingQueryResult; + /** 鎵ц鎴愬姛 */ + success?: boolean; + /** 閿欒淇℃伅 */ + msg?: any; + /** 闄勫姞鏁版嵁 */ + extras?: any; + /** 鏃堕棿鎴� */ + timestamp?: number; + } + + interface FriendlyResultGetEnterpriseQueryResult { + /** 璺熻釜Id */ + traceId?: string; + /** 鐘舵�佺爜 */ + code?: number; + /** 閿欒鐮� */ + errorCode?: string; + data?: GetEnterpriseQueryResult; + /** 鎵ц鎴愬姛 */ + success?: boolean; + /** 閿欒淇℃伅 */ + msg?: any; + /** 闄勫姞鏁版嵁 */ + extras?: any; + /** 鏃堕棿鎴� */ + timestamp?: number; + } + + interface FriendlyResultGetEnterpriseSmsSettingQueryResult { + /** 璺熻釜Id */ + traceId?: string; + /** 鐘舵�佺爜 */ + code?: number; + /** 閿欒鐮� */ + errorCode?: string; + data?: GetEnterpriseSmsSettingQueryResult; + /** 鎵ц鎴愬姛 */ + success?: boolean; + /** 閿欒淇℃伅 */ + msg?: any; /** 闄勫姞鏁版嵁 */ extras?: any; /** 鏃堕棿鎴� */ @@ -84,11 +400,85 @@ traceId?: string; /** 鐘舵�佺爜 */ code?: number; + /** 閿欒鐮� */ + errorCode?: string; data?: GetMenuQueryResult; /** 鎵ц鎴愬姛 */ success?: boolean; /** 閿欒淇℃伅 */ - errors?: any; + msg?: any; + /** 闄勫姞鏁版嵁 */ + extras?: any; + /** 鏃堕棿鎴� */ + timestamp?: number; + } + + interface FriendlyResultGetRoleQueryResult { + /** 璺熻釜Id */ + traceId?: string; + /** 鐘舵�佺爜 */ + code?: number; + /** 閿欒鐮� */ + errorCode?: string; + data?: GetRoleQueryResult; + /** 鎵ц鎴愬姛 */ + success?: boolean; + /** 閿欒淇℃伅 */ + msg?: any; + /** 闄勫姞鏁版嵁 */ + extras?: any; + /** 鏃堕棿鎴� */ + timestamp?: number; + } + + interface FriendlyResultGetTaskInfoQueryResult { + /** 璺熻釜Id */ + traceId?: string; + /** 鐘舵�佺爜 */ + code?: number; + /** 閿欒鐮� */ + errorCode?: string; + data?: GetTaskInfoQueryResult; + /** 鎵ц鎴愬姛 */ + success?: boolean; + /** 閿欒淇℃伅 */ + msg?: any; + /** 闄勫姞鏁版嵁 */ + extras?: any; + /** 鏃堕棿鎴� */ + timestamp?: number; + } + + interface FriendlyResultGetTaskInfosQueryResult { + /** 璺熻釜Id */ + traceId?: string; + /** 鐘舵�佺爜 */ + code?: number; + /** 閿欒鐮� */ + errorCode?: string; + data?: GetTaskInfosQueryResult; + /** 鎵ц鎴愬姛 */ + success?: boolean; + /** 閿欒淇℃伅 */ + msg?: any; + /** 闄勫姞鏁版嵁 */ + extras?: any; + /** 鏃堕棿鎴� */ + timestamp?: number; + } + + interface FriendlyResultGetUserResumeQueryResult { + /** 璺熻釜Id */ + traceId?: string; + /** 鐘舵�佺爜 */ + code?: number; + /** 閿欒鐮� */ + errorCode?: string; + data?: GetUserResumeQueryResult; + /** 鎵ц鎴愬姛 */ + success?: boolean; + /** 閿欒淇℃伅 */ + msg?: any; /** 闄勫姞鏁版嵁 */ extras?: any; /** 鏃堕棿鎴� */ @@ -100,12 +490,14 @@ traceId?: string; /** 鐘舵�佺爜 */ code?: number; + /** 閿欒鐮� */ + errorCode?: string; /** 鏁版嵁 */ data?: string; /** 鎵ц鎴愬姛 */ success?: boolean; /** 閿欒淇℃伅 */ - errors?: any; + msg?: any; /** 闄勫姞鏁版嵁 */ extras?: any; /** 鏃堕棿鎴� */ @@ -117,12 +509,14 @@ traceId?: string; /** 鐘舵�佺爜 */ code?: number; + /** 閿欒鐮� */ + errorCode?: string; /** 鏁版嵁 */ data?: number; /** 鎵ц鎴愬姛 */ success?: boolean; /** 閿欒淇℃伅 */ - errors?: any; + msg?: any; /** 闄勫姞鏁版嵁 */ extras?: any; /** 鏃堕棿鎴� */ @@ -134,12 +528,14 @@ traceId?: string; /** 鐘舵�佺爜 */ code?: number; + /** 閿欒鐮� */ + errorCode?: string; /** 鏁版嵁 */ data?: GetMenusQueryResultItem[]; /** 鎵ц鎴愬姛 */ success?: boolean; /** 閿欒淇℃伅 */ - errors?: any; + msg?: any; /** 闄勫姞鏁版嵁 */ extras?: any; /** 鏃堕棿鎴� */ @@ -151,12 +547,14 @@ traceId?: string; /** 鐘舵�佺爜 */ code?: number; + /** 閿欒鐮� */ + errorCode?: string; /** 鏁版嵁 */ data?: GetResourceFieldsQueryResultItem[]; /** 鎵ц鎴愬姛 */ success?: boolean; /** 閿欒淇℃伅 */ - errors?: any; + msg?: any; /** 闄勫姞鏁版嵁 */ extras?: any; /** 鏃堕棿鎴� */ @@ -168,54 +566,375 @@ traceId?: string; /** 鐘舵�佺爜 */ code?: number; + /** 閿欒鐮� */ + errorCode?: string; /** 鏁版嵁 */ data?: GetResourcesQueryResultItem[]; /** 鎵ц鎴愬姛 */ success?: boolean; /** 閿欒淇℃伅 */ - errors?: any; + msg?: any; /** 闄勫姞鏁版嵁 */ extras?: any; /** 鏃堕棿鎴� */ timestamp?: number; } - interface FriendlyResultPasswordLoginCommandCallback { + interface FriendlyResultListGetRoleUserInfosQueryResultItem { /** 璺熻釜Id */ traceId?: string; /** 鐘舵�佺爜 */ code?: number; - data?: PasswordLoginCommandCallback; + /** 閿欒鐮� */ + errorCode?: string; + /** 鏁版嵁 */ + data?: GetRoleUserInfosQueryResultItem[]; /** 鎵ц鎴愬姛 */ success?: boolean; /** 閿欒淇℃伅 */ - errors?: any; + msg?: any; /** 闄勫姞鏁版嵁 */ extras?: any; /** 鏃堕棿鎴� */ timestamp?: number; } - interface GetDictionaryDatasQuery { - pageModel?: PagedListQueryPageModel; - } - - interface GetDictionaryDatasQueryResult { - pageModel?: PagedListQueryResultPageModel; + interface FriendlyResultListGetUserInfoRolesQueryResultItem { + /** 璺熻釜Id */ + traceId?: string; + /** 鐘舵�佺爜 */ + code?: number; + /** 閿欒鐮� */ + errorCode?: string; /** 鏁版嵁 */ - data?: GetDictionaryDatasQueryResultItem[]; + data?: GetUserInfoRolesQueryResultItem[]; + /** 鎵ц鎴愬姛 */ + success?: boolean; + /** 閿欒淇℃伅 */ + msg?: any; + /** 闄勫姞鏁版嵁 */ + extras?: any; + /** 鏃堕棿鎴� */ + timestamp?: number; } - type GetDictionaryDatasQueryResultItem = true; + interface FriendlyResultListSelectOptionGuidGetDictionaryCategorySelectQueryOption { + /** 璺熻釜Id */ + traceId?: string; + /** 鐘舵�佺爜 */ + code?: number; + /** 閿欒鐮� */ + errorCode?: string; + /** 鏁版嵁 */ + data?: SelectOptionGuidGetDictionaryCategorySelectQueryOption[]; + /** 鎵ц鎴愬姛 */ + success?: boolean; + /** 閿欒淇℃伅 */ + msg?: any; + /** 闄勫姞鏁版嵁 */ + extras?: any; + /** 鏃堕棿鎴� */ + timestamp?: number; + } - interface GetMenuQuery { + interface FriendlyResultListSelectOptionStringGetDictionaryDataSelectQueryResultOption { + /** 璺熻釜Id */ + traceId?: string; + /** 鐘舵�佺爜 */ + code?: number; + /** 閿欒鐮� */ + errorCode?: string; + /** 鏁版嵁 */ + data?: SelectOptionStringGetDictionaryDataSelectQueryResultOption[]; + /** 鎵ц鎴愬姛 */ + success?: boolean; + /** 閿欒淇℃伅 */ + msg?: any; + /** 闄勫姞鏁版嵁 */ + extras?: any; + /** 鏃堕棿鎴� */ + timestamp?: number; + } + + interface FriendlyResultLoginCommandCallback { + /** 璺熻釜Id */ + traceId?: string; + /** 鐘舵�佺爜 */ + code?: number; + /** 閿欒鐮� */ + errorCode?: string; + data?: LoginCommandCallback; + /** 鎵ц鎴愬姛 */ + success?: boolean; + /** 閿欒淇℃伅 */ + msg?: any; + /** 闄勫姞鏁版嵁 */ + extras?: any; + /** 鏃堕棿鎴� */ + timestamp?: number; + } + + interface FriendlyResultPagedListQueryResultGetDictionaryCategoriesQueryResultItem { + /** 璺熻釜Id */ + traceId?: string; + /** 鐘舵�佺爜 */ + code?: number; + /** 閿欒鐮� */ + errorCode?: string; + data?: PagedListQueryResultGetDictionaryCategoriesQueryResultItem; + /** 鎵ц鎴愬姛 */ + success?: boolean; + /** 閿欒淇℃伅 */ + msg?: any; + /** 闄勫姞鏁版嵁 */ + extras?: any; + /** 鏃堕棿鎴� */ + timestamp?: number; + } + + interface FriendlyResultPagedListQueryResultGetDictionaryDatasQueryResultItem { + /** 璺熻釜Id */ + traceId?: string; + /** 鐘舵�佺爜 */ + code?: number; + /** 閿欒鐮� */ + errorCode?: string; + data?: PagedListQueryResultGetDictionaryDatasQueryResultItem; + /** 鎵ц鎴愬姛 */ + success?: boolean; + /** 閿欒淇℃伅 */ + msg?: any; + /** 闄勫姞鏁版嵁 */ + extras?: any; + /** 鏃堕棿鎴� */ + timestamp?: number; + } + + interface FriendlyResultPagedListQueryResultGetEnterprisesQueryResultItem { + /** 璺熻釜Id */ + traceId?: string; + /** 鐘舵�佺爜 */ + code?: number; + /** 閿欒鐮� */ + errorCode?: string; + data?: PagedListQueryResultGetEnterprisesQueryResultItem; + /** 鎵ц鎴愬姛 */ + success?: boolean; + /** 閿欒淇℃伅 */ + msg?: any; + /** 闄勫姞鏁版嵁 */ + extras?: any; + /** 鏃堕棿鎴� */ + timestamp?: number; + } + + interface FriendlyResultPagedListQueryResultGetOperationUserInfosQueryResultItem { + /** 璺熻釜Id */ + traceId?: string; + /** 鐘舵�佺爜 */ + code?: number; + /** 閿欒鐮� */ + errorCode?: string; + data?: PagedListQueryResultGetOperationUserInfosQueryResultItem; + /** 鎵ц鎴愬姛 */ + success?: boolean; + /** 閿欒淇℃伅 */ + msg?: any; + /** 闄勫姞鏁版嵁 */ + extras?: any; + /** 鏃堕棿鎴� */ + timestamp?: number; + } + + interface FriendlyResultPagedListQueryResultGetRolesQueryResultItem { + /** 璺熻釜Id */ + traceId?: string; + /** 鐘舵�佺爜 */ + code?: number; + /** 閿欒鐮� */ + errorCode?: string; + data?: PagedListQueryResultGetRolesQueryResultItem; + /** 鎵ц鎴愬姛 */ + success?: boolean; + /** 閿欒淇℃伅 */ + msg?: any; + /** 闄勫姞鏁版嵁 */ + extras?: any; + /** 鏃堕棿鎴� */ + timestamp?: number; + } + + type GetAliyunOSSAcsQuery = Record<string, any>; + + interface GetAliyunOSSAcsQueryResult { + expiration?: string; + ossAccessSecret?: string; + ossAccessKeyId?: string; + securityToken?: string; + requestId?: string; + } + + type GetCurrentLogierMenusQuery = Record<string, any>; + + interface GetDictionaryCategoriesQuery { + pageModel?: PagedListQueryPageModel; + /** 鍏抽敭瀛� */ + keywords?: string; + } + + interface GetDictionaryCategoriesQueryResultItem { /** Id */ id?: string; + /** 缂栧彿 */ + code?: string; + /** 鍚嶇О */ + name?: string; + /** 瀛楁鍚嶏紙閫楀彿闅斿紑锛� */ + fieldNames?: string; + /** 鎺掑簭 */ + sort?: number; + } + + type GetDictionaryCategorySelectQuery = Record<string, any>; + + interface GetDictionaryDatasQuery { + pageModel?: PagedListQueryPageModel; + /** 绫诲埆Id锛圛d/缂栧彿浜岄�変竴锛� */ + categoryId?: string; + /** 绫诲埆缂栧彿锛圛d/缂栧彿浜岄�変竴锛� */ + categoryCode?: string; + /** 涓婄骇Id */ + parentId?: string; + /** 鍏抽敭瀛� */ + keywords?: string; + } + + interface GetDictionaryDatasQueryResultItem { + /** Id */ + id?: string; + /** 绫诲埆Id */ + categoryId?: string; + /** 绫诲埆缂栧彿 */ + categoryCode?: string; + /** 绫诲埆鍚嶇О */ + categoryName?: string; + /** 涓婄骇Id */ + parentId?: string; + /** 缂栧彿 */ + code?: string; + /** 鏄剧ず鍐呭 */ + content: string; + /** 瀛楁1 */ + field1?: string; + /** 瀛楁2 */ + field2?: string; + /** 瀛楁3 */ + field3?: string; + /** 瀛楁4 */ + field4?: string; + /** 瀛楁5 */ + field5?: string; + /** 鎺掑簭 */ + sort?: number; + /** 鏄惁绂佺敤 */ + isDisabled?: boolean; + } + + interface GetEnterpriseElectronSignSettingQueryResult { + /** Id */ + id?: string; + realAccess?: EnumRealAccess; + /** 瀹炲悕璐圭敤 */ + realVerifyCost?: number; + /** 绛剧害璐圭敤 */ + signCost?: number; + /** 涓�鍙d环 */ + mergeSignCost?: number; + } + + interface GetEnterpriseQueryResult { + /** Id */ + id?: string; + /** 浼佷笟鍏ㄧО */ + enterpriseName?: string; + /** 缁熶竴绀句細淇$敤浠g爜 */ + societyCreditCode?: string; + /** 娉曚汉濮撳悕 */ + legalPerson?: string; + /** 娉曚汉韬唤璇佸彿 */ + legalIdentity?: string; + /** 鎵�鍦ㄧ渷浠界紪鍙� */ + provinceCode?: string; + /** 鎵�鍦ㄧ渷浠� */ + provinceContent?: string; + /** 鎵�鍦ㄥ煄甯傜紪鍙� */ + cityCode?: string; + /** 鎵�鍦ㄥ煄甯� */ + cityContent?: string; + /** 鎵�灞炶涓氱紪鍙� */ + industryTypeCode?: string; + /** 鎵�灞炶涓� */ + industryTypeContent?: string; + /** 涓昏惀涓氬姟 */ + mainBusiness?: string; + /** 鑱旂郴浜� */ + contacts?: string; + /** 鑱旂郴鐢佃瘽 */ + contactPhoneNumber?: string; + /** 鑱旂郴閭 */ + contactEmail?: string; + /** 璐﹀彿 */ + userName?: string; + /** 鍦ㄦ嫑宀椾綅鏁伴噺 */ + taskCount?: number; + } + + interface GetEnterpriseSmsSettingQueryResult { + /** Id */ + id?: string; + smsAccess?: EnumSmsAccess; + /** 鐭俊璐圭敤 */ + smsCost?: number; + } + + interface GetEnterprisesQuery { + pageModel?: PagedListQueryPageModel; + /** 鍏抽敭瀛� */ + keywords?: string; + /** 鏄惁宸查厤缃� */ + isConfigured?: boolean; + } + + interface GetEnterprisesQueryResultItem { + /** Id */ + id?: string; + /** 浼佷笟鍏ㄧО */ + enterpriseName?: string; + /** 娉曚汉濮撳悕 */ + legalPerson?: string; + /** 缁熶竴绀句細淇$敤浠g爜 */ + societyCreditCode?: string; + /** 鏄惁瀹炲悕 */ + isReal?: boolean; + /** 鑱旂郴浜� */ + contacts?: string; + /** 鑱旂郴鐢佃瘽 */ + contactPhoneNumber?: string; + /** 鎵�鍦ㄧ渷浠� */ + provinceContent?: string; + /** 鎵�鍦ㄥ煄甯� */ + cityContent?: string; + /** 鎵�灞炶涓� */ + industryTypeContent?: string; + /** 鏄惁宸查厤缃� */ + isConfigured?: boolean; } interface GetMenuQueryResult { /** Id */ id?: string; + /** 鏄惁閫夋嫨锛堢敤鎴疯鑹叉巿鏉冿級 */ + isChecked?: boolean; userType?: EnumUserType; clientType?: EnumClientType; /** 涓婄骇Id */ @@ -247,6 +966,8 @@ interface GetMenuQueryResultButton { /** Id */ id?: string; + /** 鏄惁閫夋嫨锛堢敤鎴疯鑹叉巿鏉冿級 */ + isChecked?: boolean; /** 缂栧彿 */ code?: string; /** 鍚嶇О */ @@ -271,6 +992,8 @@ interface GetMenuQueryResultField { /** Id */ id?: string; + /** 鏄惁閫夋嫨锛堢敤鎴疯鑹叉巿鏉冿級 */ + isChecked?: boolean; /** 缂栧彿 */ code?: string; /** 鍚嶇О */ @@ -292,18 +1015,15 @@ fields?: GetMenuQueryResultField[]; } - interface GetMenusQuery { - userType?: EnumUserType; - clientType?: EnumClientType; - } - interface GetMenusQueryResultItem { /** Id */ id?: string; + /** 鏄惁閫夋嫨锛堢敤鎴疯鑹叉巿鏉冿級 */ + isChecked?: boolean; /** 涓婄骇Id */ parentId?: string; /** 涓嬬骇 */ - childrens?: GetMenusQueryResultItem[]; + children?: GetMenusQueryResultItem[]; /** 缂栧彿 */ code?: string; /** 鍚嶇О */ @@ -326,9 +1046,33 @@ remark?: string; } - interface GetResourceFieldsQuery { + interface GetOperationUserInfosQuery { + pageModel?: PagedListQueryPageModel; + /** 鍏抽敭瀛� */ + keywords?: string; + } + + interface GetOperationUserInfosQueryResultItem { /** Id */ id?: string; + /** 濮撳悕 */ + name?: string; + /** 鐢ㄦ埛鍚� */ + userName?: string; + /** 鎵嬫満鍙� */ + phoneNumber?: string; + /** 澶囨敞 */ + remark?: string; + /** 瑙掕壊 */ + roles?: GetOperationUserInfosQueryResultItemRole[]; + status?: EnumUserStatus; + } + + interface GetOperationUserInfosQueryResultItemRole { + /** 瑙掕壊Id */ + id?: string; + /** 鍚嶇О */ + name?: string; } interface GetResourceFieldsQueryResultItem { @@ -338,30 +1082,264 @@ name?: string; } - interface GetResourcesQuery { - /** 寰湇鍔� */ - service?: string; - method?: EnumWebApiMethod; - /** 鍏抽敭瀛� */ - keywords?: string; - } - interface GetResourcesQueryResultItem { /** Id */ id?: string; - /** 寰湇鍔� */ - service?: string; + /** 鏄惁閫変腑锛堢敤浜庤鑹叉巿鏉冿級 */ + isChecked?: boolean; + controller?: EnumResourceController; + /** 濮旀墭鍚嶇О */ + actionName?: string; /** 缂栧彿 */ code?: string; /** 鍚嶇О */ name?: string; - method?: EnumWebApiMethod; + method?: EnumResourceMethod; /** 璺敱 */ route?: string; /** 璇锋眰绫诲瀷鍚嶇О */ requestTypeName?: string; + /** 璇锋眰绫诲瀷鍏ㄥ悕 */ + requestTypeFullName?: string; /** 鍝嶅簲绫诲瀷鍚嶇О */ responseTypeName?: string; + /** 鍝嶅簲绫诲瀷鍏ㄥ悕 */ + responseTypeFullName?: string; + } + + interface GetRoleQueryResult { + /** Id */ + id?: string; + /** 鍚嶇О */ + name?: string; + userType?: EnumUserType; + clientType?: EnumClientType; + /** 鏈�浣庣骇鍒� */ + minLevel?: number; + dataPower?: EnumRoleWebApiDataPower; + /** 澶囨敞 */ + remark?: string; + /** 鑿滃崟Id */ + menuIds?: string[]; + /** 璧勬簮 */ + resources?: GetRoleQueryResultResource[]; + } + + interface GetRoleQueryResultResource { + /** 璧勬簮Id */ + resourceId?: string; + dataPower?: EnumRoleWebApiDataPower; + } + + interface GetRolesQuery { + pageModel?: PagedListQueryPageModel; + userType?: EnumUserType; + clientType?: EnumClientType; + /** 鍏抽敭瀛� */ + keywords?: string; + } + + interface GetRolesQueryResultItem { + /** Id */ + id?: string; + /** 鍚嶇О */ + name?: string; + userType?: EnumUserType; + clientType?: EnumClientType; + /** 鏈�浣庣骇鍒� */ + minLevel?: number; + dataPower?: EnumRoleWebApiDataPower; + /** 澶囨敞 */ + remark?: string; + /** 鏄惁绂佺敤 */ + isDisabled?: boolean; + /** 鐢ㄦ埛鏁伴噺 */ + userCount?: number; + } + + interface GetRoleUserInfosQueryResultItem { + /** 鐢ㄦ埛Id */ + id?: string; + /** 濮撳悕 */ + name?: string; + /** 鐢ㄦ埛鍚� */ + userName?: string; + /** 鏄惁閫変腑 */ + isChecked?: boolean; + } + + interface GetTaskInfoQueryResult { + /** Id */ + id?: string; + /** 浼佷笟Id */ + enterpriseId?: string; + /** 浼佷笟鍏ㄧО */ + enterpriseEnterpriseName?: string; + /** 鍦ㄦ嫑宀椾綅鏁伴噺 */ + taskCount?: number; + /** 浠诲姟鍚嶇О */ + name?: string; + billingMethod?: EnumBillingMethod; + /** 鏈嶅姟璐� */ + serviceFee?: number; + settlementCycle?: EnumSettlementCycle; + /** 绂忓埄 */ + benefits?: GetTaskInfoQueryResultBenefit[]; + /** 骞撮緞鑼冨洿鏈�灏� */ + ageMinLimit?: number; + /** 骞撮緞鑼冨洿澶� */ + ageMaxLimit?: number; + genderLimit?: EnumUserGender; + /** 璧勬牸璇佷功绫诲瀷 */ + credentialLimits?: GetTaskInfoQueryResultCredentialLimit[]; + /** 浠诲姟鍦扮偣鎵�灞炵渷浠界紪鍙� */ + provinceCode?: string; + /** 浠诲姟鍦扮偣鎵�灞炵渷浠� */ + provinceContent?: string; + /** 浠诲姟鍦扮偣鎵�灞炲煄甯傜紪鍙� */ + cityCode?: string; + /** 浠诲姟鍦扮偣鎵�灞炲煄甯� */ + cityContent?: string; + /** 浠诲姟鍦扮偣鍚嶇О */ + addressName?: string; + /** 浠诲姟鍦扮偣璇︾粏鍦板潃 */ + addressDetail?: string; + /** 缁忓害 */ + longitude?: number; + /** 绾害 */ + latitude?: number; + /** 浠诲姟寮�濮嬫椂闂� */ + beginTime?: string; + /** 浠诲姟缁撴潫鏃堕棿 */ + endTime?: string; + /** 鍒涘缓鏃堕棿 */ + createdTime?: string; + /** 鏄惁宸叉敹钘� */ + isCollected?: boolean; + status?: EnumTaskStatus; + releaseStatus?: EnumTaskReleaseStatus; + } + + interface GetTaskInfoQueryResultBenefit { + /** 绂忓埄缂栧彿 */ + benefitCode?: string; + /** 绂忓埄鍥炬爣 */ + benefitField2?: string; + /** 绂忓埄鍚嶇О */ + benefitContent?: string; + } + + interface GetTaskInfoQueryResultCredentialLimit { + /** 璇佷功绫诲瀷缂栧彿 */ + typeCode?: string; + /** 璇佷功绫诲瀷 */ + typeContent?: string; + } + + interface GetTaskInfosQuery { + pageModel?: PagedListQueryPageModel; + /** 鍏抽敭瀛楋紙浠诲姟鍚嶇О锛� */ + keywords?: string; + /** 浼佷笟Id */ + enterpriseId?: string; + /** 鍙戝竷鏃堕棿-寮�濮� */ + beginTime?: string; + /** 鍙戝竷鏃堕棿-缁撴潫 */ + endTime?: string; + /** 浠诲姟鍦扮偣鎵�灞炲煄甯傜紪鍙� */ + cityCode?: string; + settlementCycle?: EnumSettlementCycle; + /** 鍛樺伐绂忓埄 */ + benefitCodes?: string[]; + genderLimit?: EnumUserGender; + status?: EnumTaskStatus; + releaseStatus?: EnumTaskReleaseStatus; + recommendStatus?: EnumTaskRecommendStatus; + } + + interface GetTaskInfosQueryResult { + pageModel?: PagedListQueryResultPageModel; + /** 鏁版嵁 */ + data?: GetTaskInfosQueryResultItem[]; + objectData?: GetTaskInfosQueryResultObjectData; + } + + interface GetTaskInfosQueryResultItem { + /** Id */ + id?: string; + /** 浠诲姟鍚嶇О */ + name: string; + /** 浠诲姟鍗曞彿 */ + code?: string; + billingMethod?: EnumBillingMethod; + /** 鏈嶅姟璐� */ + serviceFee?: number; + settlementCycle?: EnumSettlementCycle; + /** 绂忓埄 */ + benefits?: GetTaskInfoQueryResultBenefit[]; + genderLimit?: EnumUserGender; + /** 璧勬牸璇佷功绫诲瀷 */ + credentialLimits?: GetTaskInfoQueryResultCredentialLimit[]; + /** 浠诲姟鍦扮偣鎵�灞炵渷浠界紪鍙� */ + provinceCode?: string; + /** 浠诲姟鍦扮偣鎵�灞炵渷浠� */ + provinceContent?: string; + /** 浠诲姟鍦扮偣鎵�灞炲煄甯傜紪鍙� */ + cityCode?: string; + /** 浠诲姟鍦扮偣鎵�灞炲煄甯� */ + cityContent?: string; + /** 浠诲姟鍦扮偣鍚嶇О */ + addressName?: string; + /** 浠诲姟鍦扮偣璇︾粏鍦板潃 */ + addressDetail?: string; + /** 缁忓害 */ + longitude?: number; + /** 绾害 */ + latitude?: number; + /** 鎶ュ悕浜烘暟 */ + userCount?: number; + status?: EnumTaskStatus; + /** 浠诲姟寮�濮嬫椂闂� */ + beginTime?: string; + /** 浠诲姟缁撴潫鏃堕棿 */ + endTime?: string; + releaseStatus?: EnumTaskReleaseStatus; + checkReceiveStatus?: EnumTaskCheckReceiveStatus; + settlementStatus?: EnumTaskSettlementStatus; + recommendStatus?: EnumTaskRecommendStatus; + /** 鍒涘缓鏃堕棿 */ + createdTime?: string; + } + + interface GetTaskInfosQueryResultObjectData { + /** 寰呭畨鎺掓暟閲� */ + waitAssignCount?: number; + /** 宸插畨鎺掓暟閲� */ + completedAssignCount?: number; + /** 鍙戝竷涓暟閲� */ + inProcessReleaseCount?: number; + /** 宸插仠姝㈡暟閲� */ + stoppedReleaseCount?: number; + } + + interface GetUserInfoRolesQueryResultItem { + /** 瑙掕壊Id */ + id?: string; + /** 鍚嶇О */ + name?: string; + /** 澶囨敞 */ + remark?: string; + /** 鏄惁閫変腑 */ + isChecked?: boolean; + } + + type GetUserResumeQueryResult = Record<string, any>; + + interface LoginCommandCallback { + /** 鐢ㄦ埛璁块棶浠ょ墝 */ + accessToken?: string; + /** 鍒锋柊浠ょ墝 */ + refreshToken?: string; } interface PagedListQueryPageModel { @@ -377,6 +1355,36 @@ /** 灞炴�� */ property?: string; order?: EnumPagedListOrder; + } + + interface PagedListQueryResultGetDictionaryCategoriesQueryResultItem { + pageModel?: PagedListQueryResultPageModel; + /** 鏁版嵁 */ + data?: GetDictionaryCategoriesQueryResultItem[]; + } + + interface PagedListQueryResultGetDictionaryDatasQueryResultItem { + pageModel?: PagedListQueryResultPageModel; + /** 鏁版嵁 */ + data?: GetDictionaryDatasQueryResultItem[]; + } + + interface PagedListQueryResultGetEnterprisesQueryResultItem { + pageModel?: PagedListQueryResultPageModel; + /** 鏁版嵁 */ + data?: GetEnterprisesQueryResultItem[]; + } + + interface PagedListQueryResultGetOperationUserInfosQueryResultItem { + pageModel?: PagedListQueryResultPageModel; + /** 鏁版嵁 */ + data?: GetOperationUserInfosQueryResultItem[]; + } + + interface PagedListQueryResultGetRolesQueryResultItem { + pageModel?: PagedListQueryResultPageModel; + /** 鏁版嵁 */ + data?: GetRolesQueryResultItem[]; } interface PagedListQueryResultPageModel { @@ -401,11 +1409,100 @@ clientType?: EnumClientType; } - interface PasswordLoginCommandCallback { - /** 鐢ㄦ埛璁块棶浠ょ墝 */ - accessToken?: string; - /** 鍒锋柊浠ょ墝 */ - refreshToken?: string; + interface SaveDictionaryCategoryCommand { + /** Id */ + id?: string; + /** 缂栧彿 */ + code: string; + /** 鍚嶇О */ + name: string; + /** 瀛楁鍚嶏紙閫楀彿闅斿紑锛� */ + fieldNames?: string; + /** 鎺掑簭 */ + sort?: number; + } + + interface SaveDictionaryDataCommand { + /** Id */ + id?: string; + /** 绫诲埆Id锛圛d/缂栧彿浜岄�変竴锛� */ + categoryId?: string; + /** 绫诲埆缂栧彿锛圛d/缂栧彿浜岄�変竴锛� */ + categoryCode?: string; + /** 涓婄骇Id */ + parentId?: string; + /** 缂栧彿 */ + code: string; + /** 鏄剧ず鍐呭 */ + content: string; + /** 瀛楁1 */ + field1?: string; + /** 瀛楁2 */ + field2?: string; + /** 瀛楁3 */ + field3?: string; + /** 瀛楁4 */ + field4?: string; + /** 瀛楁5 */ + field5?: string; + /** 鎺掑簭 */ + sort?: number; + /** 鏄惁绂佺敤 */ + isDisabled?: boolean; + } + + interface SaveEnterpriseCommand { + /** Id */ + id?: string; + /** 浼佷笟鍏ㄧО */ + enterpriseName: string; + /** 缁熶竴绀句細淇$敤浠g爜 */ + societyCreditCode: string; + /** 娉曚汉濮撳悕 */ + legalPerson?: string; + /** 娉曚汉韬唤璇佸彿 */ + legalIdentity?: string; + /** 鎵�鍦ㄧ渷浠界紪鍙� */ + provinceCode?: string; + /** 鎵�鍦ㄥ煄甯傜紪鍙� */ + cityCode?: string; + /** 鎵�灞炶涓氱紪鍙� */ + industryTypeCode?: string; + /** 涓昏惀涓氬姟 */ + mainBusiness?: string; + /** 鑱旂郴浜� */ + contacts?: string; + /** 鑱旂郴鐢佃瘽 */ + contactPhoneNumber?: string; + /** 鑱旂郴閭 */ + contactEmail?: string; + /** 璐﹀彿 */ + userName?: string; + /** 瀵嗙爜 */ + password?: string; + } + + interface SaveMenuButtonCommand { + /** Id */ + id?: string; + /** 鑿滃崟Id */ + parentId?: string; + /** 缂栧彿 */ + code?: string; + /** 鍚嶇О */ + name?: string; + /** 鍒嗙粍鍚嶇О锛堢敤浜庢寜閽�/瀛楁锛� */ + group?: string; + /** 浣嶇疆锛堢敤浜庢寜閽級 */ + location?: string; + /** 鍥炬爣 */ + icon?: string; + /** 瀹藉害锛堢敤浜庢寜閽�/鍒�/鍏冪礌锛� */ + width?: string; + /** 鎺掑簭 */ + sort?: number; + /** 澶囨敞 */ + remark?: string; } interface SaveMenuCommand { @@ -484,4 +1581,195 @@ /** 瀛楁 */ fields?: SaveMenuCommandField[]; } + + interface SaveMenuFieldCommand { + /** Id */ + id?: string; + /** 鑿滃崟Id */ + parentId?: string; + /** 缂栧彿 */ + code?: string; + /** 鍚嶇О */ + name?: string; + /** 鍒嗙粍鍚嶇О锛堢敤浜庢寜閽�/瀛楁锛� */ + group?: string; + /** 浣嶇疆锛堢敤浜庢寜閽級 */ + location?: string; + /** 鍥炬爣 */ + icon?: string; + /** 瀹藉害锛堢敤浜庢寜閽�/鍒�/鍏冪礌锛� */ + width?: string; + /** 鎺掑簭 */ + sort?: number; + /** 澶囨敞 */ + remark?: string; + } + + interface SaveRoleCommand { + /** Id */ + id?: string; + /** 鍚嶇О */ + name?: string; + userType?: EnumUserType; + clientType?: EnumClientType; + /** 鏈�浣庣骇鍒� */ + minLevel?: number; + dataPower?: EnumRoleWebApiDataPower; + /** 澶囨敞 */ + remark?: string; + /** 鑿滃崟Id */ + menuIds?: string[]; + /** 璧勬簮 */ + resources?: GetRoleQueryResultResource[]; + } + + interface SaveTaskInfoCommand { + /** Id */ + id?: string; + /** 浠诲姟鍚嶇О */ + name: string; + billingMethod: EnumBillingMethod; + /** 鏈嶅姟璐� */ + serviceFee: number; + settlementCycle: EnumSettlementCycle; + /** 绂忓埄缂栧彿 */ + benefits?: string[]; + /** 骞撮緞鑼冨洿鏈�灏� */ + ageMinLimit: number; + /** 骞撮緞鑼冨洿澶� */ + ageMaxLimit: number; + genderLimit: EnumUserGender; + /** 璧勬牸璇佷功绫诲瀷缂栧彿 */ + credentialLimits?: string[]; + /** 浠诲姟鍦扮偣鎵�灞炵渷浠界紪鍙� */ + provinceCode: string; + /** 浠诲姟鍦扮偣鎵�灞炲煄甯傜紪鍙� */ + cityCode: string; + /** 浠诲姟鍦扮偣鍚嶇О */ + addressName: string; + /** 浠诲姟鍦扮偣璇︾粏鍦板潃 */ + addressDetail: string; + /** 缁忓害 */ + longitude?: number; + /** 绾害 */ + latitude?: number; + /** 浠诲姟寮�濮嬫椂闂� */ + beginTime: string; + /** 浠诲姟缁撴潫鏃堕棿 */ + endTime: string; + } + + interface SelectOptionGuidGetDictionaryCategorySelectQueryOption { + /** 鍊� */ + value?: string; + /** 鏍囩 */ + label?: string; + /** 鏁版嵁 */ + data?: any; + } + + interface SelectOptionStringGetDictionaryDataSelectQueryResultOption { + /** 鍊� */ + value?: string; + /** 鏍囩 */ + label?: string; + /** 鏁版嵁 */ + data?: any; + } + + interface SendLoginOrRegisterVerifyCodeCommand { + /** 鎵嬫満鍙风爜 */ + phoneNumber: string; + } + + interface SetDictionaryDataIsDisabledCommand { + ids?: string[]; + /** 鏄惁宸茬鐢� */ + isDisabled?: boolean; + } + + interface SetEnterpriseElectronSignSettingCommand { + /** Id */ + id?: string; + realAccess?: EnumRealAccess; + /** 瀹炲悕璐圭敤 */ + realVerifyCost?: number; + /** 绛剧害璐圭敤 */ + signCost?: number; + /** 涓�鍙d环 */ + mergeSignCost?: number; + } + + interface SetEnterpriseSmsSettingCommand { + /** Id */ + id?: string; + smsAccess?: EnumSmsAccess; + /** 鐭俊璐圭敤 */ + smsCost?: number; + } + + interface SetMenuSwitchCommand { + /** Id */ + ids?: string[]; + type?: EnumMenuType; + /** 鏄惁绂佺敤锛坣ull鏃朵笉鏇存柊锛� */ + isDisabled?: boolean; + /** 鏄惁缂撳瓨锛坣ull鏃朵笉鏇存柊锛� */ + isCache?: boolean; + } + + interface SetRoleIsDisabledCommand { + ids?: string[]; + /** 鏄惁宸茬鐢� */ + isDisabled?: boolean; + } + + interface SetRoleUserInfosCommand { + /** 瑙掕壊Id */ + roleId?: string; + /** 鐢ㄦ埛Id */ + userInfoIds?: string[]; + } + + interface SetTaskInfoRecommendStatusCommand { + /** Id */ + ids?: string[]; + recommendStatus?: EnumTaskRecommendStatus; + } + + interface SetTaskInfoReleaseStatusCommand { + /** Id */ + ids?: string[]; + releaseStatus?: EnumTaskReleaseStatus; + } + + interface SetUserInfoRolesCommand { + /** 鐢ㄦ埛Id */ + userInfoId?: string; + /** 瑙掕壊Id */ + roleIds?: string[]; + } + + interface SetUserInfoStatusCommand { + /** Id */ + ids?: string[]; + status?: EnumUserStatus; + } + + interface SmsLoginCommand { + /** 鎵嬫満鍙风爜 */ + phoneNumber?: string; + /** 楠岃瘉鐮� */ + verifyCode?: string; + type?: EnumUserType; + clientType?: EnumClientType; + } + + type SyncHumanResourcesAreaDictionaryDataCommand = Record<string, any>; + + interface WxmpLoginCommand { + /** 鐢ㄦ埛鐧诲綍鍑瘉 */ + code: string; + type?: EnumUserType; + } } -- Gitblit v1.9.1