import { defHttp } from '/@/utils/http/axios';
import { Modal } from 'ant-design-vue';

enum Api {
  list = '/dkgl/dsrwGeoJd/listHis', 
  exportXls = '/dkgl/dsrwGeoJd/exportXlsHis',
  downloadMdb = '/dkgl/gDsrwGeo/downloadMdb', 
  downloadGdb = '/dkgl/gDsrwGeo/downloadGdb', 
}
/**
 * 下载mdb文件
 * @param params
 */
export const getDownloadMdb = (params) => defHttp.get({ url: Api.downloadMdb, params });
/**
 * 下载gdb文件接口
 * @param params
 */
export const getDownloadGdb = (params) => defHttp.get({ url: Api.downloadGdb, params });

/**
 * 导出api
 * @param params
 */
export const getExportUrl = Api.exportXls;

/**
 * 列表接口
 * @param params
 */
export const list = (params) =>
  defHttp.get({url: Api.list, params});

