From 5ceeed41b099bd638075c6fa284241d545037573 Mon Sep 17 00:00:00 2001 From: wupengfei <834520024@qq.com> Date: 星期四, 07 八月 2025 09:41:24 +0800 Subject: [PATCH] feat: 企业 --- src/services/api/typings.d.ts | 204 ++++++++++++++++++++++++++++++++++++++++++++++++-- 1 files changed, 195 insertions(+), 9 deletions(-) diff --git a/src/services/api/typings.d.ts b/src/services/api/typings.d.ts index 960421a..fb57219 100644 --- a/src/services/api/typings.d.ts +++ b/src/services/api/typings.d.ts @@ -8,6 +8,11 @@ request?: GetAliyunOSSAcsQuery; } + interface APIgetCurrentLogierMenuParams { + /** Id */ + id?: string; + } + interface APIgetCurrentLogierMenusParams { /** 鑾峰彇褰撳墠鐧诲綍鐢ㄦ埛鑿滃崟 */ request?: GetCurrentLogierMenusQuery; @@ -25,6 +30,21 @@ categoryCode?: string; /** 涓婄骇Id */ parentId?: string; + } + + interface APIgetEnterpriseElectronSignSettingParams { + /** Id */ + id?: string; + } + + interface APIgetEnterpriseParams { + /** Id */ + id?: string; + } + + interface APIgetEnterpriseSmsSettingParams { + /** Id */ + id?: string; } interface APIgetMenuParams { @@ -122,6 +142,13 @@ Desc = 1, } + enum EnumRealAccess { + /**涓婁笂绛� */ + BestSign = 10, + /**鏀粯瀹濅俊浠荤 */ + AlipaySign = 20, + } + enum EnumResourceController { /**鏁版嵁瀛楀吀 */ Dictionary = 0, @@ -165,6 +192,11 @@ All = 999, } + enum EnumSmsAccess { + /**闃块噷浜戠煭淇� */ + AliyunSms = 10, + } + enum EnumUserInfoStatus { /**姝e父 */ Normal = 10, @@ -189,6 +221,60 @@ /** 閿欒鐮� */ 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; /** 閿欒淇℃伅 */ @@ -566,7 +652,6 @@ categoryCode?: string; /** 绫诲埆鍚嶇О */ categoryName?: string; - category?: GetDictionaryDatasQueryResultItemCategory; /** 涓婄骇Id */ parentId?: string; /** 缂栧彿 */ @@ -589,11 +674,53 @@ isDisabled?: boolean; } - interface GetDictionaryDatasQueryResultItemCategory { - /** 绫诲埆缂栧彿 */ - code?: string; - /** 鍚嶇О */ - name?: string; + 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; + /** 鎵�鍦ㄧ渷浠� */ + provinceContent?: string; + /** 鎵�鍦ㄥ煄甯� */ + cityContent?: string; + /** 鎵�灞炶涓� */ + industryTypeContent?: string; + /** 涓昏惀涓氬姟 */ + mainBusiness?: string; + /** 鑱旂郴浜� */ + contacts?: string; + /** 鑱旂郴鐢佃瘽 */ + contactPhoneNumber?: string; + /** 鑱旂郴閭 */ + contactEmail?: string; + /** 璐﹀彿 */ + userName?: string; + } + + interface GetEnterpriseSmsSettingQueryResult { + /** Id */ + id?: string; + smsAccess?: EnumSmsAccess; + /** 鐭俊璐圭敤 */ + smsCost?: number; } interface GetEnterprisesQuery { @@ -613,10 +740,20 @@ legalPerson?: string; /** 缁熶竴绀句細淇$敤浠g爜 */ societyCreditCode?: string; + /** 鏄惁瀹炲悕 */ + isReal?: boolean; /** 鑱旂郴浜� */ contacts?: string; /** 鑱旂郴鐢佃瘽 */ - contactNumber?: string; + contactPhoneNumber?: string; + /** 鎵�鍦ㄧ渷浠� */ + provinceContent?: string; + /** 鎵�鍦ㄥ煄甯� */ + cityContent?: string; + /** 鎵�灞炶涓� */ + industryTypeContent?: string; + /** 鏄惁宸查厤缃� */ + isConfigured?: boolean; } interface GetMenuQueryResult { @@ -758,8 +895,6 @@ } interface GetOperationUserInfosQueryResultItemRole { - /** 鐢ㄦ埛Id */ - userInfoId?: string; /** 瑙掕壊Id */ id?: string; /** 鍚嶇О */ @@ -984,6 +1119,37 @@ isDisabled?: boolean; } + interface SaveEnterpriseCommand { + /** Id */ + id?: string; + /** 浼佷笟鍏ㄧО */ + enterpriseName: string; + /** 缁熶竴绀句細淇$敤浠g爜 */ + societyCreditCode: string; + /** 娉曚汉濮撳悕 */ + legalPerson?: string; + /** 娉曚汉韬唤璇佸彿 */ + legalIdentity?: string; + /** 鎵�鍦ㄧ渷浠絀d */ + provinceId?: string; + /** 鎵�鍦ㄥ煄甯侷d */ + cityId?: string; + /** 鎵�灞炶涓欼d */ + industryTypeId?: string; + /** 涓昏惀涓氬姟 */ + mainBusiness?: string; + /** 鑱旂郴浜� */ + contacts?: string; + /** 鑱旂郴鐢佃瘽 */ + contactPhoneNumber?: string; + /** 鑱旂郴閭 */ + contactEmail?: string; + /** 璐﹀彿 */ + userName?: string; + /** 瀵嗙爜 */ + password?: string; + } + interface SaveMenuButtonCommand { /** Id */ id?: string; @@ -1149,6 +1315,26 @@ 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[]; -- Gitblit v1.9.1