From 0b906280ec163a3e80364e091550d8462db6b9f9 Mon Sep 17 00:00:00 2001
From: jihongshun <1151753686@qq.com>
Date: 星期四, 28 八月 2025 17:25:25 +0800
Subject: [PATCH] 更改默认值

---
 src/views/system/project/index.vue |   30 ++++++++++++++++++++++++++++--
 1 files changed, 28 insertions(+), 2 deletions(-)

diff --git a/src/views/system/project/index.vue b/src/views/system/project/index.vue
index 1c14cb7..701ab83 100644
--- a/src/views/system/project/index.vue
+++ b/src/views/system/project/index.vue
@@ -18,7 +18,21 @@
       </el-col>
      </el-row>
     
-    <addPorjectDialog  v-if="showDialog" @close="close"></addPorjectDialog>
+    <addPorjectDialog  
+      v-if="showDialog"
+      @close="close"
+      :dji_execute_type="dict.type.dji_execute_type"
+      :dji_finish_type="dict.type.dji_finish_type"
+      :dji_fly_type="dict.type.dji_fly_type"
+      :dji_exitlost_type="dict.type.dji_exitlost_type"
+      :dji_drone_value_type="dict.type.dji_drone_value_type"
+      :dji_template_type="dict.type.dji_template_type"
+      :dji_execute_height_type="dict.type.dji_execute_height_type"
+      :dji_auto_flight_speed="dict.type.dji_auto_flight_speed"
+      :dji_global_waypoint_turn_mode="dict.type.dji_global_waypoint_turn_mode"
+      :dji_mapping_heading_mode="dict.type.dji_mapping_heading_mode"
+      :dji_gimbal_pitch_mode="dict.type.dji_gimbal_pitch_mode"
+     ></addPorjectDialog>
   </div>
 </template>
 
@@ -27,7 +41,19 @@
 import CesiumMap from "../../../utils/components/cesium-map.vue";
 export default {
   name: "towers",
-  dicts: ['model_typpe'],
+  dicts: [
+  'dji_execute_type',
+  'dji_finish_type',
+  'dji_fly_type',
+  'dji_exitlost_type',
+  'dji_drone_value_type',
+  'dji_template_type',
+  'dji_execute_height_type',
+  'dji_auto_flight_speed',
+  'dji_global_waypoint_turn_mode',
+  'dji_mapping_heading_mode',
+  'dji_gimbal_pitch_mode'
+],
   components: {
     addPorjectDialog,
     CesiumMap

--
Gitblit v1.9.3