Compare commits

...

2 Commits

Author SHA1 Message Date
최준흠
33b8ad0723 Merge branch 'master' of http://gitlab.withidc.jp:3000/idcjp/dbms_itsolution 2022-03-25 10:17:30 +09:00
최준흠
6b6675575f IdcDepositListExcel.jsp change... 2022-03-25 10:16:39 +09:00

View File

@ -11,7 +11,10 @@ var tableToExcel = (function(){
return function(table, name) {
if (!table.nodeType) table = document.getElementById(table)
var ctx = {worksheet: name || 'Worksheet', table: table.innerHTML}
window.location.href = uri + base64(format(template, ctx))
//window.location.href = uri + base64(format(template, ctx))
document.getElementById("dlink").href = uri + base64(format(template, ctx));
document.getElementById("dlink").download = filename;
document.getElementById("dlink").click();
}
})();