mirror of https://gitee.com/y_project/RuoYi.git
下载数据加载遮罩层
parent
67bd4d3141
commit
f65728611a
|
@ -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…
Reference in New Issue