import { defHttp } from '/@/utils/http/axios'; enum Api { getDustInfo = '/safety/reportLocalData/queryReportData', getFileList = '/safety/reportLocalData/list', getFileListById = '/safety/reportLocalData/queryById', } /** * 获取粉尘监测结果报表 * @param params */ export const getDustInfoList = (params) => defHttp.post({ url: Api.getDustInfo, params }); export const getAllFileList = (params) => defHttp.get({ url: Api.getFileList, params }); export const getAllFileListById = (params) => defHttp.get({ url: Api.getFileListById, params });