|

楼主 |
发表于 2014-1-11 11:43:19
|
显示全部楼层
mainActivity.excelExport1BeforeExport = function(event) {
dialog = document.createElement('div');
dialog.innerHTML = "<div id='testDocServer' style='border:1px solid #D3E2E5;z-index:2000;margin-top:-470px;margin-left:580px;width:250px;height:185px;position:absolute;'><img src = '"+justep.Request.convertURL("/UI/system/images/wait.gif",true)+"' /></div>";
document.body.appendChild(dialog);
alert("2222");
var dMaster = justep.xbl("dataMaster");
var actionParam = new justep.Request.ActionParam();
dMaster.setOrderBy("fOrder", null);
actionParam.setString("fProCode", dMaster.getValue("fProjectCode"));
mainActivity.useMyAction(actionParam, "exportAction");
justep.xbl("excelExport1").downloadFilename = dMaster
.getValue("fProjectName")
+ ".xls";
return true;
};
为何我有alert("")的时候,图片就显示,没有的时候,就不显示了。而且在弹出alert未关闭的时候,我的动态图片是动态的,点击关闭alert之后,就不动态了。请问何解? |
|