| | |
| | | }}</a-col> |
| | | <a-col span="15"> |
| | | <a-select :showArrow="false" v-model:value="aircraSelected" :bordered="false" :options="aircraftList" |
| | | :placeholder="aircraftList.length == 0 || deviceInfo.device?.mode_code == 14 || !deviceInfo.device ? 'N/A' : '请选择'" :disabled="aircraftList.length == 0 ? true : false" |
| | | :placeholder="aircraftList.length == 0 ? 'N/A' : '请选择'" :disabled="aircraftList.length == 0 ? true : false" |
| | | size="small" style="width:100%;background-color: #5d5f61;color: #fff;" @change="selectChange"></a-select> |
| | | </a-col> |
| | | </a-row> |
| | |
| | | const showAircraft = ref(false) |
| | | // 飞机视频列表 |
| | | const aircraftList = ref([]) |
| | | const aircraSelected = ref('') |
| | | const aircraSelected = ref(undefined) |
| | | const state = reactive({ |
| | | currentType: '', |
| | | coverIndex: 0 |
| | |
| | | }) |
| | | // const videoId = deviceInfo.dock.basic_osd?.sub_device?.device_sn + '/' + aircraSelected.value + '/' + 'normal-0' |
| | | aircraftList.value = [] |
| | | aircraSelected.value = '' |
| | | aircraSelected.value = undefined |
| | | } |
| | | // 打开机场操作 |
| | | const openFlySetting = () => { |
| | |
| | | aircraftUrl.value = '' |
| | | showAircraft.value = false |
| | | aircraftList.value = [] |
| | | aircraSelected.value = '' |
| | | aircraSelected.value = undefined |
| | | airPortUrl.value = '' |
| | | droneList.value = [] |
| | | if (deviceInfo.dock.basic_osd?.mode_code === 2) { |