reportExcel:function(){
var rows = $('#glGrid').datagrid('getSelections');
var ids = "";
for (var i = 0; i < rows.length; i++) {
ids += rows[i].studentNo+",";
}
var accountId = $('#accountId').val();
$.messager.confirm('确认','您确认导出'+ rows.length +'明细吗?',function(r){
if (r){
$('#ids').val(ids);
$('#reportType').val("0");
var tmpInput=$("<input type='hidden' name='ids'/>");
tmpInput.attr("value", ids);
$('#exportform').append(tmpInput);
$('#exportform').form('submit', {
ajax:false,
onSubmit: function(){
//rmtHelper.showMask();
},
success:function(data){
var d = eval('(' + data + ')');
rmtHelper.hideMask();
rmtHelper.showMsg(d.content);
rmtHelper.getCurCurdIst().reloadGrid();
}
});
}
});
},