From 744f3b89a2ed8832f669f322ace820d65cba33fc Mon Sep 17 00:00:00 2001
From: guoshilong <123456>
Date: Fri, 13 Oct 2023 10:25:40 +0800
Subject: [PATCH] 调整表格宽度

---
 src/api/wayline.ts |   15 +++++++++++++++
 1 files changed, 15 insertions(+), 0 deletions(-)

diff --git a/src/api/wayline.ts b/src/api/wayline.ts
index c2472c7..b6170f4 100644
--- a/src/api/wayline.ts
+++ b/src/api/wayline.ts
@@ -28,6 +28,12 @@
     return result.data
   }
 }
+// get Wayline File
+export const getWayLineFile = async function (workspaceId: string, waylineId: string) {
+  const url = `${HTTP_PREFIX}/workspaces/${workspaceId}/waylines/${waylineId}/urlData`
+  const result = await request.get(url)
+  return result.data
+}
 
 // Delete Wayline File
 export const deleteWaylineFile = async function (workspaceId: string, waylineId: string): Promise<IWorkspaceResponse<any>> {
@@ -69,6 +75,15 @@
   task_periods?: number[][] // 执行任务的时间点(秒)
   rth_altitude: number // 相对机场返航高度 20 - 500
   out_of_control_action: OutOfControlAction // 失控动作
+
+
+  //重复频率类型
+  rep_fre_type?:number
+  //重复频率值
+  rep_fre_val?:number
+  // 重复规则值
+  rep_rule_val?:[]
+  rep_rule_type?:number
 }
 // 新增计划
 export const createPlan = async function (workspaceId: string, plan: CreatePlan): Promise<IWorkspaceResponse<any>> {

--
Gitblit v1.9.3