是我地址写错了吗?怎么会报这个错 源码 var year = contentPane.getWidgetByName("year").getValue(); var be = contentPane.getWidgetByName("be").getValue(); var b = contentPane.getWidgetByName("treelist").getValue(); var c = contentPane.getWidgetByName("model").getValue(); var kpi_type=contentPane.getWidgetByName("kpi_type").getValue(); var post_a=contentPane.getWidgetByName("post_name").getValue(); FR.Msg.alert("提示","Excel导出无法导出指示灯!需要请自行添加"); var para='&p='+b+'&aa='+c+'&bb='+year+'&banhan='+be+'&type='+kpi_type+'&post='+post_a; if(kpi_type=="部门指标"){ var REPORT_URL="${servletURL}?viewlet=KPI/kpi_expend_new.cpt&op=export&format=excel&sheets=[1]"+para; } else if(kpi_type=="关键任务"){ var REPORT_URL="${servletURL}?viewlet=KPI/kpi_expend_new_l.cpt&op=export&format=excel&sheets=[1]"+para; } else if(kpi_type=="岗位指标"){ var REPORT_URL="${servletURL}?viewlet=KPI/kpi_expend_new_post.cpt&op=export&format=excel&sheets=[1]"+para; } window.location = encodeURI(REPORT_URL); |