function AlterBtnClass(button) {
button.classList.toggle("layui-border-blue")//当前按钮有该样式删除否则新增该样式
var SickIdList = []
for (var i = 0; i < document.getElementsByClassName("layui-border-blue").length; i++) {
SickIdList.push(Number(document.getElementsByClassName("layui-border-blue")[i].id))//获取有layui-border-blue样式的按钮将按钮内对应的的数据取出
}
$("#SickRoomIdList").val(SickIdList)
console.log(SickIdList)
return false;
}