| | |
| | | </svg></span> |
| | | </div> |
| | | <input type="text" id="search_input" class="form-control" |
| | | placeholder="请输入设备编号" aria-label="Username" |
| | | placeholder="请输入编号或姓名" aria-label="Username" |
| | | aria-describedby="basic-addon1"> |
| | | </div> |
| | | <button type="button" class="btn btn-secondary reset">刷新</button> |
| | |
| | | id="deleteButton">删除</button> |
| | | <button type="button" class="btn btn-secondary toAllExcel">导出表格</button> |
| | | </div> |
| | | <div style="width: 100%;"> |
| | | <!-- <div style="width: 100%;"> |
| | | <form class="form-inline" id="searchForm" |
| | | action="/hxzkoa/gpsManagement_zeng.do" method="post" |
| | | name="tianjia"> |
| | |
| | | <button type="button" class="btn btn-secondary baocun" |
| | | style="margin-left: 15px;" onclick="clickMethod()">保存</button> |
| | | </form> |
| | | </div> |
| | | </div>--> |
| | | </div> |
| | | <table id="html5-extension" class="table table-hover" |
| | | style="width: 100%"> |
| | |
| | | <th>卫星数</th> |
| | | <th>海拔高</th> |
| | | <th>差分站ID</th> |
| | | <th>卡号</th> |
| | | <th>电量</th> |
| | | <th>更新时间</th> |
| | | </tr> |
| | |
| | | <td>${list.gps_num}</td> |
| | | <td>${list.gps_haiba_gao}</td> |
| | | <td>${list.gps_chafen_id}</td> |
| | | <td>${list.ccid}</td> |
| | | <td>${list.gps_power}%</td> |
| | | <td>${list.addtime}</td> |
| | | </tr> |
| | |
| | | id="deleteq" value="<%=deleteq%>"> <input type="hidden" |
| | | name="alertq" id="alertq" value="<%=alertq%>"> <input |
| | | type="hidden" name="deleteall" id="deleteall" value="<%=deleteall%>"> |
| | | <input type="hidden" name="xianusera" id="xianusera" value="<%=username%>"> |
| | | <!-- END MAIN CONTAINER --> |
| | | |
| | | <!-- BEGIN GLOBAL MANDATORY SCRIPTS --> |
| | | <script> |
| | | $(document).ready(function() { |
| | | window.onload = function() { |
| | | App.init(); |
| | | $.ajax({ |
| | | async : false, |
| | | type : "POST", |
| | | url : "/hxzkoa/getSysSetting_list.do", |
| | | url : "/hxzkoa/getSysSetting_list2.do", |
| | | data : {}, |
| | | dataType : "json", |
| | | success : function(data) { |
| | | /* title = data[0].title; |
| | | document.title = title; */ |
| | | if (data.dataList2[0].label == 0) { |
| | | $("#labela").css({ 'display': 'none' }); |
| | | }; |
| | | if (data.dataList2[0].achor == 0) { |
| | | $("#anchora").css({ 'display': 'none' }); |
| | | }; |
| | | if (data.dataList2[0].gps == 0) { |
| | | $("#gpsa").css({ 'display': 'none' }); |
| | | }; |
| | | if (data.dataList2[0].fence == 0) { |
| | | $("#fencea").css({ 'display': 'none' }); |
| | | }; |
| | | if (data.dataList2[0].warning == 0) { |
| | | $("#warninga").css({ 'display': 'none' }); |
| | | }; |
| | | if (data.dataList2[0].history == 0) { |
| | | $("#historya").css({ 'display': 'none' }); |
| | | }; |
| | | if (data.dataList2[0].attendance == 0) { |
| | | $("#attendancea").css({ 'display': 'none' }); |
| | | }; |
| | | if (data.dataList2[0].basiclnfo == 0) { |
| | | $("#basiclnfoa").css({ 'display': 'none' }); |
| | | }; |
| | | if (data.dataList2[0].video == 0) { |
| | | $("#videoa").css({ 'display': 'none' }); |
| | | }; |
| | | if (data.dataList2[0].gas == 0) { |
| | | $("#gasa").css({ 'display': 'none' }); |
| | | }; |
| | | }, |
| | | }); |
| | | $("#page_1").addClass("active"); |
| | |
| | | var deleteq = document.getElementById("deleteq").value; |
| | | var alertq = document.getElementById("alertq").value; |
| | | var deleteall = document.getElementById("deleteall").value; |
| | | document.getElementById("xianuser").innerHTML=document.getElementById("xianusera").value |
| | | //console.log(superuser) |
| | | if (superuser == "访客") { |
| | | $("#addButton").attr("disabled", "true"); |
| | |
| | | if (deleteall == "否") { |
| | | $("#deleteAllButton").attr("disabled", "true"); |
| | | } |
| | | }); |
| | | }; |
| | | $('.header-page').load('/hxzkoa/hxzk/top.html'); |
| | | $('.login-page').load('/hxzkoa/hxzk/head.html'); |
| | | $(".reset").click(function() { |
| | |
| | | + "</td><td>" |
| | | + data.dataList[k].gps_chafen_id |
| | | + "</td><td>" |
| | | + data.dataList[k].ccid |
| | | + "</td><td>" |
| | | + data.dataList[k].gps_power |
| | | + "%</td><td>" |
| | | + data.dataList[k].addtime |
| | |
| | | + "</td><td>" |
| | | + data.dataList[k].gps_chafen_id |
| | | + "</td><td>" |
| | | + data.dataList[k].ccid |
| | | + "</td><td>" |
| | | + data.dataList[k].gps_power |
| | | + "%</td><td>" |
| | | + data.dataList[k].addtime |