|
|
@@ -0,0 +1,117 @@
|
|
|
+import { AxiosResponse } from 'axios';
|
|
|
+
|
|
|
+/**
|
|
|
+ * 理赔申请综合查询 - 查询参数
|
|
|
+ * GET /api/factory/claimSearch/comprehensive
|
|
|
+ */
|
|
|
+export interface ClaimSearchComprehensiveParams {
|
|
|
+ /** 理赔单号(精准匹配) */
|
|
|
+ claimNo?: string;
|
|
|
+ /** 来源类型:1 - 经销商、2 - 门店、3 - 终端消费者 */
|
|
|
+ claimSourceType?: number;
|
|
|
+ /** 审核状态:0 - 待审核、1 - 审核中、2 - 已通过、3 - 已拒绝 */
|
|
|
+ auditStatus?: number;
|
|
|
+ /** 是否已提交:0 - 未提交、1 - 已提交 */
|
|
|
+ isSubmitTime?: number;
|
|
|
+
|
|
|
+ /** 消费者姓名(模糊匹配) */
|
|
|
+ consumerName?: string;
|
|
|
+ /** 消费者电话(模糊匹配) */
|
|
|
+ consumerPhone?: string;
|
|
|
+ /** 胎号 / 轮胎宝编号(模糊匹配) */
|
|
|
+ tyreNo?: string;
|
|
|
+ /** 规格型号(模糊匹配) */
|
|
|
+ tyreSpecs?: string;
|
|
|
+
|
|
|
+ /** 购买日期开始(格式:yyyy-MM-dd HH:mm:ss) */
|
|
|
+ purchaseDateStartStr?: string;
|
|
|
+ /** 购买日期结束(格式:yyyy-MM-dd HH:mm:ss) */
|
|
|
+ purchaseDateEndStr?: string;
|
|
|
+
|
|
|
+ /** 索赔金额最小值 */
|
|
|
+ claimAmountMin?: number;
|
|
|
+ /** 索赔金额最大值 */
|
|
|
+ claimAmountMax?: number;
|
|
|
+ /** 行驶里程最小值 (km) */
|
|
|
+ runMileageMin?: number;
|
|
|
+ /** 行驶里程最大值 (km) */
|
|
|
+ runMileageMax?: number;
|
|
|
+}
|
|
|
+
|
|
|
+/**
|
|
|
+ * 理赔申请主表信息(字段以 doc/lipeidoc.md 返回示例为准)
|
|
|
+ */
|
|
|
+export interface ClaimMainRecord {
|
|
|
+ id: number | string;
|
|
|
+ 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;
|
|
|
+ [key: string]: any;
|
|
|
+}
|
|
|
+
|
|
|
+/**
|
|
|
+ * 理赔附件
|
|
|
+ */
|
|
|
+export interface ClaimSearchAttachment {
|
|
|
+ id: number | string;
|
|
|
+ claimId: number | string;
|
|
|
+ fileName: string;
|
|
|
+ fileUrl: string;
|
|
|
+ fileType?: string;
|
|
|
+ fileSize?: number;
|
|
|
+ [key: string]: any;
|
|
|
+}
|
|
|
+
|
|
|
+/**
|
|
|
+ * 理赔审核记录
|
|
|
+ */
|
|
|
+export interface ClaimSearchAuditRecord {
|
|
|
+ id: number | string;
|
|
|
+ claimId: number | string;
|
|
|
+ claimNo?: string;
|
|
|
+ auditResult?: number;
|
|
|
+ auditAmount?: number;
|
|
|
+ reasonDetail?: string;
|
|
|
+ auditorId?: number | string;
|
|
|
+ auditorName?: string;
|
|
|
+ auditTime?: string;
|
|
|
+ feedbackChannel?: string;
|
|
|
+ feedbackDesc?: string;
|
|
|
+ feedbackTime?: string;
|
|
|
+ appealStatus?: number;
|
|
|
+ [key: string]: any;
|
|
|
+}
|
|
|
+
|
|
|
+/**
|
|
|
+ * 理赔综合查询记录
|
|
|
+ */
|
|
|
+export interface ClaimSearchRecord {
|
|
|
+ claimMain: ClaimMainRecord;
|
|
|
+ attachments: ClaimSearchAttachment[];
|
|
|
+ auditRecords: ClaimSearchAuditRecord[];
|
|
|
+ [key: string]: any;
|
|
|
+}
|
|
|
+
|
|
|
+export type ClaimSearchComprehensiveResponse = AxiosResponse<ApiResponse<PageResult<ClaimSearchRecord>>>;
|
|
|
+
|