汇总页面添加超链接进行跳转直接下载明细内容为excel文件,导出的excel要显示不同的sheet页 在URL中添加&sheets=[] 后缀点击后报错400; var url = '/frreport/decision/view/report?viewlet=SalesPCReport%252FSignedList1.cpt'; window.open(url + "&FR_USERNAME=" + FR_USERNAME + "&cbb_organization=" + cbb_organization +"&cbb_subcenter=" + cbb_subcenter + "&cbb_city=" + cbb_city +"&cbb_project=" + cbb_project + "&datestart="+ datestart + "&dateend=" + dateend +"&IFFirstLevelFormatcode=" + IFFirstLevelFormatcode + "&format=excel&sheets=[0,3]&__filename__=" + encodeURIComponent(title) + "--" + encodeURIComponent(cbb_project_name)+"&extype=simple" ); |