Index: ssts-web/src/main/webapp/js/common.js =================================================================== diff -u -r27402 -r27406 --- ssts-web/src/main/webapp/js/common.js (.../common.js) (revision 27402) +++ ssts-web/src/main/webapp/js/common.js (.../common.js) (revision 27406) @@ -99,16 +99,18 @@ /* *报表查询封装函数 */ -function seachReport(url,params){ +function seachReport(url,params,thisIframe){ var html = '
'; - document.getElementById('thisIframe').contentWindow.document.body.innerHTML = html; - document.getElementById('thisIframe').contentWindow.document.getElementById("reportHiddenForm").action = url; - document.getElementById('thisIframe').contentWindow.document.getElementById("reportHiddenForm").submit(); + setTimeout(function(){ + document.getElementById('thisIframe').contentWindow.document.body.innerHTML = html; + document.getElementById('thisIframe').contentWindow.document.getElementById("reportHiddenForm").action = url; + document.getElementById('thisIframe').contentWindow.document.getElementById("reportHiddenForm").submit(); + },1000); } /**