From 612335508b7288bcedb3606ccca6b8b8a0fc5699 Mon Sep 17 00:00:00 2001 From: yyhouc <792163605@qq.com> Date: Mon, 26 Jun 2023 09:46:12 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/crawl/index.js | 16 +++++ .../components/searchCondition.vue | 58 +++++++++++++++++-- 2 files changed, 69 insertions(+), 5 deletions(-) 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 @@ + + + + + + + + + +