12345678910111213141516171819202122232425262728 |
- declare type SaveCallback = (saveTemplate: string, callback: (result: boolean) => void) => void;
- export default class ReportApi {
- /**
- *设计模板
- *
- * @param {string} fileName 模板
- * @param {string} tempData 临时演示数据
- * @memberof ReportApi
- */
- static designerReport(template: string, tempData: string, saveCallback: SaveCallback): void;
- /**
- *打印预览
- *
- * @param {string} fileName 模板路径
- * @param {string} jsonData 数据
- * @memberof ReportApi
- */
- static reportShowPreview(fileName: string, jsonData: string): void;
- /**
- *打印
- *
- * @param {string} fileName 模板路径
- * @param {string} jsonData 数据
- * @memberof ReportApi
- */
- static reportPrinter(fileName: string, jsonData: string): void;
- }
- export {};
|