1 2014-04-22 2 记录: 3 if(team){ 4 teams = [team]; 5 } 6 判断team是否为空,如果不为空,将team组成一个数组赋给teams 7 8 2014-05-12 9 10 if(uciTab.getMainDatatable().fnCheckAllExport()){ 11 var ajaxloader = new ajaxLoader("#content"); 12 $.post('/api/build/exportAll?t='+Math.random(), oDatatableQuery, function(jsonData){ 13 ajaxloader.remove(); 14 if(jsonData.xlsx){ 15 window.location.href = '/report/'+jsonData.xlsx; 16 }else{ 17 smoke.alert(jsonData, {ok:"关闭"}); 18 } 19 });