diff --git a/src/api/data/otherData.js b/src/api/data/otherData.js index ba7cd2e..5d6922d 100644 --- a/src/api/data/otherData.js +++ b/src/api/data/otherData.js @@ -1,24 +1,7 @@ import request, {moduleName} from '/@/utils/request'; -/** - * 查询上传数据对应的灾害分页列表 - * @param current - * @param size - * @param params - * @returns {Promise>} - */ -export const getDisasterPage = (current,size,params) => { - return request({ - url: '/api/' + moduleName + '/ui/otherData/queryDisasterPage', - method: 'get', - params: { - current, - size, - ...params - } - }); -}; + /** * 查询上传数据分页列表 diff --git a/src/api/data/pictureInfo.js b/src/api/data/pictureInfo.js index e29d8c2..c52111a 100644 --- a/src/api/data/pictureInfo.js +++ b/src/api/data/pictureInfo.js @@ -1,24 +1,6 @@ import request, {moduleName} from '/@/utils/request'; -/** - * 查询上传数据对应的灾害分页列表 - * @param current - * @param size - * @param params - * @returns {Promise>} - */ -export const getDisasterPage = (current,size,params) => { - return request({ - url: '/api/' + moduleName + '/ui/visualData/queryDisasterPage', - method: 'get', - params: { - current, - size, - ...params - } - }); -}; /** * 根据灾害id查询图片数据 diff --git a/src/api/data/visualData.js b/src/api/data/visualData.js index afcdd0e..6f84d96 100644 --- a/src/api/data/visualData.js +++ b/src/api/data/visualData.js @@ -1,24 +1,6 @@ import request, {moduleName} from '/@/utils/request'; -/** - * 查询上传数据对应的灾害分页列表 - * @param current - * @param size - * @param params - * @returns {Promise>} - */ -export const getDisasterPage = (current,size,params) => { - return request({ - url: '/api/' + moduleName + '/ui/visualData/queryDisasterPage', - method: 'get', - params: { - current, - size, - ...params - } - }); -}; /** * 根据灾害id查询词云分页