diff --git a/src/api/crawl/index.js b/src/api/crawl/index.js index b57ce11..2bab951 100644 --- a/src/api/crawl/index.js +++ b/src/api/crawl/index.js @@ -82,6 +82,22 @@ export const submit = (row) => { data: row, }); }; +export const submit2 = (row) => { + return request({ + url: '/api/' + moduleName + '/ui/crawlInfo/submit2', + method: 'post', + data: row, + }); +}; +export const getStatus = (disasterId) => { + return request({ + url: '/api/' + moduleName + '/ui/crawlInfo/getStatus', + method: 'get', + params: { + disasterId, + }, + }); +}; export const getList = (current, size, param) => { let params = { current, diff --git a/src/views/dataService/remoteSensingData/components/searchCondition.vue b/src/views/dataService/remoteSensingData/components/searchCondition.vue index 3571a62..1f9be98 100644 --- a/src/views/dataService/remoteSensingData/components/searchCondition.vue +++ b/src/views/dataService/remoteSensingData/components/searchCondition.vue @@ -6,10 +6,18 @@
- {{ state.data.disasterKeyword }} -

VoRDM ID:{{ state.data.vordmId }}

-

Disaster time: {{ state.data.disasterTime }}

-

Disaster Country: {{ state.data.disasterCountry }}

+ + + {{ state.data.disasterKeyword }} +

VoRDM ID:{{ state.data.vordmId }}

+

Disaster time: {{ state.data.disasterTime }}

+

Disaster Country: {{ state.data.disasterCountry }}

+
+ + + View crawler status started + +
Select time range @@ -112,13 +120,30 @@ + + + + + + + + + +