gzw-api.js 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. import {
  2. request,
  3. requestNoLoginAndTest
  4. } from './request'
  5. function emptyAreaList(page,size,data) {
  6. return requestNoLoginAndTest({
  7. url: `asLeaseDispositionIndex/emptyAreaList?page=`+page+`&size=`+size,
  8. method: 'POST',
  9. contentType: 'application/json;charset=UTF-8',
  10. data: data
  11. })
  12. }
  13. function contactList(page,size,data) {
  14. return requestNoLoginAndTest({
  15. url: `asLeaseDispositionIndex/contactList?page=`+page+`&size=`+size,
  16. method: 'POST',
  17. contentType: 'application/json;charset=UTF-8',
  18. data: data
  19. })
  20. }
  21. function voPage(data) {
  22. return requestNoLoginAndTest({
  23. url: `official/asLeaseDispositionInfo/voPage`,
  24. method: 'POST',
  25. contentType: 'application/json;charset=UTF-8',
  26. data: data
  27. })
  28. }
  29. function getVo(data){
  30. // http://219.152.50.209:81/api/app/official/asLeaseDispositionInfo/getVo
  31. return requestNoLoginAndTest({
  32. url: `official/asLeaseDispositionInfo/getVo`,
  33. method: 'POST',
  34. contentType: 'application/json;charset=UTF-8',
  35. data: data
  36. })
  37. }
  38. export {
  39. emptyAreaList,
  40. contactList,
  41. voPage,
  42. getVo
  43. }