From 9a61e46d96536f3299e57f7259ae1c9972256ec6 Mon Sep 17 00:00:00 2001
From: riku <risaku@163.com>
Date: 星期二, 30 九月 2025 09:42:09 +0800
Subject: [PATCH] 1. 隐藏未完成的账户匹配页面 2. 根据第三方新的接口文档修改接口url地址
---
src/api/fysp/dataproductApi.js | 25 ++++++++++++++++++++++---
1 files changed, 22 insertions(+), 3 deletions(-)
diff --git a/src/api/fysp/dataproductApi.js b/src/api/fysp/dataproductApi.js
index cdcbf76..1790067 100644
--- a/src/api/fysp/dataproductApi.js
+++ b/src/api/fysp/dataproductApi.js
@@ -8,7 +8,7 @@
downloadProduct(area, type, forceUpdate) {
return $fysp
.post(`dataProduct/download?`, area, {
- responseType: 'arraybuffer',
+ responseType: 'blob',
params: { type, forceUpdate }
})
.then((res) => {
@@ -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