diff --git a/src/views/dataService/remoteSensingData/components/retrievalCondition.vue b/src/views/dataService/remoteSensingData/components/retrievalCondition.vue index b9c0982..a5612b2 100644 --- a/src/views/dataService/remoteSensingData/components/retrievalCondition.vue +++ b/src/views/dataService/remoteSensingData/components/retrievalCondition.vue @@ -202,21 +202,22 @@ const state = reactive({ label: '>50m', value: '>50m' }], + ////'1-Optical satellite, 2-Night light satellite, 3-Video satellite, 4-Hyperspectral satellite, 5-Radar satellite' options_satelliteType: [{ label: 'Optical satellite', - value: 'Optical satellite' + value: 1 }, { label: 'Hyperspectral satellite', - value: 'Hyperspectral satellite' + value: 4 }, { label: 'Radar satellite', - value: 'Radar satellite' + value: 5 }, { label: 'Night light satellite', - value: 'Night light satellite' + value: 2 }, { label: 'Video satellite', - value: 'Video satellite' + value: 3 }], value_satelliteType: '', value_resolution: [], @@ -295,19 +296,6 @@ const addRemoteSensingData = (data, fileList) => { // 查询遥感元数据 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 productResolutionMax = null @@ -357,10 +345,10 @@ const searchRemoteSensingSourceData = () => { } let dataNew = {}; - if (state.satelliteCodeList.length != 0) { + if (state.value_satelliteType.length != 0) { dataNew = { disasterId: state.disasterId, - satelliteCodeList: state.satelliteCodeList.join(","), + satelliteCodeList: state.value_satelliteType.join(","), productResolutionVos: state.listData, status: state.status }