This commit is contained in:
parent
dc2dda607f
commit
4611558cff
|
@ -342,11 +342,6 @@
|
||||||
"fastq": "^1.6.0"
|
"fastq": "^1.6.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"@popperjs/core": {
|
|
||||||
"version": "npm:@sxzz/popperjs-es@2.11.7",
|
|
||||||
"resolved": "https://registry.npmmirror.com/@sxzz/popperjs-es/-/popperjs-es-2.11.7.tgz",
|
|
||||||
"integrity": "sha512-Ccy0NlLkzr0Ex2FKvh2X+OyERHXJ88XJ1MXtsI9y9fGexlaXaVTPzBCRBwIxFkORuOb+uBqeu+RqnpgYTEZRUQ=="
|
|
||||||
},
|
|
||||||
"@rollup/pluginutils": {
|
"@rollup/pluginutils": {
|
||||||
"version": "4.2.1",
|
"version": "4.2.1",
|
||||||
"resolved": "https://registry.npmjs.org/@rollup/pluginutils/-/pluginutils-4.2.1.tgz",
|
"resolved": "https://registry.npmjs.org/@rollup/pluginutils/-/pluginutils-4.2.1.tgz",
|
||||||
|
@ -2005,7 +2000,7 @@
|
||||||
},
|
},
|
||||||
"clone": {
|
"clone": {
|
||||||
"version": "2.1.2",
|
"version": "2.1.2",
|
||||||
"resolved": "https://registry.npmmirror.com/clone/-/clone-2.1.2.tgz",
|
"resolved": "https://registry.npmjs.org/clone/-/clone-2.1.2.tgz",
|
||||||
"integrity": "sha512-3Pe/CF1Nn94hyhIYpjtiLhdCoEoz0DqQ+988E9gmeEdQZlojxnOb74wctFyuwWQHzqyf9X7C7MG8juUpqBJT8w=="
|
"integrity": "sha512-3Pe/CF1Nn94hyhIYpjtiLhdCoEoz0DqQ+988E9gmeEdQZlojxnOb74wctFyuwWQHzqyf9X7C7MG8juUpqBJT8w=="
|
||||||
},
|
},
|
||||||
"color-convert": {
|
"color-convert": {
|
||||||
|
@ -2202,7 +2197,7 @@
|
||||||
},
|
},
|
||||||
"deep-equal": {
|
"deep-equal": {
|
||||||
"version": "1.1.1",
|
"version": "1.1.1",
|
||||||
"resolved": "https://registry.npmmirror.com/deep-equal/-/deep-equal-1.1.1.tgz",
|
"resolved": "https://registry.npmjs.org/deep-equal/-/deep-equal-1.1.1.tgz",
|
||||||
"integrity": "sha512-yd9c5AdiqVcR+JjcwUQb9DkhJc8ngNr0MahEBGvDiJw8puWab2yZlh+nkasOnZP+EGTAP6rRp2JzJhJZzvNF8g==",
|
"integrity": "sha512-yd9c5AdiqVcR+JjcwUQb9DkhJc8ngNr0MahEBGvDiJw8puWab2yZlh+nkasOnZP+EGTAP6rRp2JzJhJZzvNF8g==",
|
||||||
"requires": {
|
"requires": {
|
||||||
"is-arguments": "^1.0.4",
|
"is-arguments": "^1.0.4",
|
||||||
|
@ -2215,7 +2210,7 @@
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"object-keys": {
|
"object-keys": {
|
||||||
"version": "1.1.1",
|
"version": "1.1.1",
|
||||||
"resolved": "https://registry.npmmirror.com/object-keys/-/object-keys-1.1.1.tgz",
|
"resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz",
|
||||||
"integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA=="
|
"integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA=="
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -2228,7 +2223,7 @@
|
||||||
},
|
},
|
||||||
"define-properties": {
|
"define-properties": {
|
||||||
"version": "1.2.0",
|
"version": "1.2.0",
|
||||||
"resolved": "https://registry.npmmirror.com/define-properties/-/define-properties-1.2.0.tgz",
|
"resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.2.0.tgz",
|
||||||
"integrity": "sha512-xvqAVKGfT1+UAvPwKTVw/njhdQ8ZhXK4lI0bCIuCMrp2up9nPnaDftrLtmpTazqd1o+UY4zgzU+avtMbDP+ldA==",
|
"integrity": "sha512-xvqAVKGfT1+UAvPwKTVw/njhdQ8ZhXK4lI0bCIuCMrp2up9nPnaDftrLtmpTazqd1o+UY4zgzU+avtMbDP+ldA==",
|
||||||
"requires": {
|
"requires": {
|
||||||
"has-property-descriptors": "^1.0.0",
|
"has-property-descriptors": "^1.0.0",
|
||||||
|
@ -2237,7 +2232,7 @@
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"object-keys": {
|
"object-keys": {
|
||||||
"version": "1.1.1",
|
"version": "1.1.1",
|
||||||
"resolved": "https://registry.npmmirror.com/object-keys/-/object-keys-1.1.1.tgz",
|
"resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz",
|
||||||
"integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA=="
|
"integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA=="
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -2331,6 +2326,13 @@
|
||||||
"lodash-unified": "^1.0.2",
|
"lodash-unified": "^1.0.2",
|
||||||
"memoize-one": "^6.0.0",
|
"memoize-one": "^6.0.0",
|
||||||
"normalize-wheel-es": "^1.2.0"
|
"normalize-wheel-es": "^1.2.0"
|
||||||
|
},
|
||||||
|
"dependencies": {
|
||||||
|
"@popperjs/core": {
|
||||||
|
"version": "npm:@sxzz/popperjs-es@2.11.7",
|
||||||
|
"resolved": "https://registry.npmjs.org/@sxzz/popperjs-es/-/popperjs-es-2.11.7.tgz",
|
||||||
|
"integrity": "sha512-Ccy0NlLkzr0Ex2FKvh2X+OyERHXJ88XJ1MXtsI9y9fGexlaXaVTPzBCRBwIxFkORuOb+uBqeu+RqnpgYTEZRUQ=="
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"esbuild": {
|
"esbuild": {
|
||||||
|
@ -2538,12 +2540,12 @@
|
||||||
},
|
},
|
||||||
"eventemitter3": {
|
"eventemitter3": {
|
||||||
"version": "2.0.3",
|
"version": "2.0.3",
|
||||||
"resolved": "https://registry.npmmirror.com/eventemitter3/-/eventemitter3-2.0.3.tgz",
|
"resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-2.0.3.tgz",
|
||||||
"integrity": "sha512-jLN68Dx5kyFHaePoXWPsCGW5qdyZQtLYHkxkg02/Mz6g0kYpDx4FyP6XfArhQdlOC4b8Mv+EMxPo/8La7Tzghg=="
|
"integrity": "sha512-jLN68Dx5kyFHaePoXWPsCGW5qdyZQtLYHkxkg02/Mz6g0kYpDx4FyP6XfArhQdlOC4b8Mv+EMxPo/8La7Tzghg=="
|
||||||
},
|
},
|
||||||
"extend": {
|
"extend": {
|
||||||
"version": "3.0.2",
|
"version": "3.0.2",
|
||||||
"resolved": "https://registry.npmmirror.com/extend/-/extend-3.0.2.tgz",
|
"resolved": "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz",
|
||||||
"integrity": "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g=="
|
"integrity": "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g=="
|
||||||
},
|
},
|
||||||
"falafel": {
|
"falafel": {
|
||||||
|
@ -2575,7 +2577,7 @@
|
||||||
},
|
},
|
||||||
"fast-diff": {
|
"fast-diff": {
|
||||||
"version": "1.1.2",
|
"version": "1.1.2",
|
||||||
"resolved": "https://registry.npmmirror.com/fast-diff/-/fast-diff-1.1.2.tgz",
|
"resolved": "https://registry.npmjs.org/fast-diff/-/fast-diff-1.1.2.tgz",
|
||||||
"integrity": "sha512-KaJUt+M9t1qaIteSvjc6P3RbMdXsNhK61GRftR6SNxqmhthcd9MGIi4T+o0jD8LUSpSnSKXE20nLtJ3fOHxQig=="
|
"integrity": "sha512-KaJUt+M9t1qaIteSvjc6P3RbMdXsNhK61GRftR6SNxqmhthcd9MGIi4T+o0jD8LUSpSnSKXE20nLtJ3fOHxQig=="
|
||||||
},
|
},
|
||||||
"fast-json-stable-stringify": {
|
"fast-json-stable-stringify": {
|
||||||
|
@ -2688,7 +2690,7 @@
|
||||||
},
|
},
|
||||||
"functions-have-names": {
|
"functions-have-names": {
|
||||||
"version": "1.2.3",
|
"version": "1.2.3",
|
||||||
"resolved": "https://registry.npmmirror.com/functions-have-names/-/functions-have-names-1.2.3.tgz",
|
"resolved": "https://registry.npmjs.org/functions-have-names/-/functions-have-names-1.2.3.tgz",
|
||||||
"integrity": "sha512-xckBUXyTIqT97tq2x2AMb+g163b5JFysYk0x4qxNFwbfQkmNZoiRHb6sPzI9/QV33WeuvVYBUIiD4NzNIyqaRQ=="
|
"integrity": "sha512-xckBUXyTIqT97tq2x2AMb+g163b5JFysYk0x4qxNFwbfQkmNZoiRHb6sPzI9/QV33WeuvVYBUIiD4NzNIyqaRQ=="
|
||||||
},
|
},
|
||||||
"geojson-equality": {
|
"geojson-equality": {
|
||||||
|
@ -2796,7 +2798,7 @@
|
||||||
},
|
},
|
||||||
"has-property-descriptors": {
|
"has-property-descriptors": {
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"resolved": "https://registry.npmmirror.com/has-property-descriptors/-/has-property-descriptors-1.0.0.tgz",
|
"resolved": "https://registry.npmjs.org/has-property-descriptors/-/has-property-descriptors-1.0.0.tgz",
|
||||||
"integrity": "sha512-62DVLZGoiEBDHQyqG4w9xCuZ7eJEwNmJRWw2VY84Oedb7WFcA27fiEVe8oUQx9hAUJ4ekurquucTGwsyO1XGdQ==",
|
"integrity": "sha512-62DVLZGoiEBDHQyqG4w9xCuZ7eJEwNmJRWw2VY84Oedb7WFcA27fiEVe8oUQx9hAUJ4ekurquucTGwsyO1XGdQ==",
|
||||||
"requires": {
|
"requires": {
|
||||||
"get-intrinsic": "^1.1.1"
|
"get-intrinsic": "^1.1.1"
|
||||||
|
@ -2809,7 +2811,7 @@
|
||||||
},
|
},
|
||||||
"has-tostringtag": {
|
"has-tostringtag": {
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"resolved": "https://registry.npmmirror.com/has-tostringtag/-/has-tostringtag-1.0.0.tgz",
|
"resolved": "https://registry.npmjs.org/has-tostringtag/-/has-tostringtag-1.0.0.tgz",
|
||||||
"integrity": "sha512-kFjcSNhnlGV1kyoGk7OXKSawH5JOb/LzUc5w9B02hOTO0dfFRjbHQKvg1d6cf3HbeUmtU9VbbV3qzZ2Teh97WQ==",
|
"integrity": "sha512-kFjcSNhnlGV1kyoGk7OXKSawH5JOb/LzUc5w9B02hOTO0dfFRjbHQKvg1d6cf3HbeUmtU9VbbV3qzZ2Teh97WQ==",
|
||||||
"requires": {
|
"requires": {
|
||||||
"has-symbols": "^1.0.2"
|
"has-symbols": "^1.0.2"
|
||||||
|
@ -2865,7 +2867,7 @@
|
||||||
},
|
},
|
||||||
"is-arguments": {
|
"is-arguments": {
|
||||||
"version": "1.1.1",
|
"version": "1.1.1",
|
||||||
"resolved": "https://registry.npmmirror.com/is-arguments/-/is-arguments-1.1.1.tgz",
|
"resolved": "https://registry.npmjs.org/is-arguments/-/is-arguments-1.1.1.tgz",
|
||||||
"integrity": "sha512-8Q7EARjzEnKpt/PCD7e1cgUS0a6X8u5tdSiMqXhojOdoV9TsMsiO+9VLC5vAmO8N7/GmXn7yjR8qnA6bVAEzfA==",
|
"integrity": "sha512-8Q7EARjzEnKpt/PCD7e1cgUS0a6X8u5tdSiMqXhojOdoV9TsMsiO+9VLC5vAmO8N7/GmXn7yjR8qnA6bVAEzfA==",
|
||||||
"requires": {
|
"requires": {
|
||||||
"call-bind": "^1.0.2",
|
"call-bind": "^1.0.2",
|
||||||
|
@ -2891,7 +2893,7 @@
|
||||||
},
|
},
|
||||||
"is-date-object": {
|
"is-date-object": {
|
||||||
"version": "1.0.5",
|
"version": "1.0.5",
|
||||||
"resolved": "https://registry.npmmirror.com/is-date-object/-/is-date-object-1.0.5.tgz",
|
"resolved": "https://registry.npmjs.org/is-date-object/-/is-date-object-1.0.5.tgz",
|
||||||
"integrity": "sha512-9YQaSxsAiSwcvS33MBk3wTCVnWK+HhF8VZR2jRxehM16QcVOdHqPn4VPHmRK4lSr38n9JriurInLcP90xsYNfQ==",
|
"integrity": "sha512-9YQaSxsAiSwcvS33MBk3wTCVnWK+HhF8VZR2jRxehM16QcVOdHqPn4VPHmRK4lSr38n9JriurInLcP90xsYNfQ==",
|
||||||
"requires": {
|
"requires": {
|
||||||
"has-tostringtag": "^1.0.0"
|
"has-tostringtag": "^1.0.0"
|
||||||
|
@ -2935,7 +2937,7 @@
|
||||||
},
|
},
|
||||||
"is-regex": {
|
"is-regex": {
|
||||||
"version": "1.1.4",
|
"version": "1.1.4",
|
||||||
"resolved": "https://registry.npmmirror.com/is-regex/-/is-regex-1.1.4.tgz",
|
"resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.1.4.tgz",
|
||||||
"integrity": "sha512-kvRdxDsxZjhzUX07ZnLydzS1TU/TJlTUHHY4YLL87e37oUA49DfkLqgy+VjFocowy29cKvcSiu+kIv728jTTVg==",
|
"integrity": "sha512-kvRdxDsxZjhzUX07ZnLydzS1TU/TJlTUHHY4YLL87e37oUA49DfkLqgy+VjFocowy29cKvcSiu+kIv728jTTVg==",
|
||||||
"requires": {
|
"requires": {
|
||||||
"call-bind": "^1.0.2",
|
"call-bind": "^1.0.2",
|
||||||
|
@ -3176,7 +3178,7 @@
|
||||||
},
|
},
|
||||||
"object-is": {
|
"object-is": {
|
||||||
"version": "1.1.5",
|
"version": "1.1.5",
|
||||||
"resolved": "https://registry.npmmirror.com/object-is/-/object-is-1.1.5.tgz",
|
"resolved": "https://registry.npmjs.org/object-is/-/object-is-1.1.5.tgz",
|
||||||
"integrity": "sha512-3cyDsyHgtmi7I7DfSSI2LDp6SK2lwvtbg0p0R1e0RvTqF5ceGx+K2dfSjm1bKDMVCFEDAQvy+o8c6a7VujOddw==",
|
"integrity": "sha512-3cyDsyHgtmi7I7DfSSI2LDp6SK2lwvtbg0p0R1e0RvTqF5ceGx+K2dfSjm1bKDMVCFEDAQvy+o8c6a7VujOddw==",
|
||||||
"requires": {
|
"requires": {
|
||||||
"call-bind": "^1.0.2",
|
"call-bind": "^1.0.2",
|
||||||
|
@ -3247,7 +3249,7 @@
|
||||||
},
|
},
|
||||||
"parchment": {
|
"parchment": {
|
||||||
"version": "1.1.4",
|
"version": "1.1.4",
|
||||||
"resolved": "https://registry.npmmirror.com/parchment/-/parchment-1.1.4.tgz",
|
"resolved": "https://registry.npmjs.org/parchment/-/parchment-1.1.4.tgz",
|
||||||
"integrity": "sha512-J5FBQt/pM2inLzg4hEWmzQx/8h8D0CiDxaG3vyp9rKrQRSDgBlhjdP5jQGgosEajXPSQouXGHOmVdgo7QmJuOg=="
|
"integrity": "sha512-J5FBQt/pM2inLzg4hEWmzQx/8h8D0CiDxaG3vyp9rKrQRSDgBlhjdP5jQGgosEajXPSQouXGHOmVdgo7QmJuOg=="
|
||||||
},
|
},
|
||||||
"parent-module": {
|
"parent-module": {
|
||||||
|
@ -3394,7 +3396,7 @@
|
||||||
},
|
},
|
||||||
"quill": {
|
"quill": {
|
||||||
"version": "1.3.7",
|
"version": "1.3.7",
|
||||||
"resolved": "https://registry.npmmirror.com/quill/-/quill-1.3.7.tgz",
|
"resolved": "https://registry.npmjs.org/quill/-/quill-1.3.7.tgz",
|
||||||
"integrity": "sha512-hG/DVzh/TiknWtE6QmWAF/pxoZKYxfe3J/d/+ShUWkDvvkZQVTPeVmUJVu1uE6DDooC4fWTiCLh84ul89oNz5g==",
|
"integrity": "sha512-hG/DVzh/TiknWtE6QmWAF/pxoZKYxfe3J/d/+ShUWkDvvkZQVTPeVmUJVu1uE6DDooC4fWTiCLh84ul89oNz5g==",
|
||||||
"requires": {
|
"requires": {
|
||||||
"clone": "^2.1.1",
|
"clone": "^2.1.1",
|
||||||
|
|
|
@ -24,7 +24,7 @@ export const news = (disaster_id, keywords, page, isBaidu, id) => {
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
export const rs = (stime, etime, disaster_id, ranges, type = 1) => {
|
export const rs = (stime, etime, disaster_id, ranges, type = 1,id) => {
|
||||||
let method = 'sentinel';
|
let method = 'sentinel';
|
||||||
if (type == 1) {
|
if (type == 1) {
|
||||||
method = 'sentinel';
|
method = 'sentinel';
|
||||||
|
@ -33,15 +33,22 @@ export const rs = (stime, etime, disaster_id, ranges, type = 1) => {
|
||||||
} else {
|
} else {
|
||||||
method = 'searchone';
|
method = 'searchone';
|
||||||
}
|
}
|
||||||
|
let data = {
|
||||||
|
stime,
|
||||||
|
etime,
|
||||||
|
disaster_id,
|
||||||
|
id,
|
||||||
|
}
|
||||||
|
if(type != 1 && type != 2){
|
||||||
|
data['geo'] = ranges
|
||||||
|
}else{
|
||||||
|
data['ranges']=ranges
|
||||||
|
}
|
||||||
return request({
|
return request({
|
||||||
url: '/api/' + crawlModule + '/rs/' + method,
|
url: '/api/' + crawlModule + '/rs/' + method,
|
||||||
method: 'post',
|
method: 'post',
|
||||||
data: {
|
data: {
|
||||||
stime,
|
|
||||||
etime,
|
|
||||||
disaster_id,
|
|
||||||
ranges,
|
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
|
@ -4,7 +4,7 @@ import qs from 'qs';
|
||||||
import { Session } from '/@/utils/storage';
|
import { Session } from '/@/utils/storage';
|
||||||
|
|
||||||
// export const moduleName = 'zqq-biz-vordm';
|
// export const moduleName = 'zqq-biz-vordm';
|
||||||
export const moduleName = 'biz-vordm';
|
export const moduleName = 'yyhouc-biz-vordm';
|
||||||
export const crawlModule = "vordm-crawl";
|
export const crawlModule = "vordm-crawl";
|
||||||
// 配置新建一个 axios 实例
|
// 配置新建一个 axios 实例
|
||||||
const service = axios.create({
|
const service = axios.create({
|
||||||
|
|
|
@ -134,6 +134,7 @@ import Map from "/@/components/Map.vue";
|
||||||
import { ref, reactive, watch } from 'vue';
|
import { ref, reactive, watch } from 'vue';
|
||||||
import { rs, submit } from '/@/api/crawl/index';
|
import { rs, submit } from '/@/api/crawl/index';
|
||||||
import { useUserInfo } from '/@/stores/userInfo';
|
import { useUserInfo } from '/@/stores/userInfo';
|
||||||
|
import { ElMessage } from "element-plus";
|
||||||
const userInfo = useUserInfo();
|
const userInfo = useUserInfo();
|
||||||
|
|
||||||
// 初始化数据
|
// 初始化数据
|
||||||
|
@ -184,82 +185,82 @@ const state = reactive({
|
||||||
// }
|
// }
|
||||||
// ]
|
// ]
|
||||||
},
|
},
|
||||||
{
|
// {
|
||||||
value: '国产系列卫星',
|
// value: '国产系列卫星',
|
||||||
label: '国产系列卫星',
|
// label: '国产系列卫星',
|
||||||
children: [
|
// children: [
|
||||||
{
|
// {
|
||||||
value: 'GF - 1',
|
// value: 'GF - 1',
|
||||||
label: 'GF - 1',
|
// label: 'GF - 1',
|
||||||
},
|
// },
|
||||||
{
|
// {
|
||||||
value: 'GF - 2',
|
// value: 'GF - 2',
|
||||||
label: 'GF - 2',
|
// label: 'GF - 2',
|
||||||
},
|
// },
|
||||||
{
|
// {
|
||||||
value: 'GF - 3',
|
// value: 'GF - 3',
|
||||||
label: 'GF - 3',
|
// label: 'GF - 3',
|
||||||
},
|
// },
|
||||||
{
|
// {
|
||||||
value: 'GF - 4',
|
// value: 'GF - 4',
|
||||||
label: 'GF - 4',
|
// label: 'GF - 4',
|
||||||
},
|
// },
|
||||||
{
|
// {
|
||||||
value: 'GF - 6',
|
// value: 'GF - 6',
|
||||||
label: 'GF - 6',
|
// label: 'GF - 6',
|
||||||
},
|
// },
|
||||||
{
|
// {
|
||||||
value: 'ZY - 3',
|
// value: 'ZY - 3',
|
||||||
label: 'ZY - 3',
|
// label: 'ZY - 3',
|
||||||
},
|
// },
|
||||||
{
|
// {
|
||||||
value: 'ZY - 302',
|
// value: 'ZY - 302',
|
||||||
label: 'ZY - 302',
|
// label: 'ZY - 302',
|
||||||
},
|
// },
|
||||||
{
|
// {
|
||||||
value: 'ZY - 02C',
|
// value: 'ZY - 02C',
|
||||||
label: 'ZY - 02C',
|
// label: 'ZY - 02C',
|
||||||
},
|
// },
|
||||||
],
|
// ],
|
||||||
},
|
// },
|
||||||
{
|
// {
|
||||||
value: '欧比特珠海一号系列卫星',
|
// value: '欧比特珠海一号系列卫星',
|
||||||
label: '欧比特珠海一号系列卫星',
|
// label: '欧比特珠海一号系列卫星',
|
||||||
children: [
|
// children: [
|
||||||
{
|
// {
|
||||||
value: 'OVS - 2A',
|
// value: 'OVS - 2A',
|
||||||
label: 'OVS - 2A',
|
// label: 'OVS - 2A',
|
||||||
},
|
// },
|
||||||
{
|
// {
|
||||||
value: 'OVS - 3A',
|
// value: 'OVS - 3A',
|
||||||
label: 'OVS - 3A',
|
// label: 'OVS - 3A',
|
||||||
},
|
// },
|
||||||
{
|
// {
|
||||||
value: 'OVS - 1A',
|
// value: 'OVS - 1A',
|
||||||
label: 'OVS - 1A',
|
// label: 'OVS - 1A',
|
||||||
},
|
// },
|
||||||
{
|
// {
|
||||||
value: 'OVS - 1B',
|
// value: 'OVS - 1B',
|
||||||
label: 'OVS - 1B',
|
// label: 'OVS - 1B',
|
||||||
},
|
// },
|
||||||
{
|
// {
|
||||||
value: 'OHS - 2A',
|
// value: 'OHS - 2A',
|
||||||
label: 'OHS - 2A',
|
// label: 'OHS - 2A',
|
||||||
},
|
// },
|
||||||
{
|
// {
|
||||||
value: 'OHS - 2B',
|
// value: 'OHS - 2B',
|
||||||
label: 'OHS - 2B',
|
// label: 'OHS - 2B',
|
||||||
},
|
// },
|
||||||
{
|
// {
|
||||||
value: 'OHS - 2C',
|
// value: 'OHS - 2C',
|
||||||
label: 'OHS - 2C',
|
// label: 'OHS - 2C',
|
||||||
},
|
// },
|
||||||
{
|
// {
|
||||||
value: 'OHS - 2D',
|
// value: 'OHS - 2D',
|
||||||
label: 'OHS - 2D',
|
// label: 'OHS - 2D',
|
||||||
},
|
// },
|
||||||
],
|
// ],
|
||||||
}
|
// }
|
||||||
],
|
],
|
||||||
shortcuts: [
|
shortcuts: [
|
||||||
{
|
{
|
||||||
|
@ -399,6 +400,20 @@ const editCoordinate = () => {
|
||||||
|
|
||||||
// 开始爬虫
|
// 开始爬虫
|
||||||
const startCrawl = () => {
|
const startCrawl = () => {
|
||||||
|
if(!state.startTime){
|
||||||
|
ElMessage.error("Please select the search start time")
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
if(!state.endTime){
|
||||||
|
ElMessage.error("Please select the search end time")
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
if(state.coordinateList.length==0||!state.coordinateList[0].Lat||!state.coordinateList[0].Lng||!state.coordinateList[1].Lat ||!state.coordinateList[1].Lng){
|
||||||
|
ElMessage.error("Please draw the area on the map")
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
var ranges = state.coordinateList[0].Lat + ' ' + state.coordinateList[0].Lng + ',' + state.coordinateList[1].Lat + ' ' + state.coordinateList[1].Lng
|
var ranges = state.coordinateList[0].Lat + ' ' + state.coordinateList[0].Lng + ',' + state.coordinateList[1].Lat + ' ' + state.coordinateList[1].Lng
|
||||||
var type = null
|
var type = null
|
||||||
if (state.satelliteSelected[0] == 'landsat') {
|
if (state.satelliteSelected[0] == 'landsat') {
|
||||||
|
@ -413,36 +428,38 @@ const startCrawl = () => {
|
||||||
var param = {
|
var param = {
|
||||||
"stime": state.startTime,
|
"stime": state.startTime,
|
||||||
"etime": state.endTime,
|
"etime": state.endTime,
|
||||||
"disaster_id": state.selectID * 1,
|
"disaster_id": state.selectID,
|
||||||
"ranges": ranges,
|
"ranges": ranges,
|
||||||
"id": id
|
"id": id
|
||||||
}
|
}
|
||||||
|
|
||||||
console.log(param);
|
console.log(param);
|
||||||
submit(
|
// submit(
|
||||||
{
|
// {
|
||||||
type: type,
|
// type: type,
|
||||||
manageId: userInfo.userInfos.id,
|
// startDate:state.startTime,
|
||||||
status: 0,
|
// endDate:state.endTime,
|
||||||
disasterId: state.selectID,
|
// manageId: userInfo.userInfos.id,
|
||||||
id: (id ? id : null)
|
// status: 0,
|
||||||
}
|
// disasterId: state.selectID,
|
||||||
).then(ret => {
|
// id: (id ? id : null)
|
||||||
if (ret == 1042) {
|
// }
|
||||||
ElMessage.error("error")
|
// ).then(ret => {
|
||||||
} else {
|
// if (ret == 1042) {
|
||||||
|
// ElMessage.error("error")
|
||||||
|
// } else {
|
||||||
|
|
||||||
rs(param).then(res => {
|
// rs(stime, etime, disaster_id, ranges, type = 1).then(res => {
|
||||||
console.log(res);
|
// console.log(res);
|
||||||
// getData();
|
// // getData();
|
||||||
ElMessage({
|
// ElMessage({
|
||||||
message: 'Success, Start crawling.',
|
// message: 'Success, Start crawling.',
|
||||||
type: 'success',
|
// type: 'success',
|
||||||
})
|
// })
|
||||||
})
|
// })
|
||||||
|
|
||||||
}
|
// }
|
||||||
})
|
// })
|
||||||
}
|
}
|
||||||
|
|
||||||
// 清空搜索条件
|
// 清空搜索条件
|
||||||
|
|
|
@ -190,15 +190,7 @@
|
||||||
style="height:35px;"></el-input>
|
style="height:35px;"></el-input>
|
||||||
</el-container>
|
</el-container>
|
||||||
|
|
||||||
<<<<<<< HEAD
|
<MapPage style="height:350px ; width:100% ;margin-bottom: 10px;" ref="mapRef"></MapPage>
|
||||||
<MapPage
|
|
||||||
style="height:350px ; width:100% ;margin-bottom: 10px;"
|
|
||||||
ref="mapRef">
|
|
||||||
</MapPage>
|
|
||||||
=======
|
|
||||||
<MapPage style="height:350px ; width:100% ;margin-bottom: 10px;"
|
|
||||||
ref="mapRef"></MapPage>
|
|
||||||
>>>>>>> zqq
|
|
||||||
|
|
||||||
<el-form-item label="Disaster Time">
|
<el-form-item label="Disaster Time">
|
||||||
<el-date-picker v-model="state.edit.disasterTime"
|
<el-date-picker v-model="state.edit.disasterTime"
|
||||||
|
|
Loading…
Reference in New Issue