From 307b17ef15c73a071912a262834f2a5f68e1fa87 Mon Sep 17 00:00:00 2001
From: riku <risaku@163.com>
Date: 星期四, 11 九月 2025 15:20:35 +0800
Subject: [PATCH] 完成走航季度报告自动生成

---
 src/api/thirdPartyDataApi.js |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/api/thirdPartyDataApi.js b/src/api/thirdPartyDataApi.js
index cc326dd..093b51b 100644
--- a/src/api/thirdPartyDataApi.js
+++ b/src/api/thirdPartyDataApi.js
@@ -35,10 +35,10 @@
     }
     if (!label) return;
 
-    let params = `label=${label}&deviceType=${deviceType}&deviceCode=${deviceCode}`;
-    params += startTime ? `&startTime=${startTime}` : '';
     return $http
-      .get(`air/thirdParty/data/fetch/latest?${params}`)
+      .get(`air/thirdParty/data/fetch/latest`, {
+        params: { label, deviceType, deviceCode, startTime }
+      })
       .then((res) => res.data);
   }
 };

--
Gitblit v1.9.3