[Frontend] 系統監控左上角系統大類 動態呈現
This commit is contained in:
parent
30e926f95c
commit
8da05829db
@ -5,7 +5,7 @@
|
||||
</style>
|
||||
<div class="container-fluid">
|
||||
<div class="row bg-dark">
|
||||
<h1 class="p-2 mx-5 mb-0">電錶系統</h1>
|
||||
<h1 id="sysMainText" class="p-2 mx-5 mb-0"></h1>
|
||||
<div class="btn-group my-2" id="floList">
|
||||
|
||||
</div>
|
||||
@ -18,8 +18,9 @@
|
||||
|
||||
<script>
|
||||
var floList = [];
|
||||
|
||||
|
||||
$(function () {
|
||||
$("#sysMainText").text(pageAct.sysMainName);
|
||||
getFloList();
|
||||
})
|
||||
|
||||
|
@ -2095,6 +2095,7 @@ License: You must have a valid license purchased only from wrapbootstrap.com (li
|
||||
onEvent("active:change", "#sysMonBtnList", function (e, actEle) {
|
||||
if (actEle) {
|
||||
pageAct.sysMainTag = $(actEle).prop("id").split("mainSysBtn")[1];
|
||||
pageAct.sysMainName = $(actEle).text();
|
||||
}
|
||||
$(this).trigger("change");
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user