dealerProductBrand.js 904 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. import { axios } from '@/utils/request'
  2. // 产品品牌列表 分页
  3. export const dealerProductBrandList = (params) => {
  4. const url = `/dealerProductBrand/queryPage/${params.pageNo}/${params.pageSize}`
  5. delete params.pageNo
  6. delete params.pageSize
  7. return axios({
  8. url: url,
  9. data: params,
  10. method: 'post'
  11. })
  12. }
  13. // 产品品牌列表 无分页
  14. export const dealerProductBrandQuery = (params) => {
  15. const url = `/dealerProductBrand/queryList`
  16. return axios({
  17. url: url,
  18. data: params,
  19. method: 'post'
  20. })
  21. }
  22. // 新增/编辑产品品牌
  23. export const dealerProductBrandSave = params => {
  24. return axios({
  25. url: '/dealerProductBrand/save',
  26. data: params,
  27. method: 'post'
  28. })
  29. }
  30. // 产品品牌 更改状态
  31. export const dealerProductBrandUpdate = params => {
  32. return axios({
  33. url: '/dealerProductBrand/updateStatus',
  34. data: params,
  35. method: 'post'
  36. })
  37. }