From 02409bfbe15f22fc3b5dccadabfd860a660a49d9 Mon Sep 17 00:00:00 2001
From: 罗广辉 <guanghui.luo@foxmail.com>
Date: Sat, 11 Oct 2025 10:37:14 +0800
Subject: [PATCH] feat: 名称修改

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

diff --git a/src/api/job/task.js b/src/api/job/task.js
index b1eb8fb..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 },
 	})
 }
 
@@ -225,6 +225,16 @@
 	})
 }
 
+export const getSFDictionaryTree = (params) => {
+	return request({
+	  url: '/blade-system/dict-biz/dictionary-tree',
+	  method: 'get',
+	  params: {
+		...params,
+	  },
+	});
+  };
+
 // 生成固定uuid
 const uuid = uuidv4()
 // 轮询刷新
@@ -245,4 +255,4 @@
 		method: 'post',
 		data: data,
 	})
-}
\ No newline at end of file
+}

--
Gitblit v1.9.3