From a959ea6449c07afdd110968f43f7842a3d4b5a0b Mon Sep 17 00:00:00 2001
From: 罗广辉 <guanghui.luo@foxmail.com>
Date: Wed, 10 Sep 2025 11:11:49 +0800
Subject: [PATCH] feat: 过滤下线的机巢

---
 src/api/job/task.js |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/api/job/task.js b/src/api/job/task.js
index f6a28a1..6eeeb84 100644
--- a/src/api/job/task.js
+++ b/src/api/job/task.js
@@ -190,11 +190,11 @@
 	})
 }
 
-export const getDeviceRegion = params => {
+export const getDeviceRegion = data => {
 	return request({
 		url: '/drone-device-core/manage/api/v1/devices/getDeviceRegion',
-		method: 'get',
-		params,
+		method: 'post',
+		data:{ hidden_flag:0, ...data },
 	})
 }
 
@@ -255,4 +255,4 @@
 		method: 'post',
 		data: data,
 	})
-}
\ No newline at end of file
+}

--
Gitblit v1.9.3