A普通报表里参数面板 BUTTON 控件写了个js,如下: var url = "XXXXXXX/WebReport/ReportServer?reportlet=/k3/B.cpt&date=" + date + "&year=" + year + "&month=" + month + "&year1=" + year1 + "&month1=" + month1 + "&StartIte=" + StartIte + "&EndIte=" + EndIte + "&StartCat=" + StartCat + "&EndCat=" + EndCat + "&type=" + type + "&ItemType=" + ItemType + "&extype=" + extype + "&format=excel"; window.location =url; |