store.js 901 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  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 getDetail(data) {
  12. return http.request({
  13. url: '/gubersail-app/corpsDesc/detail',
  14. method: 'GET',
  15. data
  16. })
  17. }
  18. // 保存
  19. export function submit(data) {
  20. return http.request({
  21. url: '/gubersail-app/corpsDesc/submit',
  22. method: 'POST',
  23. data
  24. })
  25. }
  26. // 通过/拒绝
  27. export function review(data) {
  28. return http.request({
  29. url: '/gubersail-app/corpsDesc/review',
  30. method: 'POST',
  31. data
  32. })
  33. }
  34. // 门店分类下拉
  35. export function selectType(data) {
  36. return http.request({
  37. url: '/gubersail-app/corpsDesc/selectType',
  38. method: 'GET',
  39. data
  40. })
  41. }
  42. // 门店分类下拉
  43. export function selectLabel(data) {
  44. return http.request({
  45. url: '/gubersail-app/corpsDesc/selectLabel',
  46. method: 'GET',
  47. data
  48. })
  49. }