@icreate/ics-chromely-plugin-report-js-sdk
Advanced tools
Comparing version 0.0.9-beta.3 to 0.0.9-beta.4
@@ -101,13 +101,15 @@ import icsChromelyRequest from '@icreate/ics-chromely-js-sdk'; | ||
// 预览报表 | ||
Report.prototype.show = function (printerName, showPrintSettings) { | ||
Report.prototype.show = function (printerName, showPrintSettings, closeAfterPrint) { | ||
return this.OperateEx('Show', { | ||
printerName: printerName !== null && printerName !== void 0 ? printerName : '', | ||
showPrintSettings: showPrintSettings !== null && showPrintSettings !== void 0 ? showPrintSettings : false | ||
showPrintSettings: showPrintSettings !== null && showPrintSettings !== void 0 ? showPrintSettings : false, | ||
closeAfterPrint: closeAfterPrint !== null && closeAfterPrint !== void 0 ? closeAfterPrint : false | ||
}); | ||
}; | ||
// 预览准备报表 | ||
Report.prototype.showPrepared = function (printerName, showPrintSettings) { | ||
Report.prototype.showPrepared = function (printerName, showPrintSettings, closeAfterPrint) { | ||
return this.OperateEx('ShowPrepared', { | ||
printerName: printerName !== null && printerName !== void 0 ? printerName : '', | ||
showPrintSettings: showPrintSettings !== null && showPrintSettings !== void 0 ? showPrintSettings : false | ||
showPrintSettings: showPrintSettings !== null && showPrintSettings !== void 0 ? showPrintSettings : false, | ||
closeAfterPrint: closeAfterPrint !== null && closeAfterPrint !== void 0 ? closeAfterPrint : false | ||
}); | ||
@@ -114,0 +116,0 @@ }; |
@@ -107,13 +107,15 @@ (function (global, factory) { | ||
// 预览报表 | ||
Report.prototype.show = function (printerName, showPrintSettings) { | ||
Report.prototype.show = function (printerName, showPrintSettings, closeAfterPrint) { | ||
return this.OperateEx('Show', { | ||
printerName: printerName !== null && printerName !== void 0 ? printerName : '', | ||
showPrintSettings: showPrintSettings !== null && showPrintSettings !== void 0 ? showPrintSettings : false | ||
showPrintSettings: showPrintSettings !== null && showPrintSettings !== void 0 ? showPrintSettings : false, | ||
closeAfterPrint: closeAfterPrint !== null && closeAfterPrint !== void 0 ? closeAfterPrint : false | ||
}); | ||
}; | ||
// 预览准备报表 | ||
Report.prototype.showPrepared = function (printerName, showPrintSettings) { | ||
Report.prototype.showPrepared = function (printerName, showPrintSettings, closeAfterPrint) { | ||
return this.OperateEx('ShowPrepared', { | ||
printerName: printerName !== null && printerName !== void 0 ? printerName : '', | ||
showPrintSettings: showPrintSettings !== null && showPrintSettings !== void 0 ? showPrintSettings : false | ||
showPrintSettings: showPrintSettings !== null && showPrintSettings !== void 0 ? showPrintSettings : false, | ||
closeAfterPrint: closeAfterPrint !== null && closeAfterPrint !== void 0 ? closeAfterPrint : false | ||
}); | ||
@@ -120,0 +122,0 @@ }; |
@@ -95,13 +95,15 @@ "use strict"; | ||
// 预览报表 | ||
Report.prototype.show = function (printerName, showPrintSettings) { | ||
Report.prototype.show = function (printerName, showPrintSettings, closeAfterPrint) { | ||
return this.OperateEx('Show', { | ||
printerName: printerName !== null && printerName !== void 0 ? printerName : '', | ||
showPrintSettings: showPrintSettings !== null && showPrintSettings !== void 0 ? showPrintSettings : false | ||
showPrintSettings: showPrintSettings !== null && showPrintSettings !== void 0 ? showPrintSettings : false, | ||
closeAfterPrint: closeAfterPrint !== null && closeAfterPrint !== void 0 ? closeAfterPrint : false | ||
}); | ||
}; | ||
// 预览准备报表 | ||
Report.prototype.showPrepared = function (printerName, showPrintSettings) { | ||
Report.prototype.showPrepared = function (printerName, showPrintSettings, closeAfterPrint) { | ||
return this.OperateEx('ShowPrepared', { | ||
printerName: printerName !== null && printerName !== void 0 ? printerName : '', | ||
showPrintSettings: showPrintSettings !== null && showPrintSettings !== void 0 ? showPrintSettings : false | ||
showPrintSettings: showPrintSettings !== null && showPrintSettings !== void 0 ? showPrintSettings : false, | ||
closeAfterPrint: closeAfterPrint !== null && closeAfterPrint !== void 0 ? closeAfterPrint : false | ||
}); | ||
@@ -108,0 +110,0 @@ }; |
@@ -29,4 +29,4 @@ export default class Report { | ||
design(): Promise<any>; | ||
show(printerName?: string, showPrintSettings?: boolean): Promise<any>; | ||
showPrepared(printerName?: string, showPrintSettings?: boolean): Promise<any>; | ||
show(printerName?: string, showPrintSettings?: boolean, closeAfterPrint?: boolean): Promise<any>; | ||
showPrepared(printerName?: string, showPrintSettings?: boolean, closeAfterPrint?: boolean): Promise<any>; | ||
print(printerName?: string, showPrintSettings?: boolean): Promise<any>; | ||
@@ -33,0 +33,0 @@ printPrepared(printerName?: string, showPrintSettings?: boolean): Promise<any>; |
{ | ||
"name": "@icreate/ics-chromely-plugin-report-js-sdk", | ||
"version": "0.0.9-beta.3", | ||
"version": "0.0.9-beta.4", | ||
"description": "提供报表设计、清空、预览、打印、注册数据源等功能", | ||
@@ -123,4 +123,4 @@ "keywords": [], | ||
"@icreate/core": "^0.0.15", | ||
"@icreate/ics-chromely-plugin-report-js-sdk": "^0.0.9-beta.2" | ||
"@icreate/ics-chromely-plugin-report-js-sdk": "^0.0.9-beta.3" | ||
} | ||
} |
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
48764
464