@@ -733,7 +733,7 @@ License: You must have a valid license purchased only from wrapbootstrap.com (li
-
+
@@ -870,7 +870,7 @@ License: You must have a valid license purchased only from wrapbootstrap.com (li
if (isJSON(sessionStorage.getItem("pageAct"))) {
lastPageAct = JSON.parse(sessionStorage.getItem("pageAct"));
}
- if ((lastPageAct.sysSubTag && lastPage == "systemMonitor") || lastPage == "sysElevator") {
+ if ((lastPageAct.sysSubTag && lastPage == "systemMonitor") || lastPage == "sysElevator" || lastPage == "sysSensor") {
$(`#subSysBtn${lastPageAct.sysSubTag}`).click();
$("#sysMonTopBtn").YTTab("set");
} else {
@@ -946,7 +946,7 @@ License: You must have a valid license purchased only from wrapbootstrap.com (li
if (!page) {
return;
}
- if (page != "systemMonitor" && page != "sysElevator") {
+ if (page != "systemMonitor" && page != "sysElevator" && page != "sysSenesor") {
$("#sysMonBtnList [name=topFunBtn]").removeClass("active");
pageAct.sysMainTag = null;
pageAct.sysSubTag = null;
@@ -960,11 +960,11 @@ License: You must have a valid license purchased only from wrapbootstrap.com (li
sub.unsubscribeAll();
sub.detach();
})
- // 清空 baja 訂閱紀錄
+ // 清空 baja 訂閱紀錄
tolSubList = [];
// 清空 loading 狀態
endPageLoading();
-
+
$(loadEle).Loading("close");
$(".yt-alert").YTAlert().hide();
// 取得使用者資訊
@@ -1019,10 +1019,10 @@ License: You must have a valid license purchased only from wrapbootstrap.com (li
//onEvent("click", "button[id^=noticeChkBtn]", function () {
// $(this).parents(".toast").YTNotice("hide");
//})
-
+
onEvent("click", "button[id^=noticeChkBtn]", function () { /**button[id^=bajaAckBtn] */
let uuid = $(this).data("uuid");
- let url = window.location.origin + "/obix/alarm/"+uuid+"/ack";
+ let url = window.location.origin + "/obix/alarm/" + uuid + "/ack";
let myBaja = new MyBaja();
myBaja.setMyUserAccount((data) => {
let sendData = '
';
@@ -1043,7 +1043,7 @@ License: You must have a valid license purchased only from wrapbootstrap.com (li
if (typeof getAlarmSub != "undefined" && getAlarmSub) {
getAlarmSub(data);
}
-
+
alarmIconBlink();
})
@@ -1130,7 +1130,7 @@ License: You must have a valid license purchased only from wrapbootstrap.com (li
function drawErrRecTabBlo() {
let strHtml = `
`
+ `
return strHtml;
}
@@ -1138,7 +1138,7 @@ License: You must have a valid license purchased only from wrapbootstrap.com (li
function drawOpeRecTabBlo() {
let strHtml = `
`
+ `
return strHtml;
}
@@ -1155,35 +1155,35 @@ License: You must have a valid license purchased only from wrapbootstrap.com (li
let lightHtml = type == "light" ? `
` : "";
let option = {
html: `
- `,
group: "device",
// 在 _sysElevator.html 及 _sysMonAll.html 會用到
onShow: function (tooltipEle, oriEle) {
@@ -1203,7 +1203,7 @@ License: You must have a valid license purchased only from wrapbootstrap.com (li
}
// 3D 視角 ZOOM IN 聚焦
/*
- if (devObj) {
+ if (devObj) {
moveViewToDevice(devObj?.forge_dbid);
}
*/
@@ -1567,35 +1567,35 @@ License: You must have a valid license purchased only from wrapbootstrap.com (li
} else {
let strHtml = `
`;
+
+ 首頁
+
+
+
`;
$.each(res.data, function (i, v) {
if (v.authCode == 'PF1') {
strHtml += `
`;
+
`;
hasMonitor = true;
}
else {
let icon = v.authCode == 'PF2' ? 'fa-chart-pie' : v.authCode == 'PF3' ? 'fa-chart-area' : v.authCode == 'PF4' ? 'fa-chart-line' : v.authCode == 'PF5' ? 'fa-bell' : v.authCode == 'PF6' ? 'fa-server' : v.authCode == 'PF7' ? 'fa-image' : v.authCode == 'PF8' ? 'fa-user' : '';
strHtml += `