Index: ssts-web/src/main/webapp/disinfectsystem/packing/packingView.js =================================================================== diff -u -r34464 -r34466 --- ssts-web/src/main/webapp/disinfectsystem/packing/packingView.js (.../packingView.js) (revision 34464) +++ ssts-web/src/main/webapp/disinfectsystem/packing/packingView.js (.../packingView.js) (revision 34466) @@ -637,18 +637,19 @@ } //定时器,查询后导出 - function timeOut() { + function timeOut(myMask) { var time = setTimeout(function () { if(document.getElementById('thisIframe')){ var html = document.getElementById('thisIframe').contentWindow.document.body.innerHTML; if (html.indexOf('table') > -1) { clearTimeout(time); location.href = WWWROOT + "/jasperRtp/exportReport.jsp"; + myMask.hide(); } else { - timeOut(); + timeOut(myMask); } }else { - timeOut(); + timeOut(myMask); } }, 1000); } @@ -6250,7 +6251,11 @@ id: "exportPackingRecordsToexcel", handler: function () { reloadReport(); - timeOut(); + var myMask = new top.Ext.LoadMask(top.Ext.getBody(), { + msg: "正在导出,请稍候..." + }); + myMask.show(); + timeOut(myMask); } }, { xtype: 'button',