follow.js 984 B

123456789101112131415161718192021222324252627282930313233
  1. /*
  2. * @Author: wanglj 471442253@qq.com
  3. * @Date: 2022-12-29 09:40:35
  4. * @LastEditors: wanglj
  5. * @LastEditTime: 2022-12-29 16:17:12
  6. * @Description: file content
  7. * @FilePath: \opms_frontend\src\api\customer\follow.js
  8. */
  9. import micro_request from '@/utils/micro_request'
  10. const basePath = process.env.VUE_APP_ParentPath
  11. export default {
  12. // 跟进记录列表
  13. getList(query) {
  14. return micro_request.postRequest(basePath, 'FollowUp', 'GetList', query)
  15. },
  16. // 跟进记录详情
  17. getListByDay(query) {
  18. return micro_request.postRequest(basePath, 'FollowUp', 'GetListByDay', query)
  19. },
  20. // 添加跟进记录
  21. addFollowUp(query) {
  22. return micro_request.postRequest(basePath, 'FollowUp', 'Create', query)
  23. },
  24. // 评论列表
  25. getComment(query) {
  26. return micro_request.postRequest(basePath, 'FollowUpComment', 'GetList', query)
  27. },
  28. // 添加评论
  29. addComment(query) {
  30. return micro_request.postRequest(basePath, 'FollowUpComment', 'Create', query)
  31. },
  32. }