index.js 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. /*
  2. * @Author: liuzhenlin 461480418@qq.ocm
  3. * @Date: 2023-01-29 16:17:15
  4. * @LastEditors: liuzhenlin
  5. * @LastEditTime: 2023-02-14 16:45:06
  6. * @Description: file content
  7. * @FilePath: \crm\api\customer\index.js
  8. */
  9. import micro_request from '@/utils/micro_request'
  10. const basePath = process.uniEnv.VUE_APP_ParentPath
  11. export default {
  12. // 创建跟进
  13. createFollow(query) {
  14. return micro_request.postRequest(basePath, 'FollowUp', 'Create', query)
  15. },
  16. // 跟进信息
  17. followList(query) {
  18. return micro_request.postRequest(basePath, 'FollowUp', 'GetList', query)
  19. },
  20. // 跟进记录详情
  21. getListByDay(query) {
  22. return micro_request.postRequest(basePath, 'FollowUp', 'GetListByDay', query)
  23. },
  24. // 跟进记录详情
  25. getListByDay(query) {
  26. return micro_request.postRequest(basePath, 'FollowUp', 'GetListByDay', query)
  27. },
  28. // 获取待回复信息
  29. getNeedReplyComments(query) {
  30. return micro_request.postRequest(basePath, 'FollowUpComment', 'GetNeedReplyComments', query)
  31. },
  32. // 回复信息
  33. onReply(query) {
  34. return micro_request.postRequest(basePath, 'FollowUpComment', 'Reply', query)
  35. },
  36. // 检测是否需要回复
  37. getIsNeedReply(query) {
  38. return micro_request.postRequest(basePath, 'FollowUpComment', 'GetNeedReplyCount', query)
  39. },
  40. }