https://fly.layui.com/jie/13385/
for(var x = 0;x<选中集合.length;x++){
for(var i=0;i<表格集合.length;i++){
if( 选中集合[x].proId == 表格集合[i].proId){
表格集合[i]["LAY_CHECKED"]='true';
//找到对应数据改变勾选样式,呈现出选中效果
var index= proResult[i]['LAY_TABLE_INDEX'];
$('.layui-table tr[data-index=' + index + '] input[type="checkbox"]').prop('checked', true);
$('.layui-table tr[data-index=' + index + '] input[type="checkbox"]').next().addClass('layui-form-checked');
}
}
}