From 8f2468dc2a974040556fd0f49afb87df39401ff4 Mon Sep 17 00:00:00 2001 From: zhengyiming <540361168@qq.com> Date: 星期三, 06 八月 2025 17:10:12 +0800 Subject: [PATCH] fix: 字典 --- src/services/api/typings.d.ts | 167 +++++++++++++++++++++++++++++++++++++++++++++++++++++-- 1 files changed, 161 insertions(+), 6 deletions(-) diff --git a/src/services/api/typings.d.ts b/src/services/api/typings.d.ts index 960421a..6dff9aa 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; @@ -86,6 +91,77 @@ 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 { /**鐢佃剳缃戦〉 */ PcWeb = 10, @@ -120,6 +196,13 @@ Asc = 0, /**闄嶅簭 */ Desc = 1, + } + + enum EnumRealAccess { + /**涓婁笂绛� */ + BestSign = 10, + /**鏀粯瀹濅俊浠荤 */ + AlipaySign = 20, } enum EnumResourceController { @@ -163,6 +246,11 @@ CurrentEnterprise = 30, /**鏌ヨ鎵�鏈� */ All = 999, + } + + enum EnumSmsAccess { + /**闃块噷浜戠煭淇� */ + AliyunSms = 10, } enum EnumUserInfoStatus { @@ -607,16 +695,25 @@ interface GetEnterprisesQueryResultItem { /** Id */ id?: string; - /** 浼佷笟鍏ㄧО */ - enterpriseName?: string; - /** 娉曚汉濮撳悕 */ - legalPerson?: string; - /** 缁熶竴绀句細淇$敤浠g爜 */ - societyCreditCode?: 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 { @@ -984,6 +1081,44 @@ 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 { /** Id */ id?: string; @@ -1149,6 +1284,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