| | |
| | | </button> |
| | | </div> |
| | | <div class="modal-body"> |
| | | <form action="/hxzkoa/uploadPerson.do" method="post" |
| | | <form action="/hxzkoa/uploadPerson4.do" method="post" |
| | | enctype="multipart/form-data"> |
| | | <div class="form-group mb-4 mt-3" |
| | | style="width: 50%; margin-left: 25%; overflow: auto; _display: inline-block;"> |
| | |
| | | <line x1="21" y1="21" x2="16.65" y2="16.65"></line></svg></span> |
| | | </div> |
| | | <input type="text" id="search_input" class="form-control" |
| | | placeholder="请输入标签ID" aria-label="Username" |
| | | placeholder="请输入编号或姓名" aria-label="Username" |
| | | aria-describedby="basic-addon1"> |
| | | </div> |
| | | <button type="button" class="btn btn-secondary reset">刷新</button> |
| | |
| | | <!-- END MAIN CONTAINER --> |
| | | <script> |
| | | // 页面初始化 |
| | | $(document).ready(function() { |
| | | App.init();$.ajax({async : false, type : "POST",url : "/hxzkoa/getSysSetting_list.do",data : {},dataType : "json",success:function(data){/* title = data[0].title;document.title = title; */},}); |
| | | window.onload = function() { |
| | | App.init(); |
| | | $.ajax({ |
| | | async : false, |
| | | type : "POST", |
| | | 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 superuser = document.getElementById("superuser").value; |
| | | var deleteq = document.getElementById("deleteq").value; |
| | |
| | | if (deleteall == "否"){ |
| | | $("#deleteAllButton").attr("disabled","true"); |
| | | } |
| | | }); |
| | | }; |
| | | $('.header-page').load('/hxzkoa/hxzk/top.html');$('.login-page').load('/hxzkoa/hxzk/head.html'); |
| | | $(".reset").click(function() { |
| | | setTimeout("window.location.reload()", 1000); |
| | |
| | | $.ajax({ |
| | | async : false, //同步的 |
| | | type : "POST", |
| | | url : "/hxzkoa/personManagement_page.do", |
| | | url : "/hxzkoa/personManagement_page4.do", |
| | | data : { |
| | | page : page, |
| | | curPage : curPage |
| | |
| | | $.ajax({ |
| | | async : false, //同步的 |
| | | type : "POST", |
| | | url : "/hxzkoa/personManagement_search.do", |
| | | url : "/hxzkoa/personManagement_search4.do", |
| | | data : { |
| | | input : input |
| | | }, |
| | |
| | | |
| | | // 导出表格 |
| | | $(".toAllExcel").click(function() { |
| | | window.location.href='/hxzkoa/personManagement_export.do'; |
| | | window.location.href='/hxzkoa/personManagement_export4.do'; |
| | | swal({title:"Exported!", |
| | | text:"导出成功!", |
| | | type:"success", |
| | |
| | | }); |
| | | // 下载模板 |
| | | $(".toExcel").click(function() { |
| | | window.location.href='/hxzkoa/personManagement_exportTemplate.do'; |
| | | window.location.href='/hxzkoa/personManagement_exportTemplate4.do'; |
| | | swal({title:"Exported!", |
| | | text:"导出成功!", |
| | | type:"success", |