下载数据加载遮罩层

master
RuoYi 6 years ago committed by Limy
parent ddf7473496
commit e1c223e092

@ -69,12 +69,14 @@
},
// 下载
exportExcel: function(form) {
$.modal.loading("正在导出数据,请稍后...");
$.post($.table._option.exportUrl, $("#" + form).serializeArray(), function(result) {
if (result.code == web_status.SUCCESS) {
window.location.href = ctx + "common/download?fileName=" + result.msg + "&delete=" + true;
} else {
$.modal.alertError(result.msg);
}
$.modal.closeLoading();
});
},
// 刷新

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save