| | |
| | | <head> |
| | | <meta charset="utf-8"> |
| | | <meta http-equiv="X-UA-Compatible" content="IE=edge"> |
| | | <meta name="viewport" |
| | | content="width=device-width, initial-scale=1, maximum-scale=1, shrink-to-fit=no"> |
| | | <title></title> |
| | | <link href="/hxzkoa/hxzk/bootstrap/css/bootstrap.min.css" |
| | | rel="stylesheet" type="text/css" /> |
| | | <link href="/hxzkoa/hxzk/assets/img/favicon.ico" rel="icon" |
| | | type="image/x-icon" /> |
| | | <link href="/hxzkoa/hxzk/assets/css/components/custom-modal.css" |
| | | rel="stylesheet" type="text/css" /> |
| | | <link href="/hxzkoa/hxzk/assets/css/components/custom-sweetalert.css" |
| | | rel="stylesheet" type="text/css" /> |
| | | <link href="/hxzkoa/hxzk/assets/css/dashboard/dash_2.css" |
| | | rel="stylesheet" type="text/css" /> |
| | | <link href="/hxzkoa/hxzk/assets/css/elements/custom-pagination.css" |
| | | rel="stylesheet" type="text/css" /> |
| | | <link href="/hxzkoa/hxzk/assets/css/loader.css" rel="stylesheet" |
| | | <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, shrink-to-fit=no"> |
| | | <title>监控配置</title> |
| | | <link href="/hxzkoa/hxzk/bootstrap/css/bootstrap.min.css" rel="stylesheet" type="text/css" /> |
| | | <link href="/hxzkoa/hxzk/assets/img/favicon.ico" rel="icon" type="image/x-icon" /> |
| | | <link href="/hxzkoa/hxzk/assets/css/components/custom-modal.css" rel="stylesheet" type="text/css" /> |
| | | <link href="/hxzkoa/hxzk/assets/css/components/custom-sweetalert.css" rel="stylesheet" |
| | | type="text/css" /> |
| | | <link href="/hxzkoa/hxzk/assets/css/scrollspyNav.css" rel="stylesheet" |
| | | <link href="/hxzkoa/hxzk/assets/css/dashboard/dash_2.css" rel="stylesheet" type="text/css" /> |
| | | <link href="/hxzkoa/hxzk/assets/css/elements/custom-pagination.css" rel="stylesheet" type="text/css" /> |
| | | <link href="/hxzkoa/hxzk/assets/css/loader.css" rel="stylesheet" type="text/css" /> |
| | | <link href="/hxzkoa/hxzk/assets/css/scrollspyNav.css" rel="stylesheet" type="text/css" /> |
| | | <link href="/hxzkoa/hxzk/assets/css/main.css" rel="stylesheet" type="text/css" /> |
| | | <link href="/hxzkoa/hxzk/assets/css/structure.css" rel="stylesheet" type="text/css" /> |
| | | <link href="/hxzkoa/hxzk/assets/css/elements/search.css" rel="stylesheet" type="text/css" /> |
| | | <link href="/hxzkoa/hxzk/plugins/apex/apexcharts.css" rel="stylesheet" type="text/css"> |
| | | <link href="/hxzkoa/hxzk/plugins/animate/animate.css" rel="stylesheet" type="text/css" /> |
| | | <link href="/hxzkoa/hxzk/plugins/highlight/styles/monokai-sublime.css" rel="stylesheet" |
| | | type="text/css" /> |
| | | <link href="/hxzkoa/hxzk/assets/css/main.css" rel="stylesheet" |
| | | <link href="/hxzkoa/hxzk/plugins/sweetalerts/sweetalert2.min.css" rel="stylesheet" type="text/css" /> |
| | | <link href="/hxzkoa/hxzk/plugins/sweetalerts/sweetalert.css" rel="stylesheet" type="text/css" /> |
| | | <link href="/hxzkoa/hxzk/plugins/table/datatable/datatables.css" rel="stylesheet" type="text/css"> |
| | | <link href="/hxzkoa/hxzk/plugins/table/datatable/custom_dt_html5.css" rel="stylesheet" type="text/css"> |
| | | <link href="/hxzkoa/hxzk/plugins/table/datatable/dt-global_style.css" rel="stylesheet" type="text/css"> |
| | | <link href="/hxzkoa/hxzk/plugins/perfect-scrollbar/perfect-scrollbar.css" rel="stylesheet" |
| | | type="text/css" /> |
| | | <link href="/hxzkoa/hxzk/assets/css/structure.css" rel="stylesheet" |
| | | type="text/css" /> |
| | | <link href="/hxzkoa/hxzk/assets/css/elements/search.css" |
| | | rel="stylesheet" type="text/css" /> |
| | | <link href="/hxzkoa/hxzk/plugins/apex/apexcharts.css" rel="stylesheet" |
| | | type="text/css"> |
| | | <link href="/hxzkoa/hxzk/plugins/animate/animate.css" rel="stylesheet" |
| | | type="text/css" /> |
| | | <link href="/hxzkoa/hxzk/plugins/highlight/styles/monokai-sublime.css" |
| | | rel="stylesheet" type="text/css" /> |
| | | <link href="/hxzkoa/hxzk/plugins/sweetalerts/sweetalert2.min.css" |
| | | rel="stylesheet" type="text/css" /> |
| | | <link href="/hxzkoa/hxzk/plugins/sweetalerts/sweetalert.css" |
| | | rel="stylesheet" type="text/css" /> |
| | | <link href="/hxzkoa/hxzk/plugins/table/datatable/datatables.css" |
| | | rel="stylesheet" type="text/css"> |
| | | <link href="/hxzkoa/hxzk/plugins/table/datatable/custom_dt_html5.css" |
| | | rel="stylesheet" type="text/css"> |
| | | <link href="/hxzkoa/hxzk/plugins/table/datatable/dt-global_style.css" |
| | | rel="stylesheet" type="text/css"> |
| | | <link |
| | | href="/hxzkoa/hxzk/plugins/perfect-scrollbar/perfect-scrollbar.css" |
| | | rel="stylesheet" type="text/css" /> |
| | | <link href="https://fonts.gstatic.com" rel="preconnect"> |
| | | <link |
| | | href="https://fonts.googleapis.com/css2?family=Ma+Shan+Zheng&display=swap" |
| | | rel="stylesheet"> |
| | | <link |
| | | href="https://fonts.googleapis.com/css?family=Quicksand:400,500,600,700&display=swap" |
| | | <link href="https://fonts.googleapis.com/css2?family=Ma+Shan+Zheng&display=swap" rel="stylesheet"> |
| | | <link href="https://fonts.googleapis.com/css?family=Quicksand:400,500,600,700&display=swap" |
| | | rel="stylesheet"> |
| | | <style> |
| | | body { |
| | |
| | | border: 2px solid rgba(0, 90, 120, .3); |
| | | } |
| | | |
| | | .table-bordered td, .table-bordered th { |
| | | .table-bordered td, |
| | | .table-bordered th { |
| | | border: 1px solid #ebedf2; |
| | | } |
| | | </style> |
| | |
| | | <script src="/hxzkoa/hxzk/bootstrap/js/bootstrap.min.js"></script> |
| | | <script src="/hxzkoa/hxzk/bootstrap/js/popper.min.js"></script> |
| | | <script src="/hxzkoa/hxzk/plugins/apex/apexcharts.min.js"></script> |
| | | <script |
| | | src="/hxzkoa/hxzk/plugins/table/datatable/button-ext/jszip.min.js"></script> |
| | | <script src="/hxzkoa/hxzk/plugins/table/datatable/button-ext/jszip.min.js"></script> |
| | | <script src="/hxzkoa/hxzk/plugins/table/jquery.table2excel.js"></script> |
| | | <script src="/hxzkoa/hxzk/plugins/sweetalerts/promise-polyfill.js"></script> |
| | | <script src="/hxzkoa/hxzk/plugins/sweetalerts/sweetalert2.min.js"></script> |
| | | <script src="/hxzkoa/hxzk/plugins/sweetalerts/custom-sweetalert.js"></script> |
| | | <script |
| | | src="/hxzkoa/hxzk/plugins/perfect-scrollbar/perfect-scrollbar.min.js"></script> |
| | | <script src="/hxzkoa/hxzk/plugins/perfect-scrollbar/perfect-scrollbar.min.js"></script> |
| | | </head> |
| | | |
| | | <body class="alt-menu sidebar-noneoverflow"> |
| | |
| | | </div> |
| | | <div class="border-right" |
| | | style="opacity: 0.4; float: right; position: absolute; z-index: 2; right: 120px;"> |
| | | <img alt="" src="/hxzkoa/resources/images/border2.png" |
| | | class="img-right"> |
| | | <img alt="" src="/hxzkoa/resources/images/border2.png" class="img-right"> |
| | | </div> |
| | | <!-- BEGIN NAVBAR --> |
| | | <div class="login-page"></div> |
| | | <!-- END NAVBAR --> |
| | | <!-- BEGIN MODAL --> |
| | | <div class="modal fade addNew" tabindex="-1" role="dialog" |
| | | aria-labelledby="myExtraLargeModalLabel" aria-hidden="true"> |
| | | <div class="modal fade addNew" tabindex="-1" role="dialog" aria-labelledby="myExtraLargeModalLabel" |
| | | aria-hidden="true"> |
| | | <div class="modal-dialog modal-xl" role="document" style="width: 30%;"> |
| | | <div class="modal-content"> |
| | | <div class="modal-header"> |
| | | <h5 class="modal-title" id="myExtraLargeModalLabel">新增</h5> |
| | | <button type="button" class="close" data-dismiss="modal" |
| | | aria-label="Close"> |
| | | <svg aria-hidden="true" xmlns="http://www.w3.org/2000/svg" |
| | | width="24" height="24" viewBox="0 0 24 24" fill="none" |
| | | stroke="currentColor" stroke-width="2" stroke-linecap="round" |
| | | stroke-linejoin="round" class="feather feather-x"> |
| | | <button type="button" class="close" data-dismiss="modal" aria-label="Close"> |
| | | <svg aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="24" height="24" |
| | | viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" |
| | | stroke-linecap="round" stroke-linejoin="round" class="feather feather-x"> |
| | | <line x1="18" y1="6" x2="6" y2="18"></line> |
| | | <line x1="6" y1="6" x2="18" y2="18"></line> |
| | | </svg> |
| | |
| | | <div class="modal-body"> |
| | | <form action="form_action.asp" method="get"> |
| | | <div class="form-group row mb-4"> |
| | | <label for="colFormLabelSm" |
| | | class="col-sm-2 col-form-label col-form-label-sm" |
| | | <label for="colFormLabelSm" class="col-sm-2 col-form-label col-form-label-sm" |
| | | style="font-size: 12px;">区域绑定:</label> |
| | | <div class="col-sm-10"> |
| | | <input class="form-control" type="hidden" id="fencename" /> <select |
| | |
| | | </div> |
| | | </div> |
| | | <div class="form-group row mb-4"> |
| | | <label for="colFormLabelSm" |
| | | class="col-sm-2 col-form-label col-form-label-sm" |
| | | style="font-size: 12px;">设备ID:</label> |
| | | <label for="colFormLabelSm" class="col-sm-2 col-form-label col-form-label-sm" |
| | | style="font-size: 12px;">设备用户名:</label> |
| | | <div class="col-sm-10"> |
| | | <input class="form-control" type="text" id="shebeiid" /> |
| | | <input class="form-control" type="text" id="yonghuming" /> |
| | | </div> |
| | | </div> |
| | | <div class="form-group row mb-4"> |
| | | <label for="colFormLabelSm" |
| | | class="col-sm-2 col-form-label col-form-label-sm" |
| | | style="font-size: 12px;">通道ID:</label> |
| | | <label for="colFormLabelSm" class="col-sm-2 col-form-label col-form-label-sm" |
| | | style="font-size: 12px;">设备密码:</label> |
| | | <div class="col-sm-10"> |
| | | <input class="form-control" type="text" id="tongdaoid" /> |
| | | <input class="form-control" type="text" id="mima" /> |
| | | </div> |
| | | </div> |
| | | <div class="form-group row mb-4"> |
| | | <label for="colFormLabelSm" |
| | | class="col-sm-2 col-form-label col-form-label-sm" |
| | | <label for="colFormLabelSm" class="col-sm-2 col-form-label col-form-label-sm" |
| | | style="font-size: 12px;">设备IP:</label> |
| | | <div class="col-sm-10"> |
| | | <input class="form-control" type="text" id="baoliu1" /> |
| | | </div> |
| | | </div> |
| | | <div class="form-group row mb-4"> |
| | | <label for="colFormLabelSm" class="col-sm-2 col-form-label col-form-label-sm" |
| | | style="font-size: 12px;">X坐标:</label> |
| | | <div class="col-sm-10"> |
| | | <input class="form-control" type="text" id="posx" /> |
| | | </div> |
| | | </div> |
| | | <div class="form-group row mb-4"> |
| | | <label for="colFormLabelSm" |
| | | class="col-sm-2 col-form-label col-form-label-sm" |
| | | <label for="colFormLabelSm" class="col-sm-2 col-form-label col-form-label-sm" |
| | | style="font-size: 12px;">Y坐标:</label> |
| | | <div class="col-sm-10"> |
| | | <input class="form-control" type="text" id="posy" /> |
| | | </div> |
| | | </div> |
| | | <div class="form-group row mb-4"> |
| | | <label for="colFormLabelSm" |
| | | class="col-sm-2 col-form-label col-form-label-sm" |
| | | <label for="colFormLabelSm" class="col-sm-2 col-form-label col-form-label-sm" |
| | | style="font-size: 12px;">Z坐标:</label> |
| | | <div class="col-sm-10"> |
| | | <input class="form-control" type="text" id="posz" /> |
| | | </div> |
| | | </div> |
| | | <div class="form-group row mb-4"> |
| | | <label for="colFormLabelSm" |
| | | class="col-sm-2 col-form-label col-form-label-sm" |
| | | <label for="colFormLabelSm" class="col-sm-2 col-form-label col-form-label-sm" |
| | | style="font-size: 12px;">所在楼层:</label> |
| | | <div class="col-sm-10"> |
| | | <input class="form-control" type="text" id="floor" /> |
| | | </div> |
| | | </div> |
| | | <div class="form-group row mb-4"> |
| | | <label for="colFormLabelSm" |
| | | class="col-sm-2 col-form-label col-form-label-sm" |
| | | <label for="colFormLabelSm" class="col-sm-2 col-form-label col-form-label-sm" |
| | | style="font-size: 12px;">视频名称:</label> |
| | | <div class="col-sm-10"> |
| | | <input class="form-control" type="text" id="name" /> |
| | | </div> |
| | | </div> |
| | | <div class="modal-footer" |
| | | style="margin-top: 10%; margin-left: 10%; float: left;"> |
| | | <div class="modal-footer" style="margin-top: 10%; margin-left: 10%; float: left;"> |
| | | <button type="button" class="btn btn-primary add">保存</button> |
| | | <a> <c:forEach var="i" begin="1" end="28"> </c:forEach> |
| | | <a> |
| | | <c:forEach var="i" begin="1" end="28"> </c:forEach> |
| | | </a> |
| | | <button class="btn" data-dismiss="modal"> |
| | | <i class="flaticon-cancel-12"></i>取消 |
| | |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="modal fade modifyNew" tabindex="-1" role="dialog" |
| | | aria-labelledby="myExtraLargeModalLabel" aria-hidden="true"> |
| | | <div class="modal fade modifyNew" tabindex="-1" role="dialog" aria-labelledby="myExtraLargeModalLabel" |
| | | aria-hidden="true"> |
| | | <div class="modal-dialog modal-xl" role="document" style="width: 30%;"> |
| | | <div class="modal-content"> |
| | | <div class="modal-header"> |
| | | <h5 class="modal-title" id="myExtraLargeModalLabel">修改</h5> |
| | | <button type="button" class="close" data-dismiss="modal" |
| | | aria-label="Close"> |
| | | <svg aria-hidden="true" xmlns="http://www.w3.org/2000/svg" |
| | | width="24" height="24" viewBox="0 0 24 24" fill="none" |
| | | stroke="currentColor" stroke-width="2" stroke-linecap="round" |
| | | stroke-linejoin="round" class="feather feather-x"> |
| | | <button type="button" class="close" data-dismiss="modal" aria-label="Close"> |
| | | <svg aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="24" height="24" |
| | | viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" |
| | | stroke-linecap="round" stroke-linejoin="round" class="feather feather-x"> |
| | | <line x1="18" y1="6" x2="6" y2="18"></line> |
| | | <line x1="6" y1="6" x2="18" y2="18"></line> |
| | | </svg> |
| | |
| | | <div class="modal-body"> |
| | | <form action="form_action.asp" method="get"> |
| | | <div class="form-group row mb-4"> |
| | | <label for="colFormLabelSm" |
| | | class="col-sm-2 col-form-label col-form-label-sm" |
| | | <label for="colFormLabelSm" class="col-sm-2 col-form-label col-form-label-sm" |
| | | style="font-size: 12px;">区域绑定:</label> |
| | | <div class="col-sm-10"> |
| | | <input class="form-control" type="hidden" id="fencenameg" /> <select |
| | |
| | | </div> |
| | | </div> |
| | | <div class="form-group row mb-4"> |
| | | <label for="colFormLabelSm" |
| | | class="col-sm-2 col-form-label col-form-label-sm" |
| | | style="font-size: 12px;">设备ID:</label> |
| | | <label for="colFormLabelSm" class="col-sm-2 col-form-label col-form-label-sm" |
| | | style="font-size: 12px;">设备用户名:</label> |
| | | <div class="col-sm-10"> |
| | | <input class="form-control" type="text" id="shebeiidg" /> |
| | | <input class="form-control" type="text" id="yonghumingg" /> |
| | | </div> |
| | | </div> |
| | | <div class="form-group row mb-4"> |
| | | <label for="colFormLabelSm" |
| | | class="col-sm-2 col-form-label col-form-label-sm" |
| | | style="font-size: 12px;">通道ID:</label> |
| | | <label for="colFormLabelSm" class="col-sm-2 col-form-label col-form-label-sm" |
| | | style="font-size: 12px;">设备密码:</label> |
| | | <div class="col-sm-10"> |
| | | <input class="form-control" type="text" id="tongdaoidg" /> |
| | | <input class="form-control" type="text" id="mimag" /> |
| | | </div> |
| | | </div> |
| | | <div class="form-group row mb-4"> |
| | | <label for="colFormLabelSm" |
| | | class="col-sm-2 col-form-label col-form-label-sm" |
| | | <label for="colFormLabelSm" class="col-sm-2 col-form-label col-form-label-sm" |
| | | style="font-size: 12px;">设备IP:</label> |
| | | <div class="col-sm-10"> |
| | | <input class="form-control" type="text" id="baoliu1g" /> |
| | | </div> |
| | | </div> |
| | | <div class="form-group row mb-4"> |
| | | <label for="colFormLabelSm" class="col-sm-2 col-form-label col-form-label-sm" |
| | | style="font-size: 12px;">X坐标:</label> |
| | | <div class="col-sm-10"> |
| | | <input class="form-control" type="text" id="posxg" /> |
| | | </div> |
| | | </div> |
| | | <div class="form-group row mb-4"> |
| | | <label for="colFormLabelSm" |
| | | class="col-sm-2 col-form-label col-form-label-sm" |
| | | <label for="colFormLabelSm" class="col-sm-2 col-form-label col-form-label-sm" |
| | | style="font-size: 12px;">Y坐标:</label> |
| | | <div class="col-sm-10"> |
| | | <input class="form-control" type="text" id="posyg" /> |
| | | </div> |
| | | </div> |
| | | <div class="form-group row mb-4"> |
| | | <label for="colFormLabelSm" |
| | | class="col-sm-2 col-form-label col-form-label-sm" |
| | | <label for="colFormLabelSm" class="col-sm-2 col-form-label col-form-label-sm" |
| | | style="font-size: 12px;">Z坐标:</label> |
| | | <div class="col-sm-10"> |
| | | <input class="form-control" type="text" id="poszg" /> |
| | | </div> |
| | | </div> |
| | | <div class="form-group row mb-4"> |
| | | <label for="colFormLabelSm" |
| | | class="col-sm-2 col-form-label col-form-label-sm" |
| | | <label for="colFormLabelSm" class="col-sm-2 col-form-label col-form-label-sm" |
| | | style="font-size: 12px;">所在楼层:</label> |
| | | <div class="col-sm-10"> |
| | | <input class="form-control" type="text" id="floorg" /> |
| | | </div> |
| | | </div> |
| | | <div class="form-group row mb-4"> |
| | | <label for="colFormLabelSm" |
| | | class="col-sm-2 col-form-label col-form-label-sm" |
| | | <label for="colFormLabelSm" class="col-sm-2 col-form-label col-form-label-sm" |
| | | style="font-size: 12px;">视频名称:</label> |
| | | <div class="col-sm-10"> |
| | | <input class="form-control" type="text" id="nameg" /> |
| | | </div> |
| | | </div> |
| | | <div class="modal-footer" |
| | | style="margin-top: 10%; margin-left: 10%; float: left;"> |
| | | <button type="button" class="btn btn-primary modify">保存</button> |
| | | <a> <c:forEach var="i" begin="1" end="28"> </c:forEach> |
| | | </a> |
| | | <button class="btn" data-dismiss="modal"> |
| | | <i class="flaticon-cancel-12"></i>取消 |
| | | </button> |
| | | </div> |
| | | </form> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <!-- <div class="modal fade importLable" tabindex="-1" role="dialog" aria-labelledby="myExtraLargeModalLabel" |
| | | aria-hidden="true"> |
| | | <div class="modal-dialog modal-xl" role="document" style="width:25%;"> |
| | | <div class="modal-content"> |
| | | <div class="modal-header"> |
| | | <h5 class="modal-title" id="myExtraLargeModalLabel">导入基站</h5> |
| | | <button type="button" class="close" data-dismiss="modal" aria-label="Close"> |
| | | <svg aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="24" height="24" |
| | | viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" |
| | | stroke-linecap="round" stroke-linejoin="round" class="feather feather-x"> |
| | | <line x1="18" y1="6" x2="6" y2="18"></line> |
| | | <line x1="6" y1="6" x2="18" y2="18"></line> |
| | | </svg> |
| | | </button> |
| | | </div> |
| | | <div class="modal-body"> |
| | | <form action="/hxzkoa/uploadAnchor.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;"> |
| | | <input type="file" class="form-control-file" name="file" id="importXls"> |
| | | </div> |
| | | <input class="form-control" type="hidden" id="resultList" value="${resultList}" /> |
| | | <div class="modal-footer" style="margin-top:10%; margin-left:10%;float:left;"> |
| | | <button type="submit" class="btn btn-primary">保存</button> |
| | | <button type="button" class="btn btn-primary modify">保存</button> |
| | | <a> |
| | | <c:forEach var="i" begin="1" end="28"> </c:forEach> |
| | | </a> |
| | |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </div> --> |
| | | </div> |
| | | <!-- END MODAL --> |
| | | <!-- BEGIN MAIN CONTAINER --> |
| | | <div class="main-container" id="container"> |
| | |
| | | <div class="col-xl-12 col-lg-12 col-sm-12 layout-spacing"> |
| | | <div class="widget-content widget-content-area br-6"> |
| | | <div class="table-responsive mb-4 mt-4"> |
| | | <table id="html5-extension" class="table table-hover" |
| | | style="width: 100%"> |
| | | <table id="html5-extension" class="table table-hover" style="width: 100%"> |
| | | <div> |
| | | <div class="search-input-group-style input-group mb-3" |
| | | style="width: 15%; float: left; margin-left: 15px; margin-right: 15px;"> |
| | | <div class="input-group-prepend"> |
| | | <span class="input-group-text search" id="basic-addon1"><svg |
| | | xmlns="http://www.w3.org/2000/svg" width="24" height="24" |
| | | viewBox="0 0 24 24" fill="none" stroke="currentColor" |
| | | stroke-width="2" stroke-linecap="round" |
| | | stroke-linejoin="round" class="feather feather-search"> |
| | | xmlns="http://www.w3.org/2000/svg" width="24" |
| | | height="24" viewBox="0 0 24 24" fill="none" |
| | | stroke="currentColor" stroke-width="2" |
| | | stroke-linecap="round" stroke-linejoin="round" |
| | | class="feather feather-search"> |
| | | <circle cx="11" cy="11" r="8"></circle> |
| | | <line x1="21" y1="21" x2="16.65" y2="16.65"></line> |
| | | </svg></span> |
| | |
| | | </div> |
| | | |
| | | <button type="button" class="btn btn-secondary reset">刷新</button> |
| | | <button type="button" class="btn btn-secondary" |
| | | data-toggle="modal" data-target=".addNew" id="addButton">新增</button> |
| | | <button type="button" class="btn btn-secondary" data-toggle="modal" |
| | | data-target=".addNew" id="addButton">新增</button> |
| | | <button type="button" class="btn btn-secondary initModify" |
| | | data-toggle="modal" data-target=".modifyNew" |
| | | id="modifyButton">修改</button> |
| | |
| | | <th class="noExl">选择</th> |
| | | <th>ID</th> |
| | | <th>区域绑定</th> |
| | | <th>设备编号</th> |
| | | <th>通道编号</th> |
| | | <th>设备用户名</th> |
| | | <th>设备密码</th> |
| | | <th>设备IP</th> |
| | | <th>X坐标</th> |
| | | <th>Y坐标</th> |
| | | <th>Z坐标</th> |
| | |
| | | type="checkbox" class="custom-control-input" |
| | | id="${list.id}" name="selectIds"><label |
| | | class="custom-control-label" for="${list.id}" |
| | | style="position: raletive; left: 20px;"></label></td> |
| | | style="position: raletive; left: 20px;"></label> |
| | | </td> |
| | | <td>${list.id}</td> |
| | | <td>${list.fencename}</td> |
| | | <td>${list.shebeiid}</td> |
| | | <td>${list.tongdaoid}</td> |
| | | <td>${list.yonghuming}</td> |
| | | <td>${list.mima}</td> |
| | | <td>${list.baoliu1}</td> |
| | | <td>${list.posx}</td> |
| | | <td>${list.posy}</td> |
| | | <td>${list.posz}</td> |
| | |
| | | </div> |
| | | <!-- END CONTENT PART --> |
| | | </div> |
| | | <% |
| | | String superuser = (String) session.getAttribute("superuser"); |
| | | String deleteq = (String) session.getAttribute("deleteq"); |
| | | String alertq = (String) session.getAttribute("alertq"); |
| | | String deleteall = (String) session.getAttribute("deleteall"); |
| | | String username = (String) session.getAttribute("username"); |
| | | if (username == null || username.equals("")) { |
| | | request.getRequestDispatcher("/hxzk/login.jsp").forward(request, response); |
| | | return; |
| | | } |
| | | %> |
| | | <input type="hidden" name="superuser" id="superuser" |
| | | value="<%=superuser%>"> <input type="hidden" name="deleteq" |
| | | id="deleteq" value="<%=deleteq%>"> <input type="hidden" |
| | | name="alertq" id="alertq" value="<%=alertq%>"> <input |
| | | type="hidden" name="deleteall" id="deleteall" value="<%=deleteall%>"> |
| | | <% String superuser=(String) session.getAttribute("superuser"); String deleteq=(String) |
| | | session.getAttribute("deleteq"); String alertq=(String) session.getAttribute("alertq"); String |
| | | deleteall=(String) session.getAttribute("deleteall"); String username=(String) |
| | | session.getAttribute("username"); String fenceq=(String) session.getAttribute("fenceq"); if (username==null || username.equals("")) { |
| | | request.getRequestDispatcher("/hxzk/login.jsp").forward(request, response); return; } %> |
| | | <input type="hidden" name="superuser" id="superuser" value="<%=superuser%>"> <input |
| | | type="hidden" name="deleteq" 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%>"> |
| | | <input type="hidden" name="fenceq" id="fenceq" value="<%=fenceq%>"> |
| | | <!-- END MAIN CONTAINER --> |
| | | <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; |
| | | title = data.dataList[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; |
| | | var fenceq = document.getElementById("fenceq").value; |
| | | document.getElementById("xianuser").innerHTML=document.getElementById("xianusera").value |
| | | //console.log(superuser) |
| | | if (superuser == "访客") { |
| | | $("#addButton").attr("disabled", "true"); |
| | |
| | | if (deleteall == "否") { |
| | | $("#deleteAllButton").attr("disabled", "true"); |
| | | } |
| | | }); |
| | | if (fenceq == "否") { |
| | | $("#addButton").attr("disabled", "true"); |
| | | } |
| | | }; |
| | | // 加载head复用页面 |
| | | $('.header-page').load('/hxzkoa/hxzk/top.html'); |
| | | $('.login-page').load('/hxzkoa/hxzk/head.html'); |
| | |
| | | function() { |
| | | var reg = new RegExp("^[A-Za-z0-9]+$"); |
| | | var fencename = $('#bumen_m option:selected').val(); |
| | | var shebeiid = $("#shebeiid").val(); |
| | | var tongdaoid = $("#tongdaoid").val(); |
| | | var yonghuming = $("#yonghuming").val(); |
| | | var mima = $("#mima").val(); |
| | | var posx = $("#posx").val(); |
| | | var posy = $("#posy").val(); |
| | | var posz = $("#posz").val(); |
| | | var floor = $("#floor").val(); |
| | | var name = $("#name").val(); |
| | | var baoliu1 = $("#baoliu1").val(); |
| | | var reg2 = new RegExp("^[0-9][0-9]*$"); |
| | | var sid = reg2.test(shebeiid); |
| | | var tid = reg2.test(tongdaoid); |
| | | if (fencename == "" || shebeiid == "" |
| | | || tongdaoid == "" || posx == "" || posy == "" |
| | | || posz == "" || floor == "" || name == "") { |
| | | var sid = reg2.test(yonghuming); |
| | | var tid = reg2.test(mima); |
| | | if (fencename == "" || yonghuming == "" |
| | | || mima == "" || posx == "" || posy == "" |
| | | || posz == "" || floor == "" || name == "" || baoliu1 == "") { |
| | | swal('输入有误', '输入不能为空!', 'error'); |
| | | return; |
| | | } |
| | | if ((!sid && shebeiid != "") |
| | | || (!tid && tongdaoid != "")) { |
| | | if ((!sid && yonghuming != "") |
| | | || (!tid && mima != "")) { |
| | | swal('输入有误', '不能输入小数!', 'error'); |
| | | return; |
| | | } |
| | |
| | | url : "/hxzkoa/shipinManagement_add.do", |
| | | data : { |
| | | fencename : fencename, |
| | | shebeiid : shebeiid, |
| | | tongdaoid : tongdaoid, |
| | | yonghuming: yonghuming, |
| | | mima: mima, |
| | | posx : posx, |
| | | posy : posy, |
| | | posz : posz, |
| | | floor : floor, |
| | | name : name, |
| | | baoliu1: baoliu1, |
| | | }, |
| | | dataType : "json" |
| | | }); |
| | |
| | | firstId = $(this).attr('id'); |
| | | tr = $(this).parent().parent()[0]; |
| | | $("#bumen_mg").val(tr.children[2].innerHTML); |
| | | $("#shebeiidg").val(tr.children[3].innerHTML); |
| | | $("#tongdaoidg").val(tr.children[4].innerHTML); |
| | | $("#posxg").val(tr.children[5].innerHTML); |
| | | $("#posyg").val(tr.children[6].innerHTML); |
| | | $("#poszg").val(tr.children[7].innerHTML); |
| | | $("#floorg").val(tr.children[8].innerHTML); |
| | | $("#nameg").val(tr.children[9].innerHTML); |
| | | $("#yonghumingg").val(tr.children[3].innerHTML); |
| | | $("#mimag").val(tr.children[4].innerHTML); |
| | | $("#baoliu1g").val(tr.children[5].innerHTML); |
| | | $("#posxg").val(tr.children[6].innerHTML); |
| | | $("#posyg").val(tr.children[7].innerHTML); |
| | | $("#poszg").val(tr.children[8].innerHTML); |
| | | $("#floorg").val(tr.children[9].innerHTML); |
| | | $("#nameg").val(tr.children[10].innerHTML); |
| | | return false; |
| | | } |
| | | }); |
| | |
| | | firstId = $(this).attr('id'); |
| | | tr = $(this).parent().parent()[0]; |
| | | $("#bumen_mg").val(tr.children[2].innerHTML); |
| | | $("#shebeiidg").val(tr.children[3].innerHTML); |
| | | $("#tongdaoidg").val(tr.children[4].innerHTML); |
| | | $("#posxg").val(tr.children[5].innerHTML); |
| | | $("#posyg").val(tr.children[6].innerHTML); |
| | | $("#poszg").val(tr.children[7].innerHTML); |
| | | $("#floorg").val(tr.children[8].innerHTML); |
| | | $("#nameg").val(tr.children[9].innerHTML); |
| | | $("#yonghumingg").val(tr.children[3].innerHTML); |
| | | $("#mimag").val(tr.children[4].innerHTML); |
| | | $("#baoliu1g").val(tr.children[5].innerHTML); |
| | | $("#posxg").val(tr.children[6].innerHTML); |
| | | $("#posyg").val(tr.children[7].innerHTML); |
| | | $("#poszg").val(tr.children[8].innerHTML); |
| | | $("#floorg").val(tr.children[9].innerHTML); |
| | | $("#nameg").val(tr.children[10].innerHTML); |
| | | return false; |
| | | } |
| | | }); |
| | |
| | | var checkVal = []; |
| | | var obj = document.getElementsByName("selectIds"); |
| | | var fencename = $('#bumen_mg option:selected').val(); |
| | | var shebeiid = $("#shebeiidg").val(); |
| | | var tongdaoid = $("#tongdaoidg").val(); |
| | | var yonghuming = $("#yonghumingg").val(); |
| | | var mima = $("#mimag").val(); |
| | | var baoliu1 = $("#baoliu1g").val(); |
| | | var posx = $("#posxg").val(); |
| | | var posy = $("#posyg").val(); |
| | | var posz = $("#poszg").val(); |
| | |
| | | data : { |
| | | id : checkVal.toString(), |
| | | fencename : fencename, |
| | | shebeiid : shebeiid, |
| | | tongdaoid : tongdaoid, |
| | | yonghuming: yonghuming, |
| | | mima: mima, |
| | | baoliu1: baoliu1, |
| | | posx : posx, |
| | | posy : posy, |
| | | posz : posz, |
| | |
| | | + "</td><td>" |
| | | + data.dataList[k].fencename |
| | | + "</td><td>" |
| | | + data.dataList[k].shebeiid |
| | | + data.dataList[k].yonghuming |
| | | + "</td><td>" |
| | | + data.dataList[k].tongdaoid |
| | | + data.dataList[k].mima |
| | | + "</td><td>" |
| | | + data.dataList[k].baoliu1 |
| | | + "</td><td>" |
| | | + data.dataList[k].posx |
| | | + "</td><td>" |
| | |
| | | } |
| | | }); |
| | | }); |
| | | // $(".namess").click(function () { |
| | | // var input = $("#names").val(); |
| | | // if (input == "") { |
| | | // swal('输入有误', '输入不能为空!', 'error'); return; |
| | | // } |
| | | // if (isNaN(input)) { |
| | | // //swal('输入有误','请输入数字!','error');return; |
| | | // } |
| | | // $.ajax({ |
| | | // async: false, //同步的 |
| | | // type: "POST", |
| | | // url: "/hxzkoa/shipinManagement_cesearch.do", |
| | | // data: { |
| | | // input: input |
| | | // }, |
| | | // dataType: "json", |
| | | // success: function (data) { |
| | | // //搜索完成后刷新页面,只显示查到的部分 |
| | | // var str = ""; |
| | | // for (var k in data.dataList) { |
| | | // str += "<tr align=\"center\" class=\"d\"><td class=\"noExl custom-control custom-checkbox\"><input type=\"checkbox\" class=\"custom-control-input\" id="+ data.dataList[k].id +" name=\"selectIds\"><label class=\"custom-control-label\" for="+ data.dataList[k].id +" style=\"position:raletive;left:20px;\"></label></td><td>"+data.dataList[k].id+"</td><td>"+data.dataList[k].fencename+"</td><td>"+data.dataList[k].shebeiid+"</td><td>"+data.dataList[k].tongdaoid+"</td><td>"+data.dataList[k].addtime+"</td></tr>" |
| | | // } |
| | | // $("#nr").html(str); |
| | | // if (!data.pageList.length == 0) { |
| | | // str = ""; |
| | | // str += "<li><a href=\"javascript:page('pre');\">上一页</a></li>"; |
| | | // for (var k = 0; k < data.pageList.length; k++) { |
| | | // str += "<li id=\"page_" + data.pageList[k] + "\"><a href=\"javascript:page('" + data.pageList[k] + "');\">" + data.pageList[k] + "</a></li>"; |
| | | // } |
| | | // str += "<li><a href=\"javascript:page('next');\">下一页</a></li>"; |
| | | // $("#pageListId").html(str); |
| | | // } |
| | | // $("#pageListId>li.active").removeClass("active"); |
| | | // $("#page_" + data.curPage).addClass("active"); |
| | | // $("#curPage").val(data.curPage); |
| | | |
| | | // }, |
| | | // error: function () { |
| | | // console.log('error'); |
| | | // } |
| | | // }); |
| | | // }); |
| | | // 导出表格 |
| | | // $(".toAllExcel").click(function () { |
| | | // window.location.href = '/hxzkoa/anchorManagement_export.do'; |
| | | // swal({ |
| | | // title: "Exported!", |
| | | // text: "导出成功!", |
| | | // type: "success", |
| | | // showCancelButton: false, |
| | | // showConfirmButton: false, |
| | | // buttons: false |
| | | // }) |
| | | // setTimeout("window.location.reload()", 1000); |
| | | // }); |
| | | // 分页跳转 |
| | | function page(page) { |
| | | var curPage = $("#curPage").val(); |
| | |
| | | + "</td><td>" |
| | | + data.dataList[k].fencename |
| | | + "</td><td>" |
| | | + data.dataList[k].shebeiid |
| | | + data.dataList[k].yonghuming |
| | | + "</td><td>" |
| | | + data.dataList[k].tongdaoid |
| | | + data.dataList[k].mima |
| | | + "</td><td>" |
| | | + data.dataList[k].posx |
| | | + data.dataList[k].baoliu1 |
| | | + "</td><td>" |
| | | + data.dataList[k].posy |
| | | + "</td><td>" |