$("#toSearchAllBtn").on(“click”,function(){
$.get(“findAllEnterprise”,{},function(listenterPriseInfo){
/* console.log(listhenterPriseInfo); /
if (listenterPriseInfo.length > 0) {
$("#tbenterPriseInfo").empty();
$.each(listenterPriseInfo, function(i, enterPriseInfo) {
var html= “”+
“”+
“”+i+""+
“”+enterPriseInfo.fprovince+""+ //省份
“”+enterPriseInfo.fcity+""+ //地市集团
“”+enterPriseInfo.fname+""+ //煤矿名称
“”+enterPriseInfo.taskayear+""+//考评年度
“”+enterPriseInfo.fmodifytime+""+//检查时间
“”+enterPriseInfo.rminemscore.rminemscore+""+//煤矿得分
“”+enterPriseInfo.FLevel+""+//标准化等级
“”+
“降级</ a>”+ / href=’’ data-toggle=‘modal’ data-target=’#myModal2’ */
“”
$("#tbenterPriseInfo").append(html);
});
}
});
});