<commit_before>/**
 * 
 */

var baseUrl = getRootPath();
$(function(){
	g_dataTable = $("#dataTable").DataTable({
         order : [[ 5, "desc" ]]
	});
	fetchData();
});


//获取数据
function fetchData(){
	$("#loading").show();
	$.ajax({
		url :  baseUrl+"/ajcl/ylalb.json",
		type : "get",
		data : {},
		dataType : 'html',
		success : function(resp) {
			resp = $.parseJSON(resp);
			g_dataTable.clear().destroy();
			$("#dataTable>tbody").empty();
			for(var i = 0 ; i < resp.length ; i++){
				$("#dataTable>tbody").append("<tr>"+
						"<td>"+(i+1)+"</td>"+
						"<td>"+resp[i].ah+"</td>"+
						"<td>"+resp[i].ajmc+"</td>"+
						"<td>"+resp[i].sqlx+"</td>"+
						"<td>"+resp[i].ysah+"</td>"+
						"<td>"+resp[i].lasj+"</td>"+
					"</tr>");
			}
			g_dataTable = $("#dataTable").DataTable({
				 order : [[ 5, "desc" ]]
			});
		},
		complete:function(resp){
			$("#loading").hide();
		}
	});
}

print = function(){
	var cont = $("#dataTable").html();
	printTable(cont);
};

exports = function(){
	var url = baseUrl + "/ajcl/exportYlalbExcel";
	var data = "";
	<commit_msg>#16 修复<commit_after>/**
 * 
 */

var baseUrl = getRootPath();
$(function(){
	g_dataTable = $("#dataTable").DataTable({
         order : [[ 5, "desc" ]],
         language : {
        	 "sEmptyTable" : "没有立案"
         }
	});
	fetchData();
});


//获取数据
function fetchData(){
	$("#loading").show();
	$.ajax({
		url :  baseUrl+"/ajcl/ylalb.json",
		type : "get",
		data : {},
		dataType : 'html',
		success : function(resp) {
			resp = $.parseJSON(resp);
			g_dataTable.clear().destroy();
			$("#dataTable>tbody").empty();
			for(var i = 0 ; i < resp.length ; i++){
				$("#dataTable>tbody").append("<tr>"+
						"<td>"+(i+1)+"</td>"+
						"<td>"+resp[i].ah+"</td>"+
						"<td>"+resp[i].ajmc+"</td>"+
						"<td>"+resp[i].sqlx+"</td>"+
						"<td>"+resp[i].ysah+"</td>"+
						"<td>"+resp[i].lasj+"</td>"+
					"</tr>");
			}
			g_dataTable = $("#dataTable").DataTable({
				 order : [[ 5, "desc" ]],
				 language : {
		        	 "sEmptyTable" : "没有立案"
		         }
			});
		},
		complete:function(resp){
			$("#loading").hide();
		}
	});
}

print = function(){
	var cont = $("#dataTable").html();
	printTable(cont);
};

exports = function(){
	var url = baseUrl + "/ajcl/exportYlalbExcel";
	var data = "";
	
{'fraction_non_alphanumeric': 0.2805251641137856, 'fraction_numerical': 0.00437636761487965, 'mean_word_length': 2.9278350515463916, 'pattern_counts': {'":': 0, '<': 33, '<?xml version=': 0, '>': 35, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6333724', 'n_tokens_mistral': 1043, 'n_tokens_neox': 902, 'n_words': 135}