clew.js 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. import request from '@/utils/request'
  2. // 不想写
  3. export function infolist(query) {
  4. return request({
  5. url: 'mobile/customerClueInfo/infolist',
  6. method: 'get',
  7. params: query
  8. })
  9. }
  10. export function getCustomerClueInfoById(query) {
  11. return request({
  12. url: 'mobile/customerClueInfo/getCustomerClueInfoById',
  13. method: 'get',
  14. params: query
  15. })
  16. }
  17. export function insertCustomerClueAnswer(data) {
  18. return request({
  19. url: 'mobile/customerClueInfo/insertCustomerClueAnswer',
  20. method: 'post',
  21. data
  22. })
  23. }
  24. export function addPhotoK(data) {
  25. return request({
  26. url: 'mobile/customerClueInfo/addPhoto',
  27. method: 'post',
  28. data
  29. })
  30. }
  31. export function getCustomerClueAnswerById(query) {
  32. return request({
  33. url: 'mobile/customerClueInfo/getCustomerClueAnswerById',
  34. method: 'get',
  35. params: query
  36. })
  37. }
  38. export function getDeptInfo(query) {
  39. return request({
  40. url: 'mobile/customerClueInfo/getDeptInfo',
  41. method: 'get',
  42. params: query
  43. })
  44. }
  45. export function updateCustomerClueDept(query) {
  46. return request({
  47. url: 'mobile/customerClueInfo/updateCustomerClueDept',
  48. method: 'get',
  49. params: query
  50. })
  51. }