diff --git a/src/api/remoteSensingSourceData/remoteSensingSourceData.js b/src/api/remoteSensingSourceData/remoteSensingSourceData.js index 0316a81..c69fdea 100644 --- a/src/api/remoteSensingSourceData/remoteSensingSourceData.js +++ b/src/api/remoteSensingSourceData/remoteSensingSourceData.js @@ -9,22 +9,23 @@ export const getRemoteSensingSourceData = (param) => { }); }; -export const getSelectionCondition = (param) => { +export const getRemoteSensingSourceDataByCondition = (current, size, optionsJson) => { return request({ - url: '/api/' + moduleName + '/ui/disasterInfo/selectCondition', + url: '/api/' + moduleName + '/ui/remoteSensing/Condition', + method: 'get', + contentType: 'application/json', + params: { + optionsJson, + current, + size, + }, + }); +}; + +export const getPagesRemoteSensingSourceData = (param) => { + return request({ + url: '/api/' + moduleName + '/ui/remoteSensing/PagesData', method: 'get', params: param, }); }; - -export const getPagesRemoteSensingSourceData = (current, size, params) => { - return request({ - url: '/api/' + moduleName + '/ui/remoteSensing/PagesData', - method: 'get', - params: { - current, - size, - ...params, - }, - }); -}; diff --git a/src/views/dataService/pictureInfo/index.vue b/src/views/dataService/pictureInfo/index.vue index bffe4af..d225c20 100644 --- a/src/views/dataService/pictureInfo/index.vue +++ b/src/views/dataService/pictureInfo/index.vue @@ -1,44 +1,45 @@