From 87e19b5a396ac8fed6a551828b87d263f6425c31 Mon Sep 17 00:00:00 2001
From: riku <risaku@163.com>
Date: 星期四, 16 十月 2025 10:26:12 +0800
Subject: [PATCH] 2025.10.16 修改季度报告生成逻辑
---
src/api/gridApi.js | 48 +++++++++++++++++++++++++++++++++++++++++++-----
1 files changed, 43 insertions(+), 5 deletions(-)
diff --git a/src/api/gridApi.js b/src/api/gridApi.js
index 83a8c4d..4d971b1 100644
--- a/src/api/gridApi.js
+++ b/src/api/gridApi.js
@@ -46,6 +46,29 @@
.then((res) => res.data);
},
+ /**
+ * 鑾峰彇缃戞牸缁勪笅鐨勯仴娴嬫暟鎹�
+ * @param {*} gridData 缃戞牸鏁版嵁
+ * @returns
+ */
+ fetchGridData2(gridData) {
+ return $http
+ .post(`air/satellite/grid/data2`, gridData)
+ .then((res) => res.data);
+ },
+
+ /**
+ * 鍒犻櫎缃戞牸鏁版嵁
+ * @param {Number} dataId 鏁版嵁id
+ */
+ deleteGridData(dataId) {
+ return $http
+ .delete(`air/satellite/grid/data/delete`, {
+ params: { dataId }
+ })
+ .then((res) => res.data);
+ },
+
// /**
// * 鑾峰彇缃戞牸缁勪笅鐨勯仴娴媋od
// * @param {*} groupId
@@ -144,10 +167,25 @@
.then((res) => res.data);
},
- buildUnderwayProduct(missionCode, groupId) {
- return $http.get(`air/satellite/import/grid/aod/download/template`, {
- responseType: 'blob'
- });
+ /**
+ * 鐢熸垚璧拌埅缃戞牸铻嶅悎璁板綍
+ * @param {*} gridData
+ * @returns
+ */
+ buildUnderwayProduct(gridData) {
+ return $http
+ .post(`air/satellite/product/underway/build`, gridData)
+ .then((res) => res.data);
+ },
+
+ mixUnderwayGridData(groupId, dataIdList) {
+ return $http
+ .post(`air/satellite/product/underway/mix`, dataIdList, {
+ params: {
+ groupId
+ }
+ })
+ .then((res) => res.data);
},
buildUnderwayHeatmap(groupId, gridDataDetailList, searchLength) {
@@ -158,7 +196,7 @@
{
params: {
groupId: groupId,
- searchLength: 4
+ searchLength: searchLength
}
}
)
--
Gitblit v1.9.3