| | |
| | | type="primary" |
| | | size="small" |
| | | @click="openAircra(1)"> |
| | | M30T相机 |
| | | {{ osdVisible.model || 'M30T' }}相机 |
| | | </a-button> |
| | | </a-col> |
| | | </a-row> |
| | |
| | | :payloads="osdVisible.payloads"> |
| | | </DroneControlPanel> |
| | | </div> |
| | | <!-- <waylineTool /> --> |
| | | <routeProfile /> |
| | | </div> |
| | | <div class="event-wrapper" v-if="false"> |
| | | <eventEdit /> |
| | | </div> |
| | | <eventEdit /> |
| | | </div> |
| | | </template> |
| | | |
| | |
| | | import Cesium from './cesiumMap/cesium.vue' |
| | | import { convertTimestampToDate } from '/@/utils/time' |
| | | import { cesiumOperation } from '/@/hooks/use-cesium-tsa' |
| | | import waylineTool from './waylinetool/index.vue' |
| | | import routeProfile from './waylinetool/route-profile.vue' |
| | | export default defineComponent({ |
| | | components: { |
| | |
| | | CarryOutOutlined, |
| | | RocketOutlined, |
| | | DesktopOutlined, |
| | | waylineTool, |
| | | routeProfile, |
| | | eventEdit |
| | | }, |
| | |
| | | label: string |
| | | more?: any |
| | | } |
| | | |
| | | // 打开飞行控制 |
| | | const openDroneControl = ref(false) |
| | | const root = getRoot() |
| | |
| | | vadeosList: v.videos_list, |
| | | } |
| | | }) |
| | | aircraSelected.value = aircraftList.value[index].value |
| | | // 展示这样写, fpv有问题 |
| | | if (aircraftList.value[index]) { |
| | | aircraSelected.value = aircraftList.value[index].value |
| | | } else { |
| | | const i = aircraftList.value.length - 1 |
| | | aircraSelected.value = aircraftList.value[i].value |
| | | } |
| | | flyOnStart() |
| | | } else { |
| | | showAircraft.value = false |
| | |
| | | aircrafIndex, |
| | | airPortOption, |
| | | controlStatus, |
| | | convertTimestampToDate, |
| | | convertTimestampToDate |
| | | } |
| | | }, |
| | | }) |
| | |
| | | .map-container { |
| | | height: 100%; |
| | | display: flex; |
| | | .event-wrapper { |
| | | width: 350px; |
| | | height: 100%; |
| | | } |
| | | } |
| | | |
| | | .g-map-wrapper { |