index.d.ts 727 B

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