index.ts 901 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. import request from '@/config/axios'
  2. export interface CustomerVO {
  3. id?: number
  4. name: string
  5. industryId: number
  6. level: number
  7. source: number
  8. followUpStatus?: boolean
  9. lockStatus?: boolean
  10. dealStatus?: boolean
  11. mobile: string
  12. telephone: string
  13. website: string
  14. qq: string
  15. wechat: string
  16. email: string
  17. description: string
  18. remark: string
  19. ownerUserId?: number
  20. ownerUserName?: string
  21. ownerUserDept?: string
  22. roUserIds?: string
  23. rwUserIds?: string
  24. areaId?: number
  25. areaName?: string
  26. detailAddress: string
  27. contactLastTime?: Date
  28. contactNextTime: Date
  29. createTime?: Date
  30. updateTime?: Date
  31. creator?: string
  32. creatorName?: string
  33. }
  34. // 查询客户列表
  35. // TODO @芋艿:看看是不是后续融合到 getCustomerPage 里;
  36. export const getTodayCustomerPage = async (params) => {
  37. return await request.get({ url: `/crm/message/todayCustomer`, params })
  38. }