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 |   62 +++++++++++++++++++++++++------
 1 files changed, 50 insertions(+), 12 deletions(-)

diff --git a/src/main/webapp/hxzk/basicInfo/personManagement.jsp b/src/main/webapp/hxzk/basicInfo/personManagement.jsp
index 4640bea..9ecd1ed 100644
--- a/src/main/webapp/hxzk/basicInfo/personManagement.jsp
+++ b/src/main/webapp/hxzk/basicInfo/personManagement.jsp
@@ -254,7 +254,7 @@
 						</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;">
@@ -303,7 +303,7 @@
 														<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>
@@ -314,10 +314,8 @@
 											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">
@@ -396,8 +394,48 @@
 		<!-- 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;
@@ -422,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);
@@ -433,7 +471,7 @@
 			$.ajax({
 				async : false, //鍚屾鐨�
 				type : "POST",
-				url : "/hxzkoa/personManagement_page.do",
+				url : "/hxzkoa/personManagement_page4.do",
 				data : {
 					page : page,
 					curPage : curPage
@@ -483,7 +521,7 @@
 			$.ajax({
 				async : false, //鍚屾鐨�
 				type : "POST",
-				url : "/hxzkoa/personManagement_search.do",
+				url : "/hxzkoa/personManagement_search4.do",
 				data : {
 					input : input
 				},
@@ -727,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",
@@ -739,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",

--
Gitblit v1.10.0