riku
2025-09-16 5ad61d6ad3a0ce12c7fe0808527069b09a7c9c0d
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;
    });
  },
};