rpt_output_to file.js 411 B

123456789101112131415161718192021
  1. /**
  2. * Created by lishihao on 2025/1/23.
  3. * 报表数据导出为文件
  4. * 包括配置、报表树、报表模板、指标
  5. */
  6. let reportDataOutputHelper = {
  7. outPutFile: async function () {
  8. CommonAjax.postEx(
  9. "report_tpl_api/getAllBackupData",
  10. {},
  11. 200000,
  12. true,
  13. function (result) {
  14. // 下载文件
  15. window.open(result);
  16. }
  17. );
  18. return [];
  19. },
  20. };