From cc94b221f0c50c303fd24fdf909308ffa31c6777 Mon Sep 17 00:00:00 2001
From: zhengyiming <540361168@qq.com>
Date: 星期四, 07 八月 2025 09:42:38 +0800
Subject: [PATCH] fix: 修改功能模块
---
src/services/api/typings.d.ts | 584 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 582 insertions(+), 2 deletions(-)
diff --git a/src/services/api/typings.d.ts b/src/services/api/typings.d.ts
index 5773566..6dff9aa 100644
--- a/src/services/api/typings.d.ts
+++ b/src/services/api/typings.d.ts
@@ -8,9 +8,28 @@
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;
}
interface APIgetMenuParams {
@@ -48,12 +67,99 @@
id?: string;
}
+ interface APIgetRoleUserInfosParams {
+ /** 瑙掕壊Id */
+ roleId?: string;
+ }
+
+ interface APIgetUserInfoRolesParams {
+ /** 鐢ㄦ埛Id */
+ userInfoId?: string;
+ /** 瀹㈡埛绔被鍨� */
+ clientType?: EnumClientType;
+ }
+
+ interface DeleteDictionaryCategoryCommand {
+ ids: string[];
+ }
+
interface DeleteMenuCommand {
ids: string[];
}
interface DeleteRoleCommand {
ids: string[];
+ }
+
+ interface DictionaryCategory {
+ id?: string;
+ createdTime?: string;
+ updatedTime?: string;
+ /** 鎺掑簭 */
+ sort?: number;
+ /** 璺熻釜Id */
+ traceId?: string;
+ /** 鍒涘缓鎿嶄綔浜� */
+ createdUserInfoId?: string;
+ /** 鏈�鍚庢洿鏂版搷浣滀汉 */
+ updatedUserInfoId?: string;
+ /** 鏄惁鍒犻櫎 */
+ isDeleted?: boolean;
+ /** 缂栧彿 */
+ code: string;
+ /** 鍚嶇О */
+ name: string;
+ /** 瀛楁鍚嶏紙閫楀彿闅斿紑锛� */
+ fieldNames?: string;
+ /** 澶囨敞 */
+ remark?: string;
+ }
+
+ interface DictionaryData {
+ id?: string;
+ createdTime?: string;
+ updatedTime?: string;
+ /** 鎺掑簭 */
+ sort?: number;
+ /** 璺熻釜Id */
+ traceId?: string;
+ /** 鍒涘缓鎿嶄綔浜� */
+ createdUserInfoId?: string;
+ /** 鏈�鍚庢洿鏂版搷浣滀汉 */
+ updatedUserInfoId?: string;
+ /** 鏄惁鍒犻櫎 */
+ isDeleted?: boolean;
+ /** 绫诲埆Id */
+ categoryId?: string;
+ category?: DictionaryCategory;
+ /** 涓婄骇Id */
+ parentId?: string;
+ parent?: DictionaryData;
+ /** 涓嬬骇 */
+ children?: DictionaryData[];
+ /** 瀛楀吀璺緞 */
+ path?: string;
+ /** 缂栧彿 */
+ code?: string;
+ /** 鏄剧ず鍐呭 */
+ content: string;
+ /** 瀛楁1 */
+ field1?: string;
+ /** 瀛楁2 */
+ field2?: string;
+ /** 瀛楁3 */
+ field3?: string;
+ /** 瀛楁4 */
+ field4?: string;
+ /** 瀛楁5 */
+ field5?: string;
+ /** 鏄惁绂佺敤 */
+ isDisabled?: boolean;
+ }
+
+ interface DictionaryDataQueryResult {
+ /** 鍐呭 */
+ content?: string;
}
enum EnumClientType {
@@ -92,6 +198,13 @@
Desc = 1,
}
+ enum EnumRealAccess {
+ /**涓婁笂绛� */
+ BestSign = 10,
+ /**鏀粯瀹濅俊浠荤 */
+ AlipaySign = 20,
+ }
+
enum EnumResourceController {
/**鏁版嵁瀛楀吀 */
Dictionary = 0,
@@ -103,6 +216,10 @@
Resource = 3,
/**鐢ㄦ埛瑙掕壊 */
Role = 4,
+ /**鐢ㄦ埛淇℃伅 */
+ UserInfo = 5,
+ /**浼佷笟淇℃伅 */
+ Enterprise = 6,
}
enum EnumResourceMethod {
@@ -129,6 +246,18 @@
CurrentEnterprise = 30,
/**鏌ヨ鎵�鏈� */
All = 999,
+ }
+
+ enum EnumSmsAccess {
+ /**闃块噷浜戠煭淇� */
+ AliyunSms = 10,
+ }
+
+ enum EnumUserInfoStatus {
+ /**姝e父 */
+ Normal = 10,
+ /**绂佺敤 */
+ Disabled = 100,
}
enum EnumUserType {
@@ -289,6 +418,100 @@
timestamp?: number;
}
+ interface FriendlyResultListGetRoleUserInfosQueryResultItem {
+ /** 璺熻釜Id */
+ traceId?: string;
+ /** 鐘舵�佺爜 */
+ code?: number;
+ /** 閿欒鐮� */
+ errorCode?: string;
+ /** 鏁版嵁 */
+ data?: GetRoleUserInfosQueryResultItem[];
+ /** 鎵ц鎴愬姛 */
+ success?: boolean;
+ /** 閿欒淇℃伅 */
+ msg?: any;
+ /** 闄勫姞鏁版嵁 */
+ extras?: any;
+ /** 鏃堕棿鎴� */
+ timestamp?: number;
+ }
+
+ interface FriendlyResultListGetUserInfoRolesQueryResultItem {
+ /** 璺熻釜Id */
+ traceId?: string;
+ /** 鐘舵�佺爜 */
+ code?: number;
+ /** 閿欒鐮� */
+ errorCode?: string;
+ /** 鏁版嵁 */
+ data?: GetUserInfoRolesQueryResultItem[];
+ /** 鎵ц鎴愬姛 */
+ success?: boolean;
+ /** 閿欒淇℃伅 */
+ msg?: any;
+ /** 闄勫姞鏁版嵁 */
+ extras?: any;
+ /** 鏃堕棿鎴� */
+ timestamp?: number;
+ }
+
+ interface FriendlyResultListSelectQueryResultOptionGuidGetDictionaryCategorySelectQueryOption {
+ /** 璺熻釜Id */
+ traceId?: string;
+ /** 鐘舵�佺爜 */
+ code?: number;
+ /** 閿欒鐮� */
+ errorCode?: string;
+ /** 鏁版嵁 */
+ data?: SelectQueryResultOptionGuidGetDictionaryCategorySelectQueryOption[];
+ /** 鎵ц鎴愬姛 */
+ success?: boolean;
+ /** 閿欒淇℃伅 */
+ msg?: any;
+ /** 闄勫姞鏁版嵁 */
+ extras?: any;
+ /** 鏃堕棿鎴� */
+ timestamp?: number;
+ }
+
+ interface FriendlyResultListSelectQueryResultOptionGuidGetDictionaryDataSelectQueryResultOption {
+ /** 璺熻釜Id */
+ traceId?: string;
+ /** 鐘舵�佺爜 */
+ code?: number;
+ /** 閿欒鐮� */
+ errorCode?: string;
+ /** 鏁版嵁 */
+ data?: SelectQueryResultOptionGuidGetDictionaryDataSelectQueryResultOption[];
+ /** 鎵ц鎴愬姛 */
+ 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;
@@ -297,6 +520,42 @@
/** 閿欒鐮� */
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;
/** 閿欒淇℃伅 */
@@ -355,11 +614,107 @@
type GetCurrentLogierMenusQuery = Record<string, any>;
- interface GetDictionaryDatasQuery {
+ interface GetDictionaryCategoriesQuery {
pageModel?: PagedListQueryPageModel;
+ /** 鍏抽敭瀛� */
+ keywords?: string;
}
- type GetDictionaryDatasQueryResultItem = Record<string, any>;
+ 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;
+ /** 鍏抽敭瀛� */
+ keywords?: string;
+ }
+
+ interface GetDictionaryDatasQueryResultItem {
+ /** Id */
+ id?: string;
+ /** 绫诲埆Id */
+ categoryId?: string;
+ /** 绫诲埆缂栧彿 */
+ categoryCode?: string;
+ /** 绫诲埆鍚嶇О */
+ categoryName?: string;
+ category?: GetDictionaryDatasQueryResultItemCategory;
+ /** 涓婄骇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 GetDictionaryDatasQueryResultItemCategory {
+ /** 绫诲埆缂栧彿 */
+ code?: string;
+ /** 鍚嶇О */
+ name?: string;
+ }
+
+ interface GetEnterprisesQuery {
+ pageModel?: PagedListQueryPageModel;
+ /** 鍏抽敭瀛� */
+ keywords?: string;
+ /** 鏄惁宸查厤缃� */
+ isConfigured?: boolean;
+ }
+
+ interface GetEnterprisesQueryResultItem {
+ /** Id */
+ id?: string;
+ /** 鑱旂郴浜� */
+ contacts?: string;
+ /** 鑱旂郴鐢佃瘽 */
+ contactNumber?: string;
+ /** 鎵�鍦ㄧ渷浠絀d */
+ provinceId?: string;
+ province?: DictionaryDataQueryResult;
+ /** 鎵�鍦ㄥ煄甯侷d */
+ cityId?: string;
+ city?: DictionaryDataQueryResult;
+ /** 鎵�灞炶涓欼d */
+ industryTypeId?: string;
+ industryType?: DictionaryDataQueryResult;
+ /** 鏄惁宸叉牎楠岄摱琛岃处鎴� */
+ isCheckedBankCard?: boolean;
+ realAccess?: EnumRealAccess;
+ smsAccess?: EnumSmsAccess;
+ /** 鏄惁宸查厤缃� */
+ isConfigured?: boolean;
+ }
interface GetMenuQueryResult {
/** Id */
@@ -477,6 +832,37 @@
remark?: string;
}
+ interface GetOperationUserInfosQuery {
+ pageModel?: PagedListQueryPageModel;
+ /** 鍏抽敭瀛� */
+ keywords?: string;
+ }
+
+ interface GetOperationUserInfosQueryResultItem {
+ /** Id */
+ id?: string;
+ /** 濮撳悕 */
+ name?: string;
+ /** 鐢ㄦ埛鍚� */
+ userName?: string;
+ /** 鎵嬫満鍙� */
+ phoneNumber?: string;
+ /** 澶囨敞 */
+ remark?: string;
+ /** 瑙掕壊 */
+ roles?: GetOperationUserInfosQueryResultItemRole[];
+ status?: EnumUserInfoStatus;
+ }
+
+ interface GetOperationUserInfosQueryResultItemRole {
+ /** 鐢ㄦ埛Id */
+ userInfoId?: string;
+ /** 瑙掕壊Id */
+ id?: string;
+ /** 鍚嶇О */
+ name?: string;
+ }
+
interface GetResourceFieldsQueryResultItem {
/** 缂栧彿 */
code?: string;
@@ -537,6 +923,8 @@
pageModel?: PagedListQueryPageModel;
userType?: EnumUserType;
clientType?: EnumClientType;
+ /** 鍏抽敭瀛� */
+ keywords?: string;
}
interface GetRolesQueryResultItem {
@@ -551,6 +939,32 @@
dataPower?: EnumRoleWebApiDataPower;
/** 澶囨敞 */
remark?: string;
+ /** 鏄惁绂佺敤 */
+ isDisabled?: boolean;
+ /** 鐢ㄦ埛鏁伴噺 */
+ userCount?: number;
+ }
+
+ interface GetRoleUserInfosQueryResultItem {
+ /** 鐢ㄦ埛Id */
+ id?: string;
+ /** 濮撳悕 */
+ name?: string;
+ /** 鐢ㄦ埛鍚� */
+ userName?: string;
+ /** 鏄惁閫変腑 */
+ isChecked?: boolean;
+ }
+
+ interface GetUserInfoRolesQueryResultItem {
+ /** 瑙掕壊Id */
+ id?: string;
+ /** 鍚嶇О */
+ name?: string;
+ /** 澶囨敞 */
+ remark?: string;
+ /** 鏄惁閫変腑 */
+ isChecked?: boolean;
}
interface PagedListQueryPageModel {
@@ -568,10 +982,28 @@
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 {
@@ -607,6 +1039,84 @@
accessToken?: string;
/** 鍒锋柊浠ょ墝 */
refreshToken?: string;
+ }
+
+ interface SaveDictionaryCategoryCommand {
+ /** Id */
+ id?: string;
+ /** 缂栧彿 */
+ code: string;
+ /** 鍚嶇О */
+ name: string;
+ /** 瀛楁鍚嶏紙閫楀彿闅斿紑锛� */
+ fieldNames?: string;
+ /** 鎺掑簭 */
+ sort?: number;
+ }
+
+ interface SaveDictionaryDataCommand {
+ /** Id */
+ id?: string;
+ /** 绫诲埆Id */
+ categoryId?: 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;
+ enterpriseAuth: SaveEnterpriseCommandAuth;
+ /** 鎵�鍦ㄧ渷浠絀d */
+ provinceId?: string;
+ province?: DictionaryData;
+ /** 鎵�鍦ㄥ煄甯侷d */
+ cityId?: string;
+ city?: DictionaryData;
+ /** 鎵�灞炶涓欼d */
+ industryTypeId?: string;
+ industryType?: DictionaryData;
+ /** 涓昏惀涓氬姟 */
+ mainBusiness?: string;
+ /** 鑱旂郴浜� */
+ contacts?: string;
+ /** 鑱旂郴鐢佃瘽 */
+ contactPhoneNumber?: string;
+ /** 鑱旂郴閭 */
+ contactEmail?: string;
+ /** 璐﹀彿 */
+ userName?: string;
+ /** 瀵嗙爜 */
+ password?: string;
+ }
+
+ interface SaveEnterpriseCommandAuth {
+ /** 浼佷笟鍏ㄧО */
+ enterpriseName: string;
+ /** 缁熶竴绀句細淇$敤浠g爜 */
+ societyCreditCode: string;
+ /** 娉曚汉濮撳悕 */
+ legalPerson?: string;
+ /** 娉曚汉韬唤璇佸彿 */
+ legalIdentity?: string;
}
interface SaveMenuButtonCommand {
@@ -750,6 +1260,50 @@
resources?: GetRoleQueryResultResource[];
}
+ interface SelectQueryResultOptionGuidGetDictionaryCategorySelectQueryOption {
+ /** 鍊� */
+ value?: string;
+ /** 鏍囩 */
+ label?: string;
+ /** 鏁版嵁 */
+ data?: any;
+ }
+
+ interface SelectQueryResultOptionGuidGetDictionaryDataSelectQueryResultOption {
+ /** 鍊� */
+ value?: string;
+ /** 鏍囩 */
+ label?: string;
+ /** 鏁版嵁 */
+ data?: any;
+ }
+
+ 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[];
@@ -759,4 +1313,30 @@
/** 鏄惁缂撳瓨锛坣ull鏃朵笉鏇存柊锛� */
isCache?: boolean;
}
+
+ interface SetRoleIsDisabledCommand {
+ ids?: string[];
+ /** 鏄惁宸茬鐢� */
+ isDisabled?: boolean;
+ }
+
+ interface SetRoleUserInfosCommand {
+ /** 瑙掕壊Id */
+ roleId?: string;
+ /** 鐢ㄦ埛Id */
+ userInfoIds?: string[];
+ }
+
+ interface SetUserInfoRolesCommand {
+ /** 鐢ㄦ埛Id */
+ userInfoId?: string;
+ /** 瑙掕壊Id */
+ roleIds?: string[];
+ }
+
+ interface SetUserInfoStatusCommand {
+ /** Id */
+ ids?: string[];
+ status?: EnumUserInfoStatus;
+ }
}
--
Gitblit v1.9.1