/**
* 获取 选中的id
* @returns {*}
*/
function getCheckedList(){
var groups =[];
$("input[name='checkList']:checked").each(function(){
var o = {};
o.org = $(this).attr("org");
o.id = $(this).val();
groups.push(o);
});
if(groups.length < 1){
oAlert("请至少选择一条数据。");
return false;
}
return groups;
}
05-11 22:06