|
|
|
@ -79,39 +79,39 @@
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="content-edit">
|
|
|
|
|
飞行器夜航灯
|
|
|
|
|
经度
|
|
|
|
|
<div>
|
|
|
|
|
<a-input v-model:value="data.navigationLight" />
|
|
|
|
|
<EditOutlined style="color: #0a99eb; cursor: pointer" />
|
|
|
|
|
<a-input v-model:value="uavLocation.longitude" readonly />
|
|
|
|
|
<!-- <EditOutlined style="color: #0a99eb; cursor: pointer" /> -->
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="content-edit">
|
|
|
|
|
备降转移高度
|
|
|
|
|
维度
|
|
|
|
|
<div>
|
|
|
|
|
<a-input v-model:value="data.altitude" readonly />
|
|
|
|
|
<a-input v-model:value="uavLocation.latitude" readonly />
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="content-edit">
|
|
|
|
|
限高
|
|
|
|
|
高度
|
|
|
|
|
<div>
|
|
|
|
|
<a-input v-model:value="data.heightPermitted" />
|
|
|
|
|
<EditOutlined style="color: #0a99eb; cursor: pointer" />
|
|
|
|
|
<a-input v-model:value="uavLocation.height" readonly />
|
|
|
|
|
<!-- <EditOutlined style="color: #0a99eb; cursor: pointer" /> -->
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="content-edit">
|
|
|
|
|
<!-- <div class="content-edit">
|
|
|
|
|
限远
|
|
|
|
|
<div>
|
|
|
|
|
<a-input v-model:value="data.limitedRange" />
|
|
|
|
|
<EditOutlined style="color: #0a99eb; cursor: pointer" />
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="content-edit">
|
|
|
|
|
</div> -->
|
|
|
|
|
<!-- <div class="content-edit">
|
|
|
|
|
避障
|
|
|
|
|
<div>
|
|
|
|
|
<a-input v-model:value="data.obstacleAvoidance" />
|
|
|
|
|
<EditOutlined style="color: #0a99eb; cursor: pointer" />
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div> -->
|
|
|
|
|
<div class="content-button">
|
|
|
|
|
<a-button type="primary" style="background: #3a57e8" @click="emits('changeFlightControl')"
|
|
|
|
|
>飞行控制</a-button
|
|
|
|
@ -124,7 +124,7 @@
|
|
|
|
|
<a-button
|
|
|
|
|
type="primary"
|
|
|
|
|
style="background: #3a57e8; width: 100%"
|
|
|
|
|
@click="emits('loadLiveStreaming')"
|
|
|
|
|
@click="emits('loadLiveStreaming', uavInformation.sub_device.device_online_status)"
|
|
|
|
|
>负载直播</a-button
|
|
|
|
|
>
|
|
|
|
|
</div>
|
|
|
|
@ -139,10 +139,12 @@
|
|
|
|
|
|
|
|
|
|
const airPortStoreVal = airPortStore();
|
|
|
|
|
const airPort = airPortStoreVal.getAirport;
|
|
|
|
|
const uav = airPortStoreVal.getUAV;
|
|
|
|
|
|
|
|
|
|
const emits = defineEmits(['changeLoadControl', 'changeFlightControl', 'loadLiveStreaming']);
|
|
|
|
|
const props = defineProps({
|
|
|
|
|
msgData: Object,
|
|
|
|
|
uavTrack: Object,
|
|
|
|
|
});
|
|
|
|
|
const data = reactive({
|
|
|
|
|
navigationLight: '关闭',
|
|
|
|
@ -151,6 +153,11 @@
|
|
|
|
|
limitedRange: '500m',
|
|
|
|
|
obstacleAvoidance: '500m',
|
|
|
|
|
});
|
|
|
|
|
const uavLocation = ref({
|
|
|
|
|
longitude: 0,
|
|
|
|
|
latitude: 0,
|
|
|
|
|
height: 0,
|
|
|
|
|
});
|
|
|
|
|
const uavInformation = ref({
|
|
|
|
|
sub_device: {
|
|
|
|
|
// 飞行器状态
|
|
|
|
@ -193,6 +200,14 @@
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
);
|
|
|
|
|
watch(
|
|
|
|
|
() => props.uavTrack,
|
|
|
|
|
(val) => {
|
|
|
|
|
uavLocation.value.longitude = val.longitude;
|
|
|
|
|
uavLocation.value.latitude = val.latitude;
|
|
|
|
|
uavLocation.value.height = val.height;
|
|
|
|
|
},
|
|
|
|
|
);
|
|
|
|
|
</script>
|
|
|
|
|
<style lang="less" scoped>
|
|
|
|
|
.airport-information {
|
|
|
|
@ -257,7 +272,7 @@
|
|
|
|
|
input {
|
|
|
|
|
background: none;
|
|
|
|
|
border: none;
|
|
|
|
|
width: 100px;
|
|
|
|
|
width: 160px;
|
|
|
|
|
text-align: right;
|
|
|
|
|
color: #fff;
|
|
|
|
|
font-size: 12px;
|
|
|
|
|