function ExcelReportCallback(resp)
{
if(resp.value == "OK")
{
$('tipMsg').innerHTML = "<img border=https://www.jb51.net/article/\"0\" src=https://www.jb51.net/article/\"images/s_progressbar.gif\"><font color=#FF0000 style=font-weight:bold>准备导出数据,请稍等</font>";
setTimeout("RedirectUrl()",1000);//延时体验
}
else
if(resp.value == "NO")
{
$('tipMsg').innerHTML = "<font color=#FF0000 style=font-weight:bold>没有找到符合该查询条件的数据</font>";
$('btnExcel').disabled = false;
}
else
{
$('tipMsg').innerHTML = "<font color=#FF0000 style=font-weight:bold>警告:导出数据出错</font>";
$('btnExcel').disabled = false;
}
}
复制代码 代码如下: