xiaoyi
5 天以前 5c243d9d05da668a32b1bc9a4f543ea081488d11
src/api/crm/customer/index.ts
@@ -36,6 +36,11 @@
    createTime: Date; // 创建时间
    updateTime: Date; // 更新时间
    poolDay?: number; // 距离进入公海天数
    customerType?: string; // 客户分类(政企/工业/居民等)
    creditLevel?: string; // 当前信用等级
    creditScore?: number; // 当前信用分
    overdueAmount?: number; // 欠费金额(未回款+逾期)
    overdueCount?: number; // 欠费笔数
  }
  /** 客户导入请求 */
@@ -110,7 +115,9 @@
/** 领取公海客户 */
export function receiveCustomer(ids: number[]) {
  return requestClient.put('/crm/customer/receive', { ids: ids.join(',') });
  return requestClient.put('/crm/customer/receive', null, {
    params: { ids: ids.join(',') },
  });
}
/** 分配公海给对应负责人 */