store.js 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. import http from '@/http/api.js'
  2. // 列表
  3. export function getList(data) {
  4. return http.request({
  5. url: '/gubersail-app/corpsDesc/list',
  6. method: 'GET',
  7. data
  8. })
  9. }
  10. // 详情
  11. export function getAppDetails(data) {
  12. return http.request({
  13. url: '/gubersail-shop-app/corpsDesc/appDetails',
  14. method: 'GET',
  15. data
  16. })
  17. }
  18. // 保存
  19. export function submit(data) {
  20. return http.request({
  21. url: '/gubersail-shop-app/corpsDesc/update',
  22. method: 'POST',
  23. data
  24. })
  25. }
  26. // 门店分类下拉
  27. export function selectType(data) {
  28. return http.request({
  29. url: '/gubersail-app/corpsDesc/selectType',
  30. method: 'GET',
  31. data
  32. })
  33. }
  34. // 门店标签下拉
  35. export function selectLabel(data) {
  36. return http.request({
  37. url: '/gubersail-app/corpsDesc/selectLabel',
  38. method: 'GET',
  39. data
  40. })
  41. }
  42. // 业务员
  43. export function salerList(data) {
  44. return http.request({
  45. url: '/blade-user/salerList',
  46. method: 'GET',
  47. data
  48. })
  49. }
  50. // 仓库
  51. export function storageList(data) {
  52. return http.request({
  53. url: '/gubersail-app/corpsDesc/selectStorage',
  54. method: 'GET',
  55. data
  56. })
  57. }