From 53b06d19ad96aab229f8ee43e9d2e67a53224ef1 Mon Sep 17 00:00:00 2001
From: 张含笑 <zhx18749296735@163.com>
Date: Thu, 14 Aug 2025 15:39:55 +0800
Subject: [PATCH] feat:恢复算法仓库areaCode

---
 src/api/algorithm.js                                  |    4 ++--
 src/views/algorithmRepository/algorithmRepository.vue |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/api/algorithm.js b/src/api/algorithm.js
index 1b72eea..0543cdf 100644
--- a/src/api/algorithm.js
+++ b/src/api/algorithm.js
@@ -10,10 +10,10 @@
     })
   }
 //机巢查询
-export const selectDeviceList = params => {
+export const selectDeviceList = data => {
 	return request({
         url: `/drone-device-core/aiTmp/devices`,
 		method: 'get',
-		params,
+		data: data,
 	})
 }
\ No newline at end of file
diff --git a/src/views/algorithmRepository/algorithmRepository.vue b/src/views/algorithmRepository/algorithmRepository.vue
index c64cedb..7aaa36d 100644
--- a/src/views/algorithmRepository/algorithmRepository.vue
+++ b/src/views/algorithmRepository/algorithmRepository.vue
@@ -179,7 +179,7 @@
 const getDeviceList = () => {
 console.log('userAreaCode',userAreaCode.value);
 // { areaCode: userAreaCode.value }
-  selectDeviceList({ areaCode: userAreaCode.value }).then(res => {
+  selectDeviceList().then(res => {
     jcoptions.value = res.data.data;
     console.log('机巢数',jcoptions.value );
     

--
Gitblit v1.9.3