diff --git a/src/views/demo/workmanagement/flightoperation/index.ts b/src/views/demo/workmanagement/flightoperation/index.ts index 36f4b37..3105045 100644 --- a/src/views/demo/workmanagement/flightoperation/index.ts +++ b/src/views/demo/workmanagement/flightoperation/index.ts @@ -9,4 +9,5 @@ export { default as FlightControl } from './src/FlightControl.vue'; export { default as TakeOffForm } from './src/TakeOffForm.vue'; export { default as FlyToForm } from './src/FlyToForm.vue'; export { default as Patrol } from './src/Patrol.vue'; +export { default as Report } from './src/Report.vue'; export { default as Map } from '../workplan/components/map.vue'; diff --git a/src/views/demo/workmanagement/flightoperation/index.vue b/src/views/demo/workmanagement/flightoperation/index.vue index 9681cf5..e923e8b 100644 --- a/src/views/demo/workmanagement/flightoperation/index.vue +++ b/src/views/demo/workmanagement/flightoperation/index.vue @@ -72,17 +72,18 @@ @loadLiveStreaming="livePreviewVisible = false" @changeCameraType="changeCameraType" /> -
+
diff --git a/src/views/demo/workmanagement/workplan/components/createWorkPlan.vue b/src/views/demo/workmanagement/workplan/components/createWorkPlan.vue index 0aa0a18..1c943f6 100644 --- a/src/views/demo/workmanagement/workplan/components/createWorkPlan.vue +++ b/src/views/demo/workmanagement/workplan/components/createWorkPlan.vue @@ -157,6 +157,7 @@ @@ -489,7 +490,7 @@ watch( } ) -const emit = defineEmits(['selectAriLine','cancleCraete',"selectAircraft","successCreatePlan"]); +const emit = defineEmits(['selectAriLine','cancleCraete',"selectAircraft","successCreatePlan","intelligentPatrol"]); const removeAirLine = ()=>{ props.checkedAriLine.value = {}; @@ -719,7 +720,11 @@ const handleRepeatTypeChange = ()=>{ submitForm.value.periodicFormula = cronTime; } - +const changeAiInspection = (val)=>{ + if(val){ + emit('intelligentPatrol') + } +}