From a7e6761ba0cfccdf33ed552eb2d3b783c8e4ab4a Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Wed, 16 Apr 2025 20:49:12 +0800
Subject: [PATCH] feat:事件弹窗显示调整

---
 src/api/home/index.js |   17 ++++++++++++++++-
 1 files changed, 16 insertions(+), 1 deletions(-)

diff --git a/src/api/home/index.js b/src/api/home/index.js
index da21b03..b4b3556 100644
--- a/src/api/home/index.js
+++ b/src/api/home/index.js
@@ -76,7 +76,7 @@
 // 当前巡检任务列表
 export const getTodayJob = data => {
 	return request({
-		url: '/drone-device-core/wayline/waylineJobInfo/todayJob',
+		url: `/drone-device-core/wayline/waylineJobInfo/todayJob?current=${data.current}&size=${data.size}`,
 		method: 'post',
 		data,
 	})
@@ -107,3 +107,18 @@
 		params: { code },
 	})
 }
+// 立即返航
+export const flyByJobId = jobId => {
+	return request({
+		url: '/drone-device-core/wayline/api/v1/workspaces/flyByJobId?jobId=' + jobId,
+		method: 'post',
+	})
+}
+// 再次执行
+export const returnHome = sn => {
+	return request({
+		url: `/drone-device-core/dp/home/${sn}/drc/returnHome`,
+		method: 'post',
+	})
+}
+

--
Gitblit v1.9.3