6个参数控件(org_list_1,org_list_3,var_d_date,var_status,var_start_time,var_end_time), 各自绑定了数据源,导出按钮(out_put)自定义js如下: var var_org_list_1 = this.options.form.getWidgetByName("org_list_1").getValue(); var var_org_list_3 = this.options.form.getWidgetByName("org_list_3").getValue(); var var_d_date = this.options.form.getWidgetByName("d_date").getValue(); var var_status = this.options.form.getWidgetByName("status").getValue(); var var_start_time = this.options.form.getWidgetByName("start_time").getValue(); var var_end_time = this.options.form.getWidgetByName("end_time").getValue();
var colNames = encodeURIComponent("") _g().directExportToExcel("output", "数据汇总表", paramStr, colNames); 导出后提示保存EXCEL文件,但是打开文件报错, |