将报表导出为xml。
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

29 lines
991 B

/**
* Created by richie on 16/1/21.
*/
(function($){
// 你好啊,导出
$.extend(FR.WritePane.prototype, {
exportReportToXML : function() {
if (this.fireEvent("beforexml") === false) {
return;
}
var self = this;
this.saveReport(function () {
window.location = FR.servletURL + "?op=export&sessionID=" + self.currentSessionID + "&format=xml";
FR.progressBar(self.currentSessionID,"xml");
self.fireEvent("afterxml");
});
}
});
$.extend(FR.PagePane.prototype, {
exportReportToXML : function() {
if (this.fireEvent("beforexml") === false) {
return;
}
window.location = FR.servletURL + "?op=export&sessionID=" + this.currentSessionID + "&format=xml";
FR.progressBar(this.currentSessionID, "xml");
this.fireEvent("afterxml");
}
});
})(jQuery);