map-service.js 685 B

1234567891011121314151617181920212223242526272829303132
  1. import axios from '@/common/services/axios-instance'
  2. import PageService from '@/common/services/page-service'
  3. class MapService {
  4. // 获取中国数据
  5. getChinaData() {
  6. return axios({
  7. method: 'post',
  8. url: 'api/xcoa-mobile/v1/iamtarget/findAuditAtlas',
  9. })
  10. }
  11. getWorldData() {
  12. return axios({
  13. method: 'post',
  14. url: 'api/xcoa-mobile/v1/iamtarget/findOverseasAuditAtlas',
  15. })
  16. }
  17. exportCoverageList(data) {
  18. return axios({
  19. url: `api/xcoa-mobile/v1/iamtarget/exportCoverageList`,
  20. method: 'POST',
  21. data,
  22. responseType: 'blob',
  23. }).then((res) => {
  24. return res.data
  25. })
  26. }
  27. }
  28. export default new MapService()