assignAwait.js 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. import request from '@/utils/request';
  2. // 家装客资-查询待分配客资列表接口
  3. export function selectNotAllocationList(query) {
  4. return request({
  5. url: 'mobile/customerClueInfo/selectNotAllocationList',
  6. method: 'get',
  7. params: query,
  8. });
  9. }
  10. // 家装客资-根据客资类型查询分配人岗位列表和用户列表接口
  11. export function selectUserListByCustomerType(data) {
  12. return request({
  13. url: 'mobile/customerClueInfo/selectUserListByCustomerType',
  14. method: 'post',
  15. data: data,
  16. });
  17. }
  18. // 家装客资-根据岗位列表查询用户接口
  19. export function selectUserListByPostName(data) {
  20. return request({
  21. url: 'mobile/customerClueInfo/selectUserListByPostName',
  22. method: 'post',
  23. data: data,
  24. });
  25. }
  26. // 家装客资-分配客资归属接口
  27. export function allocationCustomer(data) {
  28. return request({
  29. url: 'mobile/customerClueInfo/allocationCustomer',
  30. method: 'post',
  31. data: data,
  32. });
  33. }
  34. // 家装客资-根据客资信息,查询家装客资任务接口
  35. export function selectCustomerClueInfoById(query) {
  36. return request({
  37. url: 'mobile/customerClueInfo/selectCustomerClueInfoById',
  38. method: 'get',
  39. params: query,
  40. });
  41. }
  42. // 家装客资-查询下属家装销售专员列表接口
  43. export function selectSubUserList(query) {
  44. return request({
  45. url: 'mobile/customerClueInfo/selectSubUserList',
  46. method: 'get',
  47. params: query,
  48. });
  49. }
  50. // 家装客资-确认转下属接口
  51. export function allocationSubCustomer(data) {
  52. return request({
  53. url: 'mobile/customerClueInfo/allocationSubCustomer',
  54. method: 'post',
  55. data: data,
  56. });
  57. }
  58. // 家装客资-新增客资跟进信息答案接口
  59. export function insertFollowCustomerClueAnswer(data) {
  60. return request({
  61. url: 'mobile/customerClueInfo/insertFollowCustomerClueAnswer',
  62. method: 'post',
  63. data: data,
  64. });
  65. }