|
|
|
@ -61,19 +61,22 @@
|
|
|
|
|
{{ airportVal.drone_charge_state ? airportVal.drone_charge_state.capacity_percent : 0 }} %
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<!-- <div class="content-button">
|
|
|
|
|
<a-button type="primary" style="background: #3a57e8" @click="emits('changeLive')"
|
|
|
|
|
<div class="content-button">
|
|
|
|
|
<a-button
|
|
|
|
|
type="primary"
|
|
|
|
|
style="background: #3a57e8; width: 100%"
|
|
|
|
|
@click="emits('changeLive')"
|
|
|
|
|
>机场直播</a-button
|
|
|
|
|
>
|
|
|
|
|
<a-button type="primary" style="background: #0a99eb" @click="emits('changeRemote')"
|
|
|
|
|
<!-- <a-button type="primary" style="background: #0a99eb" @click="emits('changeRemote')"
|
|
|
|
|
>远程调试</a-button
|
|
|
|
|
>
|
|
|
|
|
</div> -->
|
|
|
|
|
> -->
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</template>
|
|
|
|
|
<script setup lang="ts">
|
|
|
|
|
import { onMounted, ref, watch } from 'vue';
|
|
|
|
|
import { onMounted, ref, watch, onUnmounted } from 'vue';
|
|
|
|
|
import { getClient, createConnection } from '@/utils/mqtt';
|
|
|
|
|
import { timestampToFormattedDate } from '@/utils/index';
|
|
|
|
|
|
|
|
|
@ -109,6 +112,7 @@
|
|
|
|
|
},
|
|
|
|
|
);
|
|
|
|
|
onMounted(() => {});
|
|
|
|
|
onUnmounted(() => {});
|
|
|
|
|
</script>
|
|
|
|
|
<style lang="less" scoped>
|
|
|
|
|
.airport-information {
|
|
|
|
|