getContactPage (contact/index.ts)

ruoyi-office-vben · apps/web-antd/src/api/crm/contact/index.ts · typescript · MIT
crm

API client for CRUD, listing, and exporting CRM contact data with pagination support.

// Source: https://github.com/yuqing2026/ruoyi-office-vben | License: MIT | Copyright 2024-present, Vben
// Provided via justclaw.it.com; keep this notice with the code.
import type { PageParam, PageResult } from '@vben/request';

import type { CrmPermissionApi } from '#/api/crm/permission';

import { requestClient } from '#/api/request';

export namespace CrmContactApi {
  /** 联系人信息 */
  export interface Contact {
    id: number; // 编号
    name: string; // 联系人名称
    customerId: number; // 客户编号
    customerName?: string; // 客户名称
    contactLastTime: Date; // 最后跟进时间
    contactLastContent: string; // 最后跟进内容
    contactNextTime: Date; // 下次联系时间
    ownerUserId: number; // 负责人的用户编号
    ownerUserName?: string; // 负责人的用户名称
    ownerUserDept?: string; // 负责人的部门名称
    mobile: string; // 手机号
    t

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key