@icreate/ics-chromely-plugin-report-js-sdk
Advanced tools
Comparing version 0.0.6 to 0.0.7
@@ -93,7 +93,7 @@ import icsChromelyRequest from '@icreate/ics-chromely-js-sdk'; | ||
Report.prototype.print = function (printerName) { | ||
return this.OperateEx('Print', { printerName: printerName }); | ||
return this.OperateEx('Print', { printerName: printerName !== null && printerName !== void 0 ? printerName : '' }); | ||
}; | ||
// 打印准备报表 | ||
Report.prototype.printPrepared = function (printerName) { | ||
return this.OperateEx('PrintPrepared', { printerName: printerName }); | ||
return this.OperateEx('PrintPrepared', { printerName: printerName !== null && printerName !== void 0 ? printerName : '' }); | ||
}; | ||
@@ -100,0 +100,0 @@ // 释放报表 |
@@ -101,7 +101,7 @@ (function (global, factory) { | ||
Report.prototype.print = function (printerName) { | ||
return this.OperateEx('Print', { printerName: printerName }); | ||
return this.OperateEx('Print', { printerName: printerName !== null && printerName !== void 0 ? printerName : '' }); | ||
}; | ||
// 打印准备报表 | ||
Report.prototype.printPrepared = function (printerName) { | ||
return this.OperateEx('PrintPrepared', { printerName: printerName }); | ||
return this.OperateEx('PrintPrepared', { printerName: printerName !== null && printerName !== void 0 ? printerName : '' }); | ||
}; | ||
@@ -108,0 +108,0 @@ // 释放报表 |
@@ -18,3 +18,3 @@ "use strict"; | ||
* @LastEditors: 文贝 | ||
* @LastEditTime: 2022-09-08 18:30:52 | ||
* @LastEditTime: 2022-09-15 13:19:05 | ||
* @Description: | ||
@@ -88,7 +88,7 @@ * @FilePath: \ics-chromely-plugin-report\src\core\report.ts | ||
Report.prototype.print = function (printerName) { | ||
return this.OperateEx('Print', { printerName: printerName }); | ||
return this.OperateEx('Print', { printerName: printerName !== null && printerName !== void 0 ? printerName : '' }); | ||
}; | ||
// 打印准备报表 | ||
Report.prototype.printPrepared = function (printerName) { | ||
return this.OperateEx('PrintPrepared', { printerName: printerName }); | ||
return this.OperateEx('PrintPrepared', { printerName: printerName !== null && printerName !== void 0 ? printerName : '' }); | ||
}; | ||
@@ -95,0 +95,0 @@ // 释放报表 |
{ | ||
"name": "@icreate/ics-chromely-plugin-report-js-sdk", | ||
"version": "0.0.6", | ||
"version": "0.0.7", | ||
"description": "提供报表设计、清空、预览、打印、注册数据源等功能", | ||
@@ -5,0 +5,0 @@ "keywords": [], |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
36752