From 46522af962250453fbaf2fa079335483651e5c53 Mon Sep 17 00:00:00 2001
From: yzt <Xynz17@163.com>
Date: 星期四, 24 八月 2023 10:09:54 +0800
Subject: [PATCH] BSV1.7

---
 src/main/webapp/hxzk/anchor/anchorConfiguration.jsp |   39 ++++++++++++++++++++++++++++++++++++---
 1 files changed, 36 insertions(+), 3 deletions(-)

diff --git a/src/main/webapp/hxzk/anchor/anchorConfiguration.jsp b/src/main/webapp/hxzk/anchor/anchorConfiguration.jsp
index 97d9df3..4fdecd7 100644
--- a/src/main/webapp/hxzk/anchor/anchorConfiguration.jsp
+++ b/src/main/webapp/hxzk/anchor/anchorConfiguration.jsp
@@ -61,6 +61,7 @@
 	max-width: 100%;
 	height: 100%;
 	background-color: #F0F0F0;
+	background: url("/hxzkoa/resources/images/bottomBackground2.jpg");
 }
 
 #head {
@@ -370,6 +371,7 @@
 			return;
 		}
 		%>
+		<input type="hidden" name="xianusera" id="xianusera" value="<%=username%>">
 		<!-- BEGIN FUNCTION SCRIPTS -->
 		<script type="text/javascript">
 			var readconfig;
@@ -910,12 +912,12 @@
 		<script
 			src="/hxzkoa/hxzk/plugins/table/datatable/button-ext/buttons.print.min.js"></script>
 		<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 : {
 
 					},
@@ -923,9 +925,40 @@
 					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' });
+						};
 					},
 				});
-			});
+				document.getElementById("xianuser").innerHTML=document.getElementById("xianusera").value
+			};
 			$('.header-page').load('/hxzkoa/hxzk/top.html');
 			$('.login-page').load('/hxzkoa/hxzk/head.html');
 		</script>

--
Gitblit v1.10.0