companyCustomer.js 515 B

12345678910111213141516171819202122232425262728
  1. import request from '@/utils/request'
  2. // 查询客户列表
  3. export function listCustomer(query) {
  4. return request({
  5. url: '/qw/companyCustomer/list',
  6. method: 'get',
  7. params: query
  8. })
  9. }
  10. // 导出客户
  11. export function exportCustomer(query) {
  12. return request({
  13. url: '/qw/companyCustomer/export',
  14. method: 'get',
  15. params: query
  16. })
  17. }
  18. // 查询客户详情
  19. export function getCustomer(id) {
  20. return request({
  21. url: '/qw/companyCustomer/' + id,
  22. method: 'get'
  23. })
  24. }