";$.each(e,function(e,t){l+="
物体:"+t.chName+"
相似度:"+t.similarity.toFixed(4)+"
"}),$("#result-img").append(l)})}),finput.on("filebatchuploadsuccess",function(i,e,l,t){e.form,e.files,e.extra;var a=e.response;e.reader;$(".file-upload-tips").hide(),$("#result-img").html(""),$(".file-preview-area").hide(),$(".file-footer-caption").each(function(){$(this).html($(this).html().replace(/\(/,"").replace(/\)/,"").replace(/\
/,""))}),1==a.success&&$.each(a.data.politicians,function(i,e){$.each(e,function(i,e){$("#result-img").append("
")})})}),$(".fileinput-upload-button >span").text("上传识别"),$("#file-zh").on("filecleared",function(i){$(".file-upload-tips").show(),$(".num-data").addClass("hide"),$(".imgnum").text("0"),$("#result-img").html(""),$(".file-caption-main").removeClass("file-caption-main-bottom"),$(".btn-file .hidden-xs").html("选择文件")})}),$.fn.serializeObject=function(){var i={},e=this.serializeArray();return $.each(e,function(){void 0!==i[this.name]?(i[this.name].push||(i[this.name]=[i[this.name]]),i[this.name].push(this.value||"")):i[this.name]=this.value||""}),i},$(".btn-file .hidden-xs").html("选择文件"),$("#uploadAll").click(function(){$(".fileinput-upload-button").trigger("click")}),setInterval(function(){$(".file-preview-thumbnails samp").length<2&&($(".file-upload-tips").show(),$(".file-caption-main").removeClass("file-caption-main-bottom"),$(".btn-file .hidden-xs").html("选择文件"),$("#result-img").html(""))},1e3),$("#autoupload").on("change",function(){$(this).is(":checked")?($("#uploadAll").attr("disabled","disabled"),$(this).siblings(".icon-check").removeClass("uncheck")):($("#uploadAll").removeAttr("disabled"),$(this).siblings(".icon-check").addClass("uncheck"))})