From c2fd0bf273c19874d7f1a4f6f6a304ac723b42e3 Mon Sep 17 00:00:00 2001 From: riku <risaku@163.com> Date: 星期一, 22 九月 2025 09:50:48 +0800 Subject: [PATCH] 2025.9.22 扬尘月度简报分解数据产品(基础-现场巡查、中间-月度巡查简报)完成 --- src/api/fysp/dataproductApi.js | 23 +++++++++++++++++++++-- 1 files changed, 21 insertions(+), 2 deletions(-) diff --git a/src/api/fysp/dataproductApi.js b/src/api/fysp/dataproductApi.js index 994fc55..1790067 100644 --- a/src/api/fysp/dataproductApi.js +++ b/src/api/fysp/dataproductApi.js @@ -18,7 +18,7 @@ } // 鏂囨。宸插瓨鍦紝杩斿洖鏂囦欢鏁版嵁娴� else { - return res.data + return res; // const name = Base64.decode(res.headers.get('filename')); // const url = window.URL.createObjectURL(res.data); // const link = document.createElement('a'); @@ -30,5 +30,24 @@ // window.URL.revokeObjectURL(url); } }); - } + }, + + /** + * 鑾峰彇闂鏁存敼娓呭崟 + */ + fetchProbChangeList(option) { + return $fysp.post(`dataProduct/problemChange?`, option).then((res) => { + return res.data; + }); + }, + + /** + * 鑾峰彇闂澶嶅彂娓呭崟 + */ + fetchProbRecurrence(option) { + return $fysp.post(`dataProduct/problemRecurrence?`, option).then((res) => { + return res.data; + }); + }, + }; -- Gitblit v1.9.3