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 0763a98..23898cb 100644 --- a/src/utils/request.js +++ b/src/utils/request.js @@ -4,8 +4,8 @@ import qs from 'qs'; import { Session } from '/@/utils/storage'; // export const moduleName = 'zqq-biz-vordm'; -// export const moduleName = 'yyhouc-biz-vordm'; -export const moduleName = 'glj-biz-vordm'; +export const moduleName = 'biz-vordm'; +export const crawlModule = 'vordm-crawl'; // 配置新建一个 axios 实例 const service = axios.create({ //baseURL: import.meta.env.VITE_API_URL, @@ -53,7 +53,6 @@ service.interceptors.response.use( return Promise.reject(service.interceptors.response); } else { return res.data || res; - } }, (error) => { diff --git a/src/views/dataService/multimediaData/component/boot.vue b/src/views/dataService/multimediaData/component/boot.vue new file mode 100644 index 0000000..fd1e93d --- /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..632ec59 100644 --- a/src/views/dataService/multimediaData/index.vue +++ b/src/views/dataService/multimediaData/index.vue @@ -17,16 +17,15 @@ @@ -35,49 +34,54 @@
- + + - -