From 92ca6bd9fa4d1dd0cb04834c238aa0f5e9c28385 Mon Sep 17 00:00:00 2001 From: zhengyiming <540361168@qq.com> Date: 星期一, 07 七月 2025 16:46:45 +0800 Subject: [PATCH] fix: 江佑保系统健壮性修复 --- src/services/api/typings.d.ts | 242 +++++++++++++++++++++++++++++++++++++++++++---- 1 files changed, 219 insertions(+), 23 deletions(-) diff --git a/src/services/api/typings.d.ts b/src/services/api/typings.d.ts index 50d3d46..145b5c3 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; } @@ -186,6 +190,10 @@ interface APIdetailParams { id?: string; + } + + interface APIdownloadPolicyFileIdParams { + id: string; } interface APIexportInsuranceBatchStaffParams { @@ -270,16 +278,20 @@ id?: string; } - interface APIgetInsurancePolicyStampFilesParams { + interface APIgetInsurancePolicyPayParams { id?: string; } - interface APIgetInsuranceStaffListExportParams { + interface APIgetInsurancePolicyStampFilesParams { id?: string; } interface APIgetInsureBatchDetailParams { batchBillId?: string; + } + + interface APIgetInvoiceIdParams { + id: string; } interface APIgetListParams { @@ -355,10 +367,8 @@ id?: string; } - interface APIimportInsStaffToListParams { - url?: string; - serialNum?: string; - productIdNumber?: string; + interface APIinsurancePolicyAuditAgainParams { + id?: string; } interface APIsearchParams { @@ -376,10 +386,6 @@ interface APIsetForUserParams { userId?: string; permissionName?: string; - } - - interface APIsuccessParams { - input?: string; } interface APIupdateDefaultConnectionStringParams { @@ -581,19 +587,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 { @@ -687,6 +712,11 @@ configuration?: Record<string, any>; } + interface ExportInsuranceStaffListInput { + status?: InsuranceDetailStatusEnum; + insurancePolicyId?: string; + } + interface ExtensionEnumDto { fields?: ExtensionEnumFieldDto[]; localizationResource?: string; @@ -774,6 +804,12 @@ interface FeatureProviderDto { name?: string; key?: string; + } + + interface FillInsStaffToListFrontInput { + /** 淇濆崟Id */ + insurancePolicyId?: string; + url?: string; } type FinanceTypeEnum = 10 | 20; @@ -905,6 +941,13 @@ auditRemark?: string; /** 淇濋櫓浜у搧IdNumber */ productIdNumber?: string; + /** 鏂规浠g爜 */ + productSchemeCode?: string; + /** 鏄惁璧扮嚎涓婃祦绋� */ + productOnline?: boolean; + payStatus?: InsurancePolicyListPayStatusEnum; + /** 浠绘剰鍒嗘壒鏀粯瀹屾垚 */ + anyPayComplete?: boolean; } interface GetInsurancePageOutputPageOutput { @@ -928,6 +971,10 @@ certType?: string; certNo?: string; jobName?: string; + /** 鑱屼笟绫诲瀷 */ + occupationType?: string; + /** 鑱屼笟鐮佸�� */ + occupationCode?: string; userEmploer?: string; address?: string; age?: number; @@ -935,12 +982,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 { @@ -1258,6 +1316,10 @@ useEmploer?: string; /** 闆囧憳宸ョ */ jobName?: string; + /** 鑱屼笟绫诲瀷 */ + occupationType?: string; + /** 鑱屼笟鐮佸�� */ + occupationCode?: string; /** 鐢ㄥ伐鍦扮偣 */ address?: string; phone?: string; @@ -1265,6 +1327,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; @@ -1393,6 +1475,8 @@ count?: number; } + type InsuranceDetailStatusEnum = 10 | 12 | 13 | 14 | 20 | 30; + interface InsuranceOrderListOutput { id?: string; /** 娓犻亾 */ @@ -1485,9 +1569,57 @@ auditStatus?: InsurancePolicyAuditStatusEnum; /** 瀹℃牳澶囨敞 */ auditRemark?: string; + /** 杩斿洖鍦板潃 */ + returnUrl?: string; } - type InsurancePolicyAuditStatusEnum = 10 | 20 | -10; + interface InsurancePolicyAuditOutput { + /** 娑堟伅 */ + messages?: string[]; + /** 鎬绘姇淇濅汉鏁� */ + totalCount?: number; + /** 鎶曚繚鎴愬姛 */ + successCount?: number; + /** 鎶曚繚澶辫触 */ + failCount?: number; + } + + type InsurancePolicyAuditStatusEnum = 10 | 11 | 12 | 15 | 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 = 0 | 1 | 2 | -1; type InsurancePolicyStatusEnum = 10 | 20 | 30; @@ -1582,21 +1714,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 { @@ -1617,6 +1774,8 @@ name?: string; properties?: Record<string, any>; } + + type JToken = JToken[]; interface KeyInput { id?: string; @@ -2038,6 +2197,8 @@ email?: string; /** 鎵嬫満鍙凤紙鍙�夛級 */ mobile?: string; + /** 鑱屼笟绫诲瀷 */ + occupationType?: string; /** 鑱屼笟浠g爜锛堝彲閫夛級 */ occupationCode?: string; /** 楣婃ˉ涓撶敤鍥犲瓙锛堝彲閫夛級 @@ -2078,6 +2239,25 @@ interface ProposalInputSign { /** 绛惧悕 */ signature?: string; + } + + interface ProposalOutput { + /** 绛惧悕锛堝繀闇�锛� */ + signature?: string; + response?: ProposalResponse; + } + + interface ProposalResponse { + /** 鐘舵�佺爜锛堝繀闇�锛� +200涓烘垚鍔�,鍏朵粬涓哄紓甯� +鏋氫妇鍊�: -1,200,400,404,408,9999,10021-10042,40001,50001-50022,60001-60002,70000-70012,80002-80003,81001-81101,82001,84001,85001-85004,86001-86002,87001-87003,88001,90001,91001-91002,92001,93001,94001,100010-100012,200001,800001-800009 +榛樿鍊�: 200 */ + code?: number; + /** 鐘舵�佹秷鎭紙鍙�夛級 */ + message?: string; + /** 鏃堕棿鎴筹紙蹇呴渶锛� */ + timestamp?: number; + data?: ProposalResponseData; } interface ProposalResponseData { @@ -2184,6 +2364,22 @@ password?: string; } + interface RestorePolicyDto { + /** 璁㈠崟鍙� */ + channelOrderNo?: string; + /** 淇濆崟鍙� */ + policyNo?: string; + /** 鐢靛瓙淇濆崟閾炬帴 */ + policyOssUrl?: string; + } + + interface RestorePolicyInput { + /** 淇濆崟Id */ + insurancePolicyId?: string; + /** 鎶曚繚鎵规 */ + items?: RestorePolicyDto[]; + } + interface ReturnValueApiDescriptionModel { type?: string; typeSimple?: string; -- Gitblit v1.9.1