diff --git a/bns/html/base/log/child/systemLog.html b/bns/html/base/log/child/systemLog.html
index 472a991..b5340a1 100644
--- a/bns/html/base/log/child/systemLog.html
+++ b/bns/html/base/log/child/systemLog.html
@@ -6,11 +6,11 @@
系统日志
-
-
-
-
-
+
+
+
+
+
diff --git a/bns/js/home/home.js b/bns/js/home/home.js
index 1a4f68a..2fbb739 100644
--- a/bns/js/home/home.js
+++ b/bns/js/home/home.js
@@ -352,8 +352,8 @@ function getWzXx(orgId) {
},
error: function (err) {
- console.log("err")
- }
+ console.log("err")
+ }
});
}
@@ -427,8 +427,6 @@ function openNewTab(url, id, title) {
$(".layui-nav-item").each(function () {
$(this).removeClass('layui-that');
$(this).removeClass('layui-this');
- console.log($(this).text());
- console.log($(this).attr("idx"))
if ($(this).text() == '综合展示' && imea == 0) {
$(this).addClass('layui-that');
$(this).addClass('layui-this');
diff --git a/bns/js/public/public.js b/bns/js/public/public.js
index 6294382..585df13 100644
--- a/bns/js/public/public.js
+++ b/bns/js/public/public.js
@@ -271,7 +271,7 @@ var Ajax = function () {
// 它接受三个参数:请求类型(get、post)、请求的URL和表示是否异步。
xhr.open(that.method, that.url, that.async);
-
+ xhr.setRequestHeader('Authorization', token);
xhr.send(null); // get方式则填null
if (that.headers != '') {
xhr.setRequestHeader("encrypt", that.headers);
diff --git a/bns/js/system/htmlpermission.js b/bns/js/system/htmlpermission.js
index e1d5c3d..082dd2f 100644
--- a/bns/js/system/htmlpermission.js
+++ b/bns/js/system/htmlpermission.js
@@ -6,9 +6,9 @@ function getLocalpath(){
let usJosn=JSON.parse(us);
let yq=getHtmlPermission(usJosn.menus,url[1]);
console.log(yq)
- if(yq){
+ if(!yq){
addLogs(url,url[1],usJosn.nickName);
- //top.window.location.href = login_url;
+ top.window.location.href = login_url;
}
}
function getHtmlPermission(menus,html){