diff --git a/src/api/disasterInfo/index.js b/src/api/disasterInfo/index.js index aac5075..f7ed885 100644 --- a/src/api/disasterInfo/index.js +++ b/src/api/disasterInfo/index.js @@ -8,6 +8,36 @@ export function getList(params) { params, }); } + +export function getPage(current,size,params) { + return request({ + url: '/api/'+moduleName+'/ui/disasterInfo/list', + method: 'get', + params:{ + current, + size, + ...params + }, + }); +} + +export function updateDisasterManage(data){ + return request({ + url: '/api/'+moduleName+'/ui/disasterInfo/updateBatch', + method: 'put', + data: data, + }); +} + +export function removeManage(data){ + return request({ + url: '/api/'+moduleName+'/ui/disasterInfo/removeManage', + method: 'put', + data: data, + }); +} + + //review export function review(data) { return request({ diff --git a/src/api/remoteSensingSourceData/remoteSensingSourceData.js b/src/api/remoteSensingSourceData/remoteSensingSourceData.js index 1c905ea..c69fdea 100644 --- a/src/api/remoteSensingSourceData/remoteSensingSourceData.js +++ b/src/api/remoteSensingSourceData/remoteSensingSourceData.js @@ -9,9 +9,22 @@ 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, }); diff --git a/src/views/dataService/pictureInfo/component/editPicture.vue b/src/views/dataService/pictureInfo/component/editPicture.vue index 082d0c9..136da9c 100644 --- a/src/views/dataService/pictureInfo/component/editPicture.vue +++ b/src/views/dataService/pictureInfo/component/editPicture.vue @@ -1,5 +1,5 @@