|
|
@@ -6,6 +6,8 @@ import { AxiosResponse } from 'axios';
|
|
|
export interface ClaimSearchApiResponse<T> {
|
|
|
code: number;
|
|
|
msg: string;
|
|
|
+ /** 后端实际返回包含 success 字段 */
|
|
|
+ success?: boolean;
|
|
|
data: T;
|
|
|
}
|
|
|
|
|
|
@@ -71,27 +73,28 @@ export interface ClaimMainRecord {
|
|
|
claimNo: string;
|
|
|
claimSourceType: number;
|
|
|
sourceId?: number | string;
|
|
|
- sourceCode?: string;
|
|
|
- sourceName?: string;
|
|
|
- consumerName?: string;
|
|
|
- consumerPhone?: string;
|
|
|
- tyreNo?: string;
|
|
|
- tyreSpecs?: string;
|
|
|
- purchaseDate?: string;
|
|
|
- mountDate?: string;
|
|
|
- runMileage?: number;
|
|
|
- claimReason?: string;
|
|
|
- claimAmount?: number;
|
|
|
- auditStatus?: number;
|
|
|
- isSubmitTime?: number;
|
|
|
- submitTime?: string;
|
|
|
- version?: string;
|
|
|
- vehicleNumber?: string;
|
|
|
- tireQuantity?: number;
|
|
|
- brandItem?: string;
|
|
|
- brandName?: string;
|
|
|
- createTime?: string;
|
|
|
- createUser?: number | string;
|
|
|
+ sourceCode?: string | null;
|
|
|
+ sourceName?: string | null;
|
|
|
+ consumerName?: string | null;
|
|
|
+ consumerPhone?: string | null;
|
|
|
+ tyreNo?: string | null;
|
|
|
+ tyreSpecs?: string | null;
|
|
|
+ purchaseDate?: string | null;
|
|
|
+ mountDate?: string | null;
|
|
|
+ runMileage?: number | string | null;
|
|
|
+ claimReason?: string | null;
|
|
|
+ /** 后端常返回字符串金额,例如 "0.00" */
|
|
|
+ claimAmount?: number | string | null;
|
|
|
+ auditStatus?: number | null;
|
|
|
+ isSubmitTime?: number | null;
|
|
|
+ submitTime?: string | null;
|
|
|
+ version?: string | null;
|
|
|
+ vehicleNumber?: string | null;
|
|
|
+ tireQuantity?: number | null;
|
|
|
+ brandItem?: string | null;
|
|
|
+ brandName?: string | null;
|
|
|
+ createTime?: string | null;
|
|
|
+ createUser?: number | string | null;
|
|
|
[key: string]: any;
|
|
|
}
|
|
|
|
|
|
@@ -103,8 +106,8 @@ export interface ClaimSearchAttachment {
|
|
|
claimId: number | string;
|
|
|
fileName: string;
|
|
|
fileUrl: string;
|
|
|
- fileType?: string;
|
|
|
- fileSize?: number;
|
|
|
+ fileType?: string | null;
|
|
|
+ fileSize?: number | null;
|
|
|
[key: string]: any;
|
|
|
}
|
|
|
|
|
|
@@ -116,15 +119,18 @@ export interface ClaimSearchAuditRecord {
|
|
|
claimId: number | string;
|
|
|
claimNo?: string;
|
|
|
auditResult?: number;
|
|
|
- auditAmount?: number;
|
|
|
- reasonDetail?: string;
|
|
|
+ /** 后端常返回字符串金额,例如 "10.0000" */
|
|
|
+ auditAmount?: number | string | null;
|
|
|
+ reasonDetail?: string | null;
|
|
|
auditorId?: number | string;
|
|
|
- auditorName?: string;
|
|
|
- auditTime?: string;
|
|
|
- feedbackChannel?: string;
|
|
|
- feedbackDesc?: string;
|
|
|
- feedbackTime?: string;
|
|
|
- appealStatus?: number;
|
|
|
+ auditorName?: string | null;
|
|
|
+ auditTime?: string | null;
|
|
|
+ feedbackChannel?: string | null;
|
|
|
+ feedbackDesc?: string | null;
|
|
|
+ feedbackTime?: string | null;
|
|
|
+ appealStatus?: number | null;
|
|
|
+ appealResult?: string | null;
|
|
|
+ appealTime?: string | null;
|
|
|
[key: string]: any;
|
|
|
}
|
|
|
|