This commit is contained in:
dev02 2022-11-17 17:56:26 +08:00
commit 7fd44ec6df

View File

@ -2121,8 +2121,10 @@ License: You must have a valid license purchased only from wrapbootstrap.com (li
} else {
let strHtml = ``;
$.each(res.data.history_Main_Systems, (index, subSysObj) => {
strHtml += `<button id="subSysBtn${subSysObj.sub_system_tag}" data-maintag="${subSysObj.main_system_tag}"class="dropdown-item" type="button" data-page="systemMonitor" name="topFunBtn">${subSysObj.full_name}</button>`;
$.each(res.data.history_Main_Systems, (index, mainSysObj) => {
$.each(mainSysObj.history_Sub_systems, (index2, subSysObj) => {
strHtml += `<button id="subSysBtn${subSysObj.sub_system_tag}" data-maintag="${mainSysObj.main_system_tag}"class="dropdown-item" type="button" data-page="systemMonitor" name="topFunBtn">${subSysObj.full_name}</button>`;
})
})
$("#sysMonBtnList").append(strHtml);
}