diff --git a/public/baidu.jpg b/public/baidu.jpg new file mode 100644 index 0000000..a00a285 Binary files /dev/null and b/public/baidu.jpg differ diff --git a/public/bing.webp b/public/bing.webp new file mode 100644 index 0000000..d1e75ee Binary files /dev/null and b/public/bing.webp differ diff --git a/src/api/crawl/index.js b/src/api/crawl/index.js new file mode 100644 index 0000000..d3d0838 --- /dev/null +++ b/src/api/crawl/index.js @@ -0,0 +1,68 @@ +import request, {crawlModule ,moduleName } from '/@/utils/request'; + + + +export const geoserve = (vordm_id , link , disaster_id, name) =>{ + return request({ + url: '/api/' + crawlModule + '/geoserve/pushing', + method: 'post', + data: { + vordm_id, + link, + disaster_id, + name + } + }); +} +export const news = (disaster_id, keywords, page,isBaidu,id) =>{ + return request({ + url: '/api/' + crawlModule + '/news/'+(isBaidu?"baidu":"bing"), + method: 'post', + data: { + disaster_id, + keywords, + page, + id + } + }); +} +export const rs = (stime, etime, disaster_id,ranges ,type =1) =>{ + let method = 'sentinel'; + if(type == 1){ + method = 'sentinel'; + }else if(type == 2){ + method = 'landsat'; + }else { + method = 'searchone'; + } + + return request({ + url: '/api/' + crawlModule + '/news/'+method, + method: 'post', + data: { + stime, etime, disaster_id,ranges + } + }); +} +export const submit = (row) => { + return request({ + url: '/api/'+moduleName+'/ui/crawlInfo/submit', + method: 'post', + data: row + }) +} +export const getList = (current, size, param) => { + let params = { + current, + size, + }; + if(param){ + params = Object.assign(params, param); + } + return request({ + url: '/api/'+moduleName+'/ui/crawlInfo/list', + method: 'get', + params: params + }); + +} \ No newline at end of file diff --git a/src/utils/request.js b/src/utils/request.js index 77ef03d..de9ed5a 100644 --- a/src/utils/request.js +++ b/src/utils/request.js @@ -5,6 +5,7 @@ import { Session } from '/@/utils/storage'; // export const moduleName = 'zqq-biz-vordm'; export const moduleName = 'yyhouc-biz-vordm'; +export const crawlModule = "vordm-crawl"; // 配置新建一个 axios 实例 const service = axios.create({ diff --git a/src/views/dataService/multimediaData/component/boot.vue b/src/views/dataService/multimediaData/component/boot.vue new file mode 100644 index 0000000..52a460a --- /dev/null +++ b/src/views/dataService/multimediaData/component/boot.vue @@ -0,0 +1,204 @@ + + + \ No newline at end of file diff --git a/src/views/dataService/multimediaData/index.vue b/src/views/dataService/multimediaData/index.vue index cb4a81a..ee46835 100644 --- a/src/views/dataService/multimediaData/index.vue +++ b/src/views/dataService/multimediaData/index.vue @@ -17,9 +17,8 @@ @@ -35,20 +34,23 @@