|
@@ -22,7 +22,7 @@ var callbackPointer;
|
|
|
var dll = ffi.Library(dllPath, {
|
|
|
designerReport: ['void', ['string', 'string']],
|
|
|
reportShowPreview: ['void', ['string', 'string']],
|
|
|
- reportPrinter: ['void', ['string', 'string']],
|
|
|
+ reportPrinter: ['void', ['string', 'string', 'bool']],
|
|
|
waitSaveOrClose: ['void', ['pointer']]
|
|
|
});
|
|
|
var ReportApi = /** @class */ (function () {
|
|
@@ -77,8 +77,8 @@ var ReportApi = /** @class */ (function () {
|
|
|
* @param {string} jsonData 数据
|
|
|
* @memberof ReportApi
|
|
|
*/
|
|
|
- ReportApi.reportPrinter = function (fileName, jsonData) {
|
|
|
- dll.reportPrinter(fileName, jsonData);
|
|
|
+ ReportApi.reportPrinter = function (fileName, jsonData, isSelectPrinter) {
|
|
|
+ dll.reportPrinter(fileName, jsonData, isSelectPrinter);
|
|
|
};
|
|
|
return ReportApi;
|
|
|
}());
|