getCluePage (clue/index.ts)

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

Provides typed CRUD API functions for CRM clue management.

// 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 CrmClueApi {
  /** 线索信息 */
  export interface Clue {
    id: number; // 编号
    name: string; // 线索名称
    followUpStatus: boolean; // 跟进状态
    contactLastTime: Date; // 最后跟进时间
    contactLastContent: string; // 最后跟进内容
    contactNextTime: Date; // 下次联系时间
    ownerUserId: number; // 负责人的用户编号
    ownerUserName?: string; // 负责人的用户名称
    ownerUserDept?: string; // 负责人的部门名称
    transformStatus: boolean; // 转化状态
    customerId: number; // 客户编号


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

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

Get a free API key