var startdate=this.options.form.getWidgetByName("开始日期").getValue();
var enddate=this.options.form.getWidgetByName("结束日期").getValue();
var bm=this.options.form.getWidgetByName("citycode").getValue();//复选框
var url = ("${servletURL}?viewlet=GettingStarted.cpt");//报表路径和名称。你自己改
var config={
startdate:startdate,
enddate:enddate,
city_code:bm,
format:"excel",
extype:"simple",
__filename__:startdate//自定义导出的文件名称以时间为文件名,你自己去修改
};
FR.doHyperlinkByPost(url,config);