| | |
| | | <table id="plc-error-table"> |
| | | <thead> |
| | | <tr> |
| | | <th style="width: 200px">序号</th> |
| | | <th style="width: 200px">站点</th> |
| | | <th style="width: 400px">PLC错误描述</th> |
| | | <th style="width: 400px">异常</th> |
| | | </tr> |
| | |
| | | var tableEl = $('#plc-error-table'); |
| | | tableEl.children("tr").children("td").html(""); |
| | | $.ajax({ |
| | | url: baseUrl+ "/site/table/plc/errors", |
| | | url: baseUrl+ "/site/table/plc/errors2", |
| | | headers: {'token': localStorage.getItem('token')}, |
| | | method: 'POST', |
| | | success: function (res) { |
| | |
| | | function getSite() { |
| | | var tableEl = $('#site-table'); |
| | | $.ajax({ |
| | | url: baseUrl+ "/site/table/site", |
| | | url: baseUrl+ "/site/table/site2", |
| | | headers: {'token': localStorage.getItem('token')}, |
| | | method: 'POST', |
| | | success: function (res) { |