[Frontend] 首頁電錶系統按鈕 跳頁至電錶系統頁面
This commit is contained in:
parent
8c4a7ac85e
commit
6947fa22b9
@ -158,7 +158,7 @@
|
||||
</div>
|
||||
<div class="btn-group btn-group-lg col-lg-6 mb-4">
|
||||
<button type="button" class="btn btn-secondary"><i class="fal fa-car-battery fa-2x"></i></button>
|
||||
<button type="button" class="btn btn-secondary">電錶系統 </button>
|
||||
<button type="button" class="btn btn-secondary" onclick="goElectricMeter()">電錶系統 </button>
|
||||
</div>
|
||||
<div class="btn-group btn-group-lg col-lg-6 mb-4">
|
||||
<button type="button" class="btn btn-secondary"><i class="fal fa-wind fa-2x"></i></button>
|
||||
@ -705,4 +705,12 @@
|
||||
|
||||
});
|
||||
|
||||
function goElectricMeter() {
|
||||
pageAct.sysMainTag = $('#subSysBtnE4').data("subSysObj").main_system_tag;
|
||||
pageAct.sysSubTag = $('#subSysBtnE4').data("subSysObj").sub_system_tag;
|
||||
pageAct.sysSubName = $('#subSysBtnE4').data("subSysObj").full_name;
|
||||
pageAct.sysSubObj = $('#subSysBtnE4').data("subSysObj");
|
||||
$("#js-page-content").load("_sysMonAll.html", loadCallback);
|
||||
}
|
||||
|
||||
</script>
|
Loading…
Reference in New Issue
Block a user