testing historyData baja
This commit is contained in:
parent
0d6870f32f
commit
13eac5639c
@ -8,7 +8,6 @@
|
||||
</div>
|
||||
<!-- nav-menu-reset will reset the font colors -->
|
||||
<ul id="js_nested_list" class="nav-menu nav-menu-reset nav-menu-compact bg-success-900 bg-info-gradient mb-sm-4 mb-md-0 rounded" data-nav-accordion="true">
|
||||
|
||||
</ul>
|
||||
<div class="filter-message js-filter-message m-0 text-left pl-4 py-3 fw-500"></div>
|
||||
</div>
|
||||
@ -53,7 +52,7 @@
|
||||
|
||||
<div class="row">
|
||||
<div class="frame-wrap">
|
||||
<table class="table table-bordered table-striped text-center m-0">
|
||||
<table id="tableData" class="table table-bordered table-striped text-center m-0">
|
||||
<thead class="thead-themed">
|
||||
<tr>
|
||||
<th>設備名稱</th>
|
||||
@ -78,8 +77,7 @@
|
||||
</main>
|
||||
|
||||
<script>
|
||||
let sst = '';
|
||||
let mst = '';
|
||||
|
||||
$(function () {
|
||||
initList();
|
||||
|
||||
@ -105,9 +103,10 @@
|
||||
let url = baseApiUrl + "/api/History/GetMainSub";
|
||||
function success(res) {
|
||||
let strHtml = ``;
|
||||
let sst = '';
|
||||
let mst = '';
|
||||
|
||||
$.each(res.data.history_Main_Systems, function (index, val) {
|
||||
console.log(index)
|
||||
strHtml += `<li>
|
||||
<a href="#" data-filter-tags="user interface buttons compass action dropdown navigation sidebars" data-maintag="${val.main_system_tag}">
|
||||
<span class="nav-link-text">${val.full_name}</span>
|
||||
@ -146,8 +145,7 @@
|
||||
callbackForHistory);
|
||||
}
|
||||
|
||||
function getData(sst2, mst1)
|
||||
{
|
||||
function getData(sst2, mst1) {
|
||||
//getHistoryDataByBaja("TPE_B1_EE_E4_R2F_NA_WHT_N1_A1",
|
||||
// 1667232000000,
|
||||
// 1667232000000,
|
||||
@ -157,6 +155,7 @@
|
||||
}
|
||||
|
||||
function callBackFromHistory(res) {
|
||||
//$('#tableData tbody').html();
|
||||
console.log(res)
|
||||
}
|
||||
</script>
|
Loading…
Reference in New Issue
Block a user