From 52cffc4ab8e9787a6f233295502c7c9788dddae1 Mon Sep 17 00:00:00 2001
From: fxl <473369119@qq.com>
Date: 星期二, 07 三月 2023 10:45:17 +0800
Subject: [PATCH] 3.7
---
src/main/webapp/hxzk/anchor/anchorConfiguration.jsp | 38 +++++++++++++++++++++++++++++++++++---
1 files changed, 35 insertions(+), 3 deletions(-)
diff --git a/src/main/webapp/hxzk/anchor/anchorConfiguration.jsp b/src/main/webapp/hxzk/anchor/anchorConfiguration.jsp
index 97d9df3..3a99ef1 100644
--- a/src/main/webapp/hxzk/anchor/anchorConfiguration.jsp
+++ b/src/main/webapp/hxzk/anchor/anchorConfiguration.jsp
@@ -370,6 +370,7 @@
return;
}
%>
+ <input type="hidden" name="xianusera" id="xianusera" value="<%=username%>">
<!-- BEGIN FUNCTION SCRIPTS -->
<script type="text/javascript">
var readconfig;
@@ -910,12 +911,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 +924,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