Merge branch 'main' of http://47.92.168.204:3000/VoRDM/vordm-admin
This commit is contained in:
commit
1d1189f6bc
|
@ -235,21 +235,22 @@ const state = reactive({
|
||||||
label: '>50m',
|
label: '>50m',
|
||||||
value: '>50m'
|
value: '>50m'
|
||||||
}],
|
}],
|
||||||
|
////'1-Optical satellite, 2-Night light satellite, 3-Video satellite, 4-Hyperspectral satellite, 5-Radar satellite'
|
||||||
options_satelliteType: [{
|
options_satelliteType: [{
|
||||||
label: 'Optical satellite',
|
label: 'Optical satellite',
|
||||||
value: 'Optical satellite'
|
value: 1
|
||||||
}, {
|
}, {
|
||||||
label: 'Hyperspectral satellite',
|
label: 'Hyperspectral satellite',
|
||||||
value: 'Hyperspectral satellite'
|
value: 4
|
||||||
}, {
|
}, {
|
||||||
label: 'Radar satellite',
|
label: 'Radar satellite',
|
||||||
value: 'Radar satellite'
|
value: 5
|
||||||
}, {
|
}, {
|
||||||
label: 'Night light satellite',
|
label: 'Night light satellite',
|
||||||
value: 'Night light satellite'
|
value: 2
|
||||||
}, {
|
}, {
|
||||||
label: 'Video satellite',
|
label: 'Video satellite',
|
||||||
value: 'Video satellite'
|
value: 3
|
||||||
}],
|
}],
|
||||||
value_satelliteType: '',
|
value_satelliteType: '',
|
||||||
value_resolution: [],
|
value_resolution: [],
|
||||||
|
@ -326,19 +327,6 @@ const addRemoteSensingData = (data, fileList) => {
|
||||||
|
|
||||||
// 查询遥感元数据
|
// 查询遥感元数据
|
||||||
const searchRemoteSensingSourceData = () => {
|
const searchRemoteSensingSourceData = () => {
|
||||||
// 获取选择的卫星类型
|
|
||||||
for (var i = 0; i < state.value_satelliteType.length; i++) {
|
|
||||||
if (state.value_satelliteType[i] == state.options_satelliteType[0].value) {
|
|
||||||
state.satelliteCodeList.push('Landset8_OLI_TIRS');
|
|
||||||
}
|
|
||||||
else if (state.value_satelliteType[i] == state.options_satelliteType[1].value) {
|
|
||||||
let arrData = ['Sentinel -2_Sentinel - 2A', 'Sentinel -2_Sentinel - 2B', 'GF1', 'GF1B', 'GF1C', 'GF1D', 'GF2', 'GF4', 'GF6'];
|
|
||||||
arrData.forEach(item => {
|
|
||||||
state.satelliteCodeList.push(item);
|
|
||||||
})
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// 获取选择的分辨率
|
// 获取选择的分辨率
|
||||||
var productResolutionMin = 0
|
var productResolutionMin = 0
|
||||||
var productResolutionMax = null
|
var productResolutionMax = null
|
||||||
|
@ -388,10 +376,10 @@ const searchRemoteSensingSourceData = () => {
|
||||||
}
|
}
|
||||||
|
|
||||||
let dataNew = {};
|
let dataNew = {};
|
||||||
if (state.satelliteCodeList.length != 0) {
|
if (state.value_satelliteType.length != 0) {
|
||||||
dataNew = {
|
dataNew = {
|
||||||
disasterId: state.disasterId,
|
disasterId: state.disasterId,
|
||||||
satelliteCodeList: state.satelliteCodeList.join(","),
|
satelliteCodeList: state.value_satelliteType.join(","),
|
||||||
productResolutionVos: state.listData,
|
productResolutionVos: state.listData,
|
||||||
status: state.status
|
status: state.status
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue