From acaec313ab0e3c9381060e36bf3ce4abc606dc9a Mon Sep 17 00:00:00 2001 From: wupengfei <834520024@qq.com> Date: 星期五, 28 三月 2025 14:07:11 +0800 Subject: [PATCH] feat: 接口对接 --- src/services/api/typings.d.ts | 473 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 473 insertions(+), 0 deletions(-) diff --git a/src/services/api/typings.d.ts b/src/services/api/typings.d.ts index 1f45a49..8166216 100644 --- a/src/services/api/typings.d.ts +++ b/src/services/api/typings.d.ts @@ -128,6 +128,14 @@ includeTypes?: boolean; } + interface APIcheckInrancesSerialNumStatusParams { + serialNum?: string; + } + + interface APIclearInsuranceStaffDataParams { + id?: string; + } + interface APIcreateParams { systemEmail: string; systemPassword: string; @@ -174,6 +182,10 @@ id?: string; } + interface APIexportInsuranceBatchStaffParams { + batchBillId?: string; + } + interface APIfindByEmailParams { email?: string; } @@ -202,6 +214,10 @@ interface APIgetAllSubModuleParams { moduleId?: string; + } + + interface APIgetBatchDetailForCheckParams { + batchBillId?: string; } interface APIgetCountParams { @@ -238,6 +254,22 @@ interface APIgetInsuranceOrderMaterialListParams { id?: string; + } + + interface APIgetInsurancePolicyHeadDtoParams { + id?: string; + } + + interface APIgetInsurancePolicyStampFilesParams { + id?: string; + } + + interface APIgetInsuranceStaffListExportParams { + id?: string; + } + + interface APIgetInsureBatchDetailParams { + batchBillId?: string; } interface APIgetListParams { @@ -306,6 +338,16 @@ interface APIgetVersionSubModuleParams { versionId?: string; + } + + interface APIimportInsDetailStaffToListParams { + url?: string; + id?: string; + } + + interface APIimportInsStaffToListParams { + url?: string; + serialNum?: string; } interface APIsearchParams { @@ -412,6 +454,30 @@ objectId?: string; } + type BatchBillCheckStatus = 1 | 2 | 10 | 15 | 20 | 30 | -40 | -30 | -20 | -11 | -10 | -1; + + type BatchChangeTypeEnum = 10 | 20 | 30 | 40; + + interface BatchDetailForCheckDto { + /** 鎵瑰崟Id */ + insureBatchBillId?: string; + /** 瀹℃牳鐞嗙敱 */ + auditNote?: string; + /** 鎵瑰崟缂栧彿 */ + batchBillNo?: string; + checkStatus?: BatchBillCheckStatus; + /** 鐢熸晥鏃堕棿 */ + effectTime?: string; + /** 闄勪欢涓婁紶 */ + attachmentUrl?: string; + /** 淇濆崟鍙� */ + insureBillNo?: string; + /** 鎶曚繚浜� */ + enterpriseName?: string; + /** 鎵规敼浜哄憳璇︽儏 */ + staffList?: InsureBatchBillDetailDto[]; + } + interface ChangePasswordInput { currentPassword?: string; newPassword: string; @@ -423,6 +489,20 @@ id2?: string; sortCode2?: number; type?: number; + } + + interface CheckImportBatchAddOrSubOrderDataOutput { + /** 閿欒鏁版嵁鍒楄〃 */ + error?: ImportBatchAddOrSubOrderDataInput[]; + /** 鏂板鏁版嵁鍒楄〃 */ + addOrSub?: ImportBatchAddOrSubOrderDataInput[]; + } + + interface CheckImportBatchUpdateOrderDataOutput { + /** 閿欒鏁版嵁鍒楄〃 */ + error?: ImportBatchUpdateOrderDataInput[]; + /** 鏇挎崲鏁版嵁鍒楄〃 */ + update?: ImportBatchUpdateOrderDataInput[]; } interface CheckLoginVerificationCodeInput { @@ -470,6 +550,12 @@ sendBillExpireMessage?: boolean; /** 鏄惁鐭俊鎻愰啋 */ isSendMessage?: boolean; + /** 鏄惁浜哄憳鍙樻洿鎻愰啋 */ + staffChangeMessage?: boolean; + /** 鏄惁鎵规敼鎻愰啋 */ + batchUpdateMessage?: boolean; + /** 浼佷笟鍚嶇О */ + enterpriseName?: string; } interface CreateOrUpdateRoleInput { @@ -636,8 +722,123 @@ key?: string; } + interface GetEffectingStaffListInput { + claimDateTime?: string; + idNumber?: string; + } + interface GetFeatureListResultDto { groups?: FeatureGroupDto[]; + } + + interface GetInsuranceBatchBillForCheckInput { + pageModel?: Pagination; + /** 鐢宠鏃ユ湡寮�濮� */ + creationTimeBegin?: string; + /** 鐢宠鏃ユ湡缁撴潫 */ + creationTimeEnd?: string; + /** 鎵瑰崟鍙� */ + batchBillNo?: string; + checkStatus?: BatchBillCheckStatus; + } + + interface GetInsuranceBatchBillInput { + pageModel?: Pagination; + /** 淇濆崟Id */ + insurancePolicyId?: string; + } + + interface GetInsurancePageInput { + pageModel?: Pagination; + importStartDateTime?: string; + importEndDateTime?: string; + condition?: string; + insurancePeriod?: string; + status?: InsurancePolicyStatusEnum; + } + + interface GetInsurancePageOutput { + id?: string; + userId?: string; + /** 鎶曚繚浜� */ + insurerName?: string; + /** 琚繚闄╀汉 */ + policyerName?: string; + /** 鎵规鍙� */ + serialNum?: string; + status?: InsurancePolicyStatusEnum; + /** 浜哄憳娓呭崟鐘舵�� */ + listStatus?: string; + batchStatus?: number; + checkStatus?: BatchBillCheckStatus; + /** 淇濋 */ + sumInsured?: number; + /** 淇濊垂 */ + amount?: number; + /** 鎶曚繚浜烘暟 */ + insureCount?: number; + /** 鐞嗚禂鏁伴噺 */ + claimCount?: number; + /** 鎶曚繚鏈烘瀯 */ + insuranceOrg?: string; + /** 鎶曚繚鏂瑰紡 鏈堜繚:30D 骞翠繚: 360D */ + insurancePeriod?: string; + /** 鏂规鍚嶇О */ + insuranceScheme?: string; + /** 淇濆崟鏂囦欢 */ + insureBillUrl?: string; + /** 鏄惁宸蹭笂浼犵洊绔犳枃浠� */ + isUploadEffectFile?: boolean; + /** 鐩栫珷鏂囦欢 */ + effectBillUrl?: string; + /** 淇濋櫓鍗曞彿 */ + insureBillNo?: string; + /** 瀵煎叆鏂囦欢 */ + importFileUrl?: string; + lastImportTime?: string; + /** 淇濆崟鐢熸晥鏃堕棿 */ + effectStartTime?: string; + /** 淇濆崟澶辨晥鏃堕棿 */ + effectEndTime?: string; + emploerNames?: string[]; + creationTime?: string; + companyName?: string; + isClosedOutTime?: boolean; + } + + interface GetInsurancePageOutputPageOutput { + pageModel?: Pagination; + objectData?: any; + data?: GetInsurancePageOutput[]; + } + + interface GetInsuranceStaffListInput { + pageModel?: Pagination; + condition?: string; + insurancePolicyId?: string; + } + + interface GetInsuranceStaffPageTemplate { + id?: string; + policyId?: string; + serialNumber?: number; + name?: string; + gender?: string; + certType?: string; + certNo?: string; + jobName?: string; + userEmploer?: string; + address?: string; + age?: number; + birthDay?: string; + phone?: string; + creationTime?: string; + } + + interface GetInsuranceStaffPageTemplatePageOutput { + pageModel?: Pagination; + objectData?: any; + data?: GetInsuranceStaffPageTemplate[]; } interface GetPermissionListResultDto { @@ -785,6 +986,107 @@ interface IdentityUserUpdateRolesDto { roleNames: string[]; + } + + interface ImportBatchAddOrSubOrderDataInput { + /** 鎵规敼鏍囧織 */ + changeFlag: string; + /** 鏂规浠g爜 */ + insuranceScheme: string; + /** 濮撳悕 */ + name: string; + /** 璇佷欢绫诲瀷 */ + certType: string; + /** 璇佷欢鍙风爜 */ + idNumber: string; + /** 骞撮緞 */ + age?: number; + /** 鐢佃瘽鍙风爜 */ + phoneNumber?: string; + /** 鑱屼笟/宸ョ */ + workType: string; + /** 鎬у埆 */ + gender?: string; + /** 鍑虹敓鏃ユ湡 */ + birthDay?: string; + /** 澶囨敞 */ + remark?: string; + } + + interface ImportBatchAddOrSubOrderInput { + /** 瀵煎叆鍦板潃 */ + url?: string; + /** 鎶曚繚Id */ + insurePolicyId?: string; + } + + interface ImportBatchStaffListInput { + originIdNumber?: string; + /** 鐢佃瘽鍙风爜 */ + phoneNumber?: string; + id?: number; + name?: string; + age?: number; + gender?: string; + certType?: string; + idNumber?: string; + insuranceScheme?: string; + workType?: string; + birthDay?: string; + remark?: string; + } + + interface ImportBatchUpdateOrderDataInput { + /** 鍘熻淇濅汉濮撳悕 */ + orginName: string; + /** 鍘熻淇濅汉璇佷欢鍙风爜 */ + orginIdNumber: string; + /** 濮撳悕 */ + name: string; + /** 璇佷欢绫诲瀷 */ + certType: string; + /** 璇佷欢鍙风爜 */ + idNumber: string; + /** 鐢佃瘽鍙风爜 */ + phoneNumber?: string; + /** 鑱屼笟/宸ョ */ + workType: string; + /** 鎬у埆 */ + gender?: string; + /** 骞撮緞 */ + age?: number; + /** 鍑虹敓鏃ユ湡 */ + birthDay?: string; + /** 澶囨敞 */ + remark?: string; + changeFlag?: string; + } + + interface ImportInsStaffAnalysisList { + id?: string; + /** 濮撳悕 */ + name?: string; + /** 鎬у埆 */ + sex?: string; + /** 璇佷欢绫诲瀷 */ + certType?: string; + /** 韬唤璇佸彿 */ + certNo?: string; + /** 骞撮緞 */ + age?: number; + /** 鐢熸棩 */ + birthDay?: string; + /** 鐢ㄥ伐浼佷笟 */ + useEmploer?: string; + /** 闆囧憳宸ョ */ + jobName?: string; + /** 鐢ㄥ伐鍦扮偣 */ + address?: string; + phone?: string; + /** 澶囨敞 */ + note?: string; + /** 1姝e父 0寮傚父 */ + isNormal?: boolean; } type InsuranceClaimAttachmentBusinessTypeEnum = 10 | 20 | 30 | 40 | 50; @@ -961,6 +1263,10 @@ orderRelevanceStr?: string; /** 淇濆崟鏂囦欢 */ orderBillFile?: string; + /** 鎶曚繚浜哄拰琚姇淇濅汉 */ + enterpriseName?: string; + phone?: string; + insuranceOrg?: string; } interface InsuranceOrderListOutputPageOutput { @@ -975,6 +1281,99 @@ url?: string; /** 鏉愭枡鍚嶇О */ materialName?: string; + } + + type InsurancePolicyStatusEnum = 10 | 20 | 30; + + interface InsureBatchBillDetailDto { + /** 鎵瑰崟Id */ + insureBatchBillId?: string; + /** 鎶曚繚Id */ + insurePolicyId?: string; + insurancePolicyDetailId?: string; + /** 淇敼淇℃伅 */ + modifyInfo?: string; + /** 鍚嶇О */ + name?: string; + /** 璇佷欢绫诲埆 */ + certType?: string; + /** 韬唤璇佸彿 */ + idNumber?: string; + /** 鎬у埆 */ + gender?: string; + /** 鎵嬫満鍙风爜 */ + phoneNumber?: string; + /** 骞撮緞 */ + age?: number; + /** 鍑虹敓鏃ユ湡 */ + birthDay?: string; + /** 鑱屼笟鍚嶇О */ + workType?: string; + changeType?: BatchChangeTypeEnum; + } + + interface InsureBatchBillDto { + /** 鎵瑰崟Id */ + insureBatchBillId?: string; + /** 鎵瑰崟缂栧彿 */ + batchBillNo?: string; + /** 淇濆崟Id */ + insurancePolicyId?: string; + changeType?: BatchChangeTypeEnum; + checkStatus?: BatchBillCheckStatus; + /** 鍦ㄤ繚浜烘暟 */ + insurePersonNumber?: number; + /** 鍘熸湰鍦ㄤ繚浜烘暟 */ + orginInsurePersonNumber?: number; + /** 鏂板浜烘暟 */ + addPersonNumber?: number; + /** 鐢宠鏃ユ湡 */ + creationTime?: string; + /** 鍑忓皯浜烘暟 */ + subPersonNumber?: number; + /** 瀹℃牳鐞嗙敱 */ + auditNote?: string; + /** 瀹℃牳鏃堕棿 */ + checkDate?: string; + /** 瀹℃牳浜� */ + checkUserId?: string; + /** 鐢熸晥鏃堕棿 */ + effectTime?: string; + /** 闄勪欢涓婁紶 */ + attachmentUrl?: string; + } + + interface InsureBatchBillDtoPageOutput { + pageModel?: Pagination; + objectData?: any; + data?: InsureBatchBillDto[]; + } + + interface InsureBatchBillInput { + /** 鎶曚繚Id */ + insurancePolicyId?: string; + /** 鎵瑰崟Id */ + batchBillId?: string; + /** 鏈熸湜鐢熸晥 */ + effectTime?: string; + changeType?: BatchChangeTypeEnum; + /** 鎵瑰浜哄憳鍒楄〃 */ + addInsStaffList?: ImportBatchStaffListInput[]; + /** 淇敼浜哄憳鍒楄〃 */ + updateInsStaffList?: ImportBatchStaffListInput[]; + /** 鍒犻櫎浜哄憳鍒楄〃 */ + delInsStaffList?: ImportBatchStaffListInput[]; + } + + interface InsureBatchDetailDto { + /** 鎵规敼浜哄憳璇︽儏 */ + staffList?: InsureBatchBillDetailDto[]; + /** 鐢熸晥鏃堕棿 */ + effectTime?: string; + /** 淇濆崟鍙� */ + insureBillNo?: string; + /** 鎶曚繚浜� */ + enterpriseName?: string; } interface IStringValueType { @@ -1343,6 +1742,24 @@ phoneNumber: string; } + interface SetInsureBatchBillStatusInput { + /** 鎵瑰崟Id */ + insureBatchBillId?: string; + /** 鎵瑰崟鍙� */ + batchBillNo?: string; + /** 瀹℃牳鐞嗙敱 */ + auditNote?: string; + checkStatus?: BatchBillCheckStatus; + /** 瀹℃牳鏃堕棿 */ + checkDate?: string; + /** 瀹℃牳浜� */ + checkUserId?: string; + /** 鐢熸晥鏃堕棿 */ + effectTime?: string; + /** 闄勪欢涓婁紶 */ + attachmentUrl?: string; + } + interface SetMyModule { moduleId?: string; sequence?: number; @@ -1416,6 +1833,12 @@ sendClaimMessage?: boolean; /** 鏄惁淇濆崟鍒版湡鎻愰啋 */ sendBillExpireMessage?: boolean; + /** 鏄惁浜哄憳鍙樻洿鎻愰啋 */ + staffChangeMessage?: boolean; + /** 鏄惁鎵规敼鎻愰啋 */ + batchUpdateMessage?: boolean; + /** 鍏徃鍚� */ + enterpriseName?: string; /** 鏄惁鐭俊鎻愰啋 */ isSendMessage?: boolean; /** 瑙掕壊 */ @@ -1490,6 +1913,14 @@ id?: string; } + interface UpdateInsuranceStaffInfoInput { + insurancePolicyId?: string; + id?: string; + name?: string; + idNumber?: string; + phone?: string; + } + interface UpdatePassWordInput { id?: string; passWord?: string; @@ -1517,6 +1948,36 @@ name?: string; surname?: string; phoneNumber?: string; + } + + interface UplaodInsuranceBillFileInput { + /** 淇濆崟Id */ + insurancePolicyId?: string; + /** 淇濆崟鍙� */ + insureBillNo?: string; + /** 淇濆崟璧锋湡 */ + effectStartTime?: string; + /** 淇濆崟姝㈡湡 */ + effectEndTime?: string; + /** 鍙備繚鏈烘瀯 */ + insuranceOrg?: string; + /** 鎶曚繚鏂瑰紡 鏈堜繚:30D 骞翠繚: 360D */ + insurancePeriod?: string; + /** 鏂规鍚嶇О */ + insuranceScheme?: string; + /** 淇濋 */ + sumInsured?: number; + /** 淇濊垂 */ + amount?: number; + /** 淇濆崟鏂囦欢 */ + insureBillUrl?: string; + } + + interface UploadInsuranceStampFilesInput { + /** 淇濆崟Id */ + insurancePolicyId?: string; + /** 鐩栫珷鏂囦欢 */ + listFiles?: string[]; } interface UserData { @@ -1563,6 +2024,12 @@ isSendMessage?: boolean; /** 瑙掕壊 */ roleNames?: string[]; + /** 鏄惁浜哄憳鍙樻洿鎻愰啋 */ + staffChangeMessage?: boolean; + /** 鏄惁鎵规敼鎻愰啋 */ + batchUpdateMessage?: boolean; + /** 浼佷笟鍚嶇О */ + enterpriseName?: string; } interface UserListOutput { @@ -1587,6 +2054,12 @@ isSendMessage?: boolean; /** 瑙掕壊 */ roleNames?: string[]; + /** 鏄惁浜哄憳鍙樻洿鎻愰啋 */ + staffChangeMessage?: boolean; + /** 鏄惁鎵规敼鎻愰啋 */ + batchUpdateMessage?: boolean; + /** 浼佷笟鍚嶇О */ + enterpriseName?: string; } interface UserListOutputPageOutput { -- Gitblit v1.9.1