From 0e17f64206e28be39b0ee9db9ec659d7fe00fdbb Mon Sep 17 00:00:00 2001 From: zhengyiming <540361168@qq.com> Date: 星期四, 03 七月 2025 18:21:36 +0800 Subject: [PATCH] fix: 江佑保系统健壮性修复 --- src/services/api/typings.d.ts | 171 +++++++++++++++++++++++++++++++++++++++++++++++++++------ 1 files changed, 153 insertions(+), 18 deletions(-) diff --git a/src/services/api/typings.d.ts b/src/services/api/typings.d.ts index 0507e56..c168d1b 100644 --- a/src/services/api/typings.d.ts +++ b/src/services/api/typings.d.ts @@ -152,6 +152,10 @@ id?: string; } + interface APIdeleteInsureProductSchemeParams { + id?: string; + } + interface APIdeleteInsureProductSettingParams { id?: string; } @@ -270,6 +274,10 @@ id?: string; } + interface APIgetInsurancePolicyPayParams { + id?: string; + } + interface APIgetInsurancePolicyStampFilesParams { id?: string; } @@ -280,6 +288,10 @@ interface APIgetInsureBatchDetailParams { batchBillId?: string; + } + + interface APIgetInvoiceIdParams { + id: string; } interface APIgetListParams { @@ -353,12 +365,6 @@ interface APIimportInsDetailStaffToListParams { url?: string; id?: string; - } - - interface APIimportInsStaffToListParams { - url?: string; - serialNum?: string; - productIdNumber?: string; } interface APIsearchParams { @@ -577,19 +583,38 @@ enterpriseName?: string; } + interface CreateOrUpdateInsureProductSchemeInput { + /** Id */ + id?: string; + /** 淇濋櫓浜у搧Id */ + insureProductId: string; + /** 鏂规Id */ + idNumber: string; + /** 鏂规浠g爜 */ + code?: string; + /** 鏂规鍚嶇О */ + name: string; + /** 鎶曚繚鏂瑰紡 */ + period: string; + /** 淇濋 */ + insured: number; + /** 淇濊垂 */ + signPremium: number; + } + interface CreateOrUpdateInsureProductSettingInput { id?: string; - /** 鐢ㄦ埛ID */ - userId?: string; /** 浜у搧ID */ productIdNumber: string; + /** 鍟嗗搧浠g爜 */ + productCode?: string; /** 鍙備繚鏈烘瀯 */ insuranceOrg: string; - /** 鎶曚繚鏂规 */ - insuranceScheme: string; - /** 鎶曚繚鏂瑰紡 */ - insurancePeriod: string; + /** 浜у搧鍚嶇О */ + productName: string; status?: InsureProductSettingStatusEnum; + /** 鎶曚繚浜烘暟涓婇檺 */ + maxCount: number; } interface CreateOrUpdateRoleInput { @@ -901,6 +926,11 @@ auditRemark?: string; /** 淇濋櫓浜у搧IdNumber */ productIdNumber?: string; + /** 鏄惁璧扮嚎涓婃祦绋� */ + productOnline?: boolean; + payStatus?: InsurancePolicyListPayStatusEnum; + /** 浠绘剰鍒嗘壒鏀粯瀹屾垚 */ + anyPayComplete?: boolean; } interface GetInsurancePageOutputPageOutput { @@ -924,6 +954,10 @@ certType?: string; certNo?: string; jobName?: string; + /** 鑱屼笟绫诲瀷 */ + occupationType?: string; + /** 鑱屼笟鐮佸�� */ + occupationCode?: string; userEmploer?: string; address?: string; age?: number; @@ -931,12 +965,23 @@ phone?: string; claimCount?: number; creationTime?: string; + /** 鎶曚繚鎵规鍙� */ + payOrder?: string; + status?: InsuranceDetailStatusEnum; + /** 澶囨敞 */ + auditRemark?: string; } interface GetInsuranceStaffPageTemplatePageOutput { pageModel?: Pagination; objectData?: any; data?: GetInsuranceStaffPageTemplate[]; + } + + interface GetInsureProductSchemePageInput { + pageModel?: Pagination; + /** 淇濋櫓浜у搧Id */ + insureProductId?: string; } interface GetInsureProductSettingPageInput { @@ -1254,6 +1299,10 @@ useEmploer?: string; /** 闆囧憳宸ョ */ jobName?: string; + /** 鑱屼笟绫诲瀷 */ + occupationType?: string; + /** 鑱屼笟鐮佸�� */ + occupationCode?: string; /** 鐢ㄥ伐鍦扮偣 */ address?: string; phone?: string; @@ -1261,6 +1310,26 @@ note?: string; /** 1姝e父 0寮傚父 */ isNormal?: boolean; + } + + interface ImportInsStaffToListFrontInput { + serialNum?: string; + url?: string; + /** 淇濋櫓浜у搧IdNumber */ + productIdNumber?: string; + /** 淇濋櫓浜у搧鏂规Id */ + productSchemeIdNumber?: string; + /** 淇濆崟鐢熸晥鏃堕棿 */ + effectStartTime?: string; + } + + interface ImportInsStaffToListOutput { + /** 鎬讳汉鏁� */ + importAllCount?: number; + /** 宸插鍏ヤ汉鏁� */ + successCount?: number; + /** 瀵煎叆澶辫触鍒楄〃 */ + errorList?: ImportInsStaffAnalysisList[]; } type InsuranceClaimAttachmentBusinessTypeEnum = 10 | 20 | 30 | 40 | 50; @@ -1389,6 +1458,8 @@ count?: number; } + type InsuranceDetailStatusEnum = 10 | 12 | 14 | 20 | 30; + interface InsuranceOrderListOutput { id?: string; /** 娓犻亾 */ @@ -1481,9 +1552,46 @@ auditStatus?: InsurancePolicyAuditStatusEnum; /** 瀹℃牳澶囨敞 */ auditRemark?: string; + /** 杩斿洖鍦板潃 */ + returnUrl?: string; } type InsurancePolicyAuditStatusEnum = 10 | 20 | -10; + + type InsurancePolicyListPayStatusEnum = 1 | 2; + + interface InsurancePolicyPayDto { + id?: string; + /** 璁㈠崟鍙� */ + channelOrderNo?: string; + /** 鎶曚繚鍗曞彿 */ + proposalNo?: string; + /** 鏀粯鐭摼 */ + payUrl?: string; + /** 鏀粯娴佹按鍙� */ + payRegistrationNo?: string; + /** 淇濊垂閲戦 */ + sumSignPremium?: number; + status?: InsurancePolicyPayStatusEnum; + /** 淇濆崟鍙� */ + policyNo?: string; + /** 鐢靛瓙淇濆崟閾炬帴 */ + policyUrl?: string; + /** 鐢靛瓙淇濆崟閾炬帴 */ + policyOssUrl?: string; + /** 瀹屾垚鏃堕棿 */ + completionTime?: string; + /** 鍙戠エ鍙风爜 */ + invoiceSerialNo?: string; + /** 鍙戠エ浠风◣鍚堣 */ + invoicePlanFee?: number; + /** 鍙戠エ涓嬭浇鍦板潃 */ + invoiceDownloadUrl?: string; + /** 鍙戠エ涓嬭浇鍦板潃 */ + invoiceDownloadOssUrl?: string; + } + + type InsurancePolicyPayStatusEnum = 1 | 2 | -1; type InsurancePolicyStatusEnum = 10 | 20 | 30; @@ -1578,21 +1686,46 @@ enterpriseName?: string; } + interface InsureProductSchemeDto { + /** Id */ + id?: string; + /** 淇濋櫓浜у搧Id */ + insureProductId?: string; + /** 鏂规Id */ + idNumber?: string; + /** 鏂规浠g爜 */ + code?: string; + /** 鏂规鍚嶇О */ + name?: string; + /** 鎶曚繚鏂瑰紡 */ + period?: string; + /** 淇濋 */ + insured?: number; + /** 淇濊垂 */ + signPremium?: number; + } + + interface InsureProductSchemeDtoPageOutput { + pageModel?: Pagination; + objectData?: any; + data?: InsureProductSchemeDto[]; + } + interface InsureProductSettingDto { id?: string; - /** 鐢ㄦ埛ID */ - userId?: string; /** 浜у搧ID */ productIdNumber?: string; + /** 鍟嗗搧浠g爜 */ + productCode?: string; /** 鍙備繚鏈烘瀯 */ insuranceOrg?: string; - /** 鎶曚繚鏂规 */ - insuranceScheme?: string; - /** 鎶曚繚鏂瑰紡 */ - insurancePeriod?: string; + /** 浜у搧鍚嶇О */ + productName?: string; status?: InsureProductSettingStatusEnum; /** 鍒涘缓鏃堕棿 */ creationTime?: string; + /** 鎶曚繚浜烘暟涓婇檺 */ + maxCount?: number; } interface InsureProductSettingDtoPageOutput { @@ -1614,6 +1747,8 @@ properties?: Record<string, any>; } + type JToken = JToken[]; + interface KeyInput { id?: string; } -- Gitblit v1.9.1