index.d.ts 752 B

1234567891011121314151617181920212223242526
  1. export default class ReportApi {
  2. /**
  3. *设计模板
  4. *
  5. * @param {string} fileName 模板
  6. * @param {string} tempData 临时演示数据
  7. * @memberof ReportApi
  8. */
  9. static designerReport(template: string, tempData: string, saveCallback: (saveTemplate: string) => boolean): void;
  10. /**
  11. *打印预览
  12. *
  13. * @param {string} fileName 模板路径
  14. * @param {string} jsonData 数据
  15. * @memberof ReportApi
  16. */
  17. static reportShowPreview(fileName: string, jsonData: string): void;
  18. /**
  19. *打印
  20. *
  21. * @param {string} fileName 模板路径
  22. * @param {string} jsonData 数据
  23. * @memberof ReportApi
  24. */
  25. static reportPrinter(fileName: string, jsonData: string): void;
  26. }