From 24e1c6a1c3d5331b5a4f1111dcbae3ef148eda1a Mon Sep 17 00:00:00 2001
From: yzt <Xynz17@163.com>
Date: 星期一, 08 五月 2023 12:08:12 +0800
Subject: [PATCH] BS版本 1.20
---
src/main/webapp/hxzk/basicInfo/personManagement.jsp | 565 +++++++++++++++++++++++++++++++++++---------------------
1 files changed, 353 insertions(+), 212 deletions(-)
diff --git a/src/main/webapp/hxzk/basicInfo/personManagement.jsp b/src/main/webapp/hxzk/basicInfo/personManagement.jsp
index 49a390d..9ecd1ed 100644
--- a/src/main/webapp/hxzk/basicInfo/personManagement.jsp
+++ b/src/main/webapp/hxzk/basicInfo/personManagement.jsp
@@ -3,85 +3,156 @@
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<html lang="en">
<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" 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/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" rel="stylesheet">
- <style>
- .panel-head{
- font-size: 1rem; color: rgba(255,255,255,.7); line-height: 2rem; text-align: center;
- background: linear-gradient(rgb(0,20,30), rgb(0,40,70));
- border: 2px solid rgba(0,90,120,.3);
- }
- .table-bordered td, .table-bordered th { border: 1px solid #ebedf2; }
-
-
- </style>
- <script src="/hxzkoa/hxzk/assets/js/app.js"></script>
- <script src="/hxzkoa/hxzk/assets/js/dashboard/dash_2.js"></script>
- <script src="/hxzkoa/hxzk/assets/js/loader.js"></script>
- <script src="/hxzkoa/hxzk/assets/js/libs/jquery-3.1.1.min.js"></script>
- <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/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>
+<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"
+ 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/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"
+ rel="stylesheet">
+<style>
+body {
+ margin: 0px;
+ width: 100%;
+ min-width: 1500px;
+ max-width: 100%;
+ height: 100%;
+ background-color: #F0F0F0;
+}
+
+#head {
+ background-color: #FFFF00;
+ width: 100%;
+ height: 100px;
+}
+
+#center {
+ background-color: #00FFFF;
+ width: 100%;
+ min-height: 100%;
+}
+
+#foot {
+ background-color: #FF00FF;
+ width: 100%;
+ height: 100px;
+}
+
+.panel-head {
+ font-size: 1rem;
+ color: rgba(255, 255, 255, .7);
+ line-height: 2rem;
+ text-align: center;
+ background: linear-gradient(rgb(0, 20, 30), rgb(0, 40, 70));
+ border: 2px solid rgba(0, 90, 120, .3);
+}
+
+.table-bordered td, .table-bordered th {
+ border: 1px solid #ebedf2;
+}
+</style>
+<script src="/hxzkoa/hxzk/assets/js/app.js"></script>
+<script src="/hxzkoa/hxzk/assets/js/dashboard/dash_2.js"></script>
+<script src="/hxzkoa/hxzk/assets/js/loader.js"></script>
+<script src="/hxzkoa/hxzk/assets/js/libs/jquery-3.1.1.min.js"></script>
+<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/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>
</head>
<body class="alt-menu sidebar-noneoverflow">
-
- <!-- BEGIN LOADER -->
- <div id="load_screen"> <div class="loader"> <div class="loader-content">
- <div class="spinner-grow align-self-center"></div>
- </div></div></div>
- <!-- END LOADER -->
- <div class="border-left" style="opacity:0.4;float:left;position:absolute;z-index:1;left:120px;height:20px;"><img alt="" src="/hxzkoa/resources/images/border.png" class="img-left"></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"></div>
- <!-- BEGIN NAVBAR -->
+
+ <!-- BEGIN LOADER -->
+ <div id="load_screen">
+ <div class="loader">
+ <div class="loader-content">
+ <div class="spinner-grow align-self-center"></div>
+ </div>
+ </div>
+ </div>
+ <!-- END LOADER -->
+ <div class="border-left"
+ style="opacity: 0.4; float: left; position: absolute; z-index: 1; left: 120px; height: 20px;">
+ <img alt="" src="/hxzkoa/resources/images/border.png" class="img-left">
+ </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">
+ </div>
+ <!-- BEGIN NAVBAR -->
<div class="login-page"></div>
- <!-- END NAVBAR -->
-
+ <!-- END NAVBAR -->
- <!-- BEGIN MAIN CONTAINER -->
- <div class="main-container" id="container">
- <div class="overlay"></div>
- <div class="search-overlay"></div>
+ <!-- BEGIN MAIN CONTAINER -->
+ <div class="main-container" id="container">
- <!-- BEGIN TOPBAR -->
- <div class="header-page"></div>
- <!-- END TOPBAR -->
-
- <!-- BEGIN MODAL -->
+ <div class="overlay"></div>
+ <div class="search-overlay"></div>
+
+ <!-- BEGIN TOPBAR -->
+ <div class="header-page"></div>
+ <!-- END TOPBAR -->
+
+ <!-- BEGIN MODAL -->
<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-dialog modal-xl" role="document"
+ style="width: 30%;">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="myExtraLargeModalLabel">淇敼</h5>
@@ -98,53 +169,61 @@
<div class="modal-body">
<form action="form_action.asp" method="get">
<div
- style="width:90%; margin:0 auto; overflow:auto; _display:inline-block;">
- <div style="width:60%; margin-left:20%;float:left;">
+ style="width: 90%; margin: 0 auto; overflow: auto; _display: inline-block;">
+ <div style="width: 60%; margin-left: 20%; float: left;">
<label for="exampleFormControlInput1">鏍囩ID:</label> <input
class="form-control" type="text" id="p_tag_id_m"
disabled="disabled" />
</div>
</div>
<div
- style="width:90%; margin:0 auto; overflow:auto; _display:inline-block;">
- <div style="width:60%; margin-left:20%;float:left;">
+ style="width: 90%; margin: 0 auto; overflow: auto; _display: inline-block;">
+ <div style="width: 60%; margin-left: 20%; float: left;">
<label for="exampleFormControlInput1">濮撳悕:</label> <input
class="form-control" type="text" id="p_name_m" />
</div>
</div>
<div
- style="width:90%; margin:0 auto; overflow:auto; _display:inline-block;">
- <div style="width:60%; margin-left:20%;float:left;margin-top:10px;">
+ style="width: 90%; margin: 0 auto; overflow: auto; _display: inline-block;">
+ <div
+ style="width: 60%; margin-left: 20%; float: left; margin-top: 10px;">
<label for="exampleFormControlInput1">鎬у埆:</label>
<div class="custom-control custom-radio custom-control-inline">
- <input type="radio" id="customRadioInline1" name="customRadioInline1" class="custom-control-input" value="0">
- <label class="custom-control-label" for="customRadioInline1">鐢�</label>
- </div>
- <div class="custom-control custom-radio custom-control-inline">
- <input type="radio" id="customRadioInline2" name="customRadioInline1" class="custom-control-input" value="1">
- <label class="custom-control-label" for="customRadioInline2">濂�</label>
- </div>
+ <input type="radio" id="customRadioInline1"
+ name="customRadioInline1" class="custom-control-input"
+ value="0"> <label class="custom-control-label"
+ for="customRadioInline1">鐢�</label>
+ </div>
+ <div class="custom-control custom-radio custom-control-inline">
+ <input type="radio" id="customRadioInline2"
+ name="customRadioInline1" class="custom-control-input"
+ value="1"> <label class="custom-control-label"
+ for="customRadioInline2">濂�</label>
+ </div>
</div>
</div>
<div
- style="width:90%; margin:0 auto; overflow:auto; _display:inline-block;">
- <div style="width:60%; margin-left:20%;float:left;">
- <label for="exampleFormControlInput1">閮ㄩ棬:</label><select class="form-control form-control-lg" id="department_m">
- <c:forEach items="${departmentList}" var="department">
- <option value="${department.departmentName},${department.iconadress}">${department.departmentName} </option>
- </c:forEach>
- </select>
+ style="width: 90%; margin: 0 auto; overflow: auto; _display: inline-block;">
+ <div style="width: 60%; margin-left: 20%; float: left;">
+ <label for="exampleFormControlInput1">閮ㄩ棬:</label><select
+ class="form-control form-control-lg" id="department_m">
+ <c:forEach items="${departmentList}" var="department">
+ <option
+ value="${department.departmentName},${department.iconadress}">${department.departmentName}
+ </option>
+ </c:forEach>
+ </select>
</div>
</div>
<div
- style="width:90%; margin:0 auto; overflow:auto; _display:inline-block;">
- <div style="width:60%; margin-left:20%;float:left;">
+ style="width: 90%; margin: 0 auto; overflow: auto; _display: inline-block;">
+ <div style="width: 60%; margin-left: 20%; float: left;">
<label for="exampleFormControlInput1">鐢佃瘽:</label> <input
class="form-control" type="text" id="p_phone_m" />
</div>
</div>
<div class="modal-footer"
- style="margin-top:10%; margin-left:10%;float:left;">
+ 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">
@@ -156,51 +235,66 @@
</div>
</div>
</div>
-
- <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"><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/uploadPerson.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="addPerson">
- </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>
- <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>
- <!-- END MODAL -->
-
- <!-- BEGIN CONTENT PART -->
- <div id="content" class="main-content">
- <div class="layout-px-spacing">
-
- <div class="row layout-top-spacing" id="cancel-row">
-
- <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%">
- <div>
- <div class="search-input-group-style input-group mb-3"
- style="width:15%;float:left;margin-left:15px;margin-right:15px;">
+ <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">
+ <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/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;">
+ <input type="file" class="form-control-file" name="file"
+ id="addPerson">
+ </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>
+ <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>
+ <!-- END MODAL -->
+
+ <!-- BEGIN CONTENT PART -->
+ <div id="content" class="main-content">
+ <div class="layout-px-spacing">
+
+ <div class="row layout-top-spacing" id="cancel-row">
+
+ <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%">
+ <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
+ <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"
@@ -209,57 +303,59 @@
<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="璇疯緭鍏ユ爣绛綢D" aria-label="Username"
+ placeholder="璇疯緭鍏ョ紪鍙锋垨濮撳悕" aria-label="Username"
aria-describedby="basic-addon1">
</div>
- <button type="button" class="btn btn-secondary reset">鍒锋柊</button>
- <button type="button" class="btn btn-secondary initModify"
- data-toggle="modal" data-target=".modifyNew" id="modifyButton">淇敼</button>
- <button type="button" class="btn btn-secondary delete" id="deleteButton">鍒犻櫎</button>
- <button type="button" class="btn btn-secondary deleteAll" id="deleteAllButton">鍏ㄩ儴鍒犻櫎</button>
- <button type="button" class="btn btn-secondary" data-toggle="modal" data-target=".addNew" id="importButton">瀵煎叆浜哄憳</button>
- <button type="button" class="btn btn-secondary toAllExcel">瀵煎嚭琛ㄦ牸</button>
- <button type="button" class="btn btn-secondary toExcel">涓嬭浇妯℃澘</button>
- </div>
- <thead>
- <tr align="center">
- <th class="noExl">閫夋嫨</th>
- <th class="noExl">搴忓彿</th>
- <th>濮撳悕</th>
- <th>鏍囩ID</th>
- <th>鎬у埆</th>
- <th>閮ㄩ棬</th>
- <th>鐢佃瘽</th>
- <th class="noExl">鐢甸噺%</th>
- <th class="noExl">鍥炬爣</th>
- <th class="noExl">娣诲姞鏃堕棿</th>
- </tr>
- </thead>
- <tbody id="nr">
- <c:forEach items="${personManagementList}" var="list">
- <tr align="center">
- <td class="noExl custom-control custom-checkbox"><input type="checkbox"
- class="custom-control-input" id="${list.id}"
- name="selectIds"><input type="hidden"
- class="custom-control-input" value="${list.p_tagid}"
- name="tagids"><label
- class="custom-control-label" for="${list.id}"
- style="position:raletive;left:20px;top:5px;"></label></td>
- <td class="noExl">${list.id}</td>
- <td class="noExl">${list.p_name}</td>
- <td class="noExl">${list.p_tagid}</td>
- <td class="noExl">${list.p_sex}</td>
- <td class="noExl">${list.p_department}</td>
- <td class="noExl">${list.p_phone}</td>
- <td class="noExl">${list.p_power}</td>
- <td class="noExl"><img src="hxzk/${list.p_image}"/></td>
- <td class="noExl">${list.p_addtiem}</td>
- </tr>
- </c:forEach>
- </tbody>
- </table>
- </div>
- <div class="paginating-container pagination-solid">
+ <button type="button" class="btn btn-secondary reset">鍒锋柊</button>
+ <button type="button" class="btn btn-secondary initModify"
+ data-toggle="modal" data-target=".modifyNew"
+ id="modifyButton">淇敼</button>
+ <button type="button" class="btn btn-secondary delete"
+ id="deleteButton">鍒犻櫎</button>
+ <button type="button" class="btn btn-secondary deleteAll"
+ id="deleteAllButton">鍏ㄩ儴鍒犻櫎</button>
+ <button type="button" class="btn btn-secondary toAllExcel">瀵煎嚭琛ㄦ牸</button>
+
+ </div>
+ <thead>
+ <tr align="center">
+ <th class="noExl">閫夋嫨</th>
+ <th class="noExl">搴忓彿</th>
+ <th>濮撳悕</th>
+ <th>鏍囩ID</th>
+ <th>鎬у埆</th>
+ <th>閮ㄩ棬</th>
+ <th>鐢佃瘽</th>
+ <th class="noExl">鐢甸噺%</th>
+ <th class="noExl">鍥炬爣</th>
+ <th class="noExl">娣诲姞鏃堕棿</th>
+ </tr>
+ </thead>
+ <tbody id="nr">
+ <c:forEach items="${personManagementList}" var="list">
+ <tr align="center">
+ <td class="noExl custom-control custom-checkbox"><input
+ type="checkbox" class="custom-control-input"
+ id="${list.id}" name="selectIds"><input
+ type="hidden" class="custom-control-input"
+ value="${list.p_tagid}" name="tagids"><label
+ class="custom-control-label" for="${list.id}"
+ style="position: raletive; left: 20px; top: 5px;"></label></td>
+ <td class="noExl">${list.id}</td>
+ <td class="noExl">${list.p_name}</td>
+ <td class="noExl">${list.p_tagid}</td>
+ <td class="noExl">${list.p_sex}</td>
+ <td class="noExl">${list.p_department}</td>
+ <td class="noExl">${list.p_phone}</td>
+ <td class="noExl">${list.p_power}</td>
+ <td class="noExl"><img src="hxzk/${list.p_image}" /></td>
+ <td class="noExl">${list.p_addtiem}</td>
+ </tr>
+ </c:forEach>
+ </tbody>
+ </table>
+ </div>
+ <div class="paginating-container pagination-solid">
<input type="hidden" id="curPage" value="${curPage}"></input>
<ul class="pagination" id="pageListId">
<li><a href="javascript:page('pre');">涓婁竴椤�</a></li>
@@ -270,30 +366,76 @@
<li><a href="javascript:page('next');">涓嬩竴椤�</a></li>
</ul>
</div>
- </div>
- </div>
+ </div>
+ </div>
- </div>
+ </div>
- </div>
- <!-- END CONTENT PART -->
+ </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");
- %>
- <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%>">
- <!-- END MAIN CONTAINER -->
- <script>
+ </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%>">
+ <!-- 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;
@@ -318,7 +460,7 @@
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);
@@ -329,7 +471,7 @@
$.ajax({
async : false, //鍚屾鐨�
type : "POST",
- url : "/hxzkoa/personManagement_page.do",
+ url : "/hxzkoa/personManagement_page4.do",
data : {
page : page,
curPage : curPage
@@ -379,7 +521,7 @@
$.ajax({
async : false, //鍚屾鐨�
type : "POST",
- url : "/hxzkoa/personManagement_search.do",
+ url : "/hxzkoa/personManagement_search4.do",
data : {
input : input
},
@@ -623,7 +765,7 @@
// 瀵煎嚭琛ㄦ牸
$(".toAllExcel").click(function() {
- window.location.href='/hxzkoa/personManagement_export.do';
+ window.location.href='/hxzkoa/personManagement_export4.do';
swal({title:"Exported!",
text:"瀵煎嚭鎴愬姛锛�",
type:"success",
@@ -635,7 +777,7 @@
});
// 涓嬭浇妯℃澘
$(".toExcel").click(function() {
- window.location.href='/hxzkoa/personManagement_exportTemplate.do';
+ window.location.href='/hxzkoa/personManagement_exportTemplate4.do';
swal({title:"Exported!",
text:"瀵煎嚭鎴愬姛锛�",
type:"success",
@@ -646,6 +788,5 @@
setTimeout("window.location.reload()",1000);
});
</script>
-
</body>
</html>
--
Gitblit v1.10.0