diff --git a/.gitignore b/.gitignore index 3bdf990..7a45b09 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,3 @@ -/power-service/target/ +target /.idea/ *.iml \ No newline at end of file diff --git a/power-admin/src/main/java/com/manage/controller/LoginController.java b/power-admin/src/main/java/com/manage/controller/LoginController.java index d7de67c..a2a2e65 100644 --- a/power-admin/src/main/java/com/manage/controller/LoginController.java +++ b/power-admin/src/main/java/com/manage/controller/LoginController.java @@ -55,10 +55,6 @@ public class LoginController { //添加进操作日志 Power_Log log = new Power_Log(); if(user != null){ - //如处于登录状态,先清除缓存 - //CacheManager.removeCacheByObject(user); - //记住 - MyCookieUtil.remember(request, response); //存session密码置空 //是否记住密码功能 MyCookieUtil.remember(request, response); diff --git a/power-admin/src/main/webapp/WEB-INF/jspf/common.jspf b/power-admin/src/main/webapp/WEB-INF/jspf/common.jspf index 6a312f6..335899e 100644 --- a/power-admin/src/main/webapp/WEB-INF/jspf/common.jspf +++ b/power-admin/src/main/webapp/WEB-INF/jspf/common.jspf @@ -62,8 +62,17 @@ } //重设表格高度 function reloadTableHeight(tableId) { - $("#"+tableId+".fixed-table-container").css({ "padding-bottom": "0px", height: $("#"+tableId+".fixed-table-body table").height() + 20 }); + //获取表格内容高度 + var height = $(".fixed-table-body #"+tableId).height(); + //刷新 $('#'+tableId).bootstrapTable('resetView', { height: "auto" }); + //计算body所需高度 + var tableBodyHeight = height-6; + //赋值body高度,且定义最高高度 + if(maxHeight == 0){ + maxHeight = tableBodyHeight; + } + $(".fixed-table-body").css({height:tableBodyHeight,"max-height":maxHeight}); } <%@ include file="/WEB-INF/jspf/confirmJsp.jspf"%> diff --git a/power-admin/src/main/webapp/WEB-INF/views/deptDir/dept.jsp b/power-admin/src/main/webapp/WEB-INF/views/deptDir/dept.jsp index 84d31bd..269c4a0 100644 --- a/power-admin/src/main/webapp/WEB-INF/views/deptDir/dept.jsp +++ b/power-admin/src/main/webapp/WEB-INF/views/deptDir/dept.jsp @@ -36,11 +36,6 @@ width:50%; float:left; } - /*按钮组*/ - .btns{ - text-align: right; - margin-bottom: 5px; - } /*模态框*/ .modal-header{ text-align: center; @@ -59,9 +54,6 @@ .operBtns{ margin-left:10px; } - .tableDiv{ - margin-left:14px; - } .shortInput{ width:80px; } diff --git a/power-admin/src/main/webapp/WEB-INF/views/noticeDir/noticePage.jsp b/power-admin/src/main/webapp/WEB-INF/views/noticeDir/noticePage.jsp index cf3710b..c05ad1c 100644 --- a/power-admin/src/main/webapp/WEB-INF/views/noticeDir/noticePage.jsp +++ b/power-admin/src/main/webapp/WEB-INF/views/noticeDir/noticePage.jsp @@ -48,11 +48,6 @@ width:50%; float:left; } - /*按钮组*/ - .btns{ - text-align: right; - margin-bottom: 10px; - } /*模态框*/ .modal-header{ text-align: center; @@ -69,11 +64,6 @@ margin-left: 38px; margin-bottom: 16px; } - .tableDiv{ - margin-left:15px; - margin-right:25px; - padding-right: 15px; - } .shortInput{ width:80px; } diff --git a/power-admin/src/main/webapp/WEB-INF/views/otherManage/backupDatabase.jsp b/power-admin/src/main/webapp/WEB-INF/views/otherManage/backupDatabase.jsp index 101458a..f104a1b 100644 --- a/power-admin/src/main/webapp/WEB-INF/views/otherManage/backupDatabase.jsp +++ b/power-admin/src/main/webapp/WEB-INF/views/otherManage/backupDatabase.jsp @@ -71,69 +71,52 @@ padding-top: 3px; margin-left: 2%; } - - /**查询按钮组*/ - .btnsDiv { - width: 100%; - height: 32px; - text-align: right; - padding-top: 5px; - padding-right: 22px; - } - - /**表格div*/ - .tableDiv { - margin-left: 14px; - margin-top: -9px !important; - } -
-
-

其他管理/日志管理

-
-
-
-
+
+
+
+

其他管理/日志管理

+
+
+
-
-
-
-
-
- -
-
- +
+
+ +
+
+ +
-
-
-
- +
+
+ +
+
+ +
-
- +
+
+ +
+
+ +
+
+ +
-
-
-
- +
+
-
- -
-
- -
-
-
-
-
+
diff --git a/power-admin/src/main/webapp/WEB-INF/views/roleDir/roleNotDown.jsp b/power-admin/src/main/webapp/WEB-INF/views/roleDir/roleNotDown.jsp index f04f705..d403df8 100644 --- a/power-admin/src/main/webapp/WEB-INF/views/roleDir/roleNotDown.jsp +++ b/power-admin/src/main/webapp/WEB-INF/views/roleDir/roleNotDown.jsp @@ -36,11 +36,6 @@ width:50%; float:left; } - /*按钮组*/ - .btns{ - text-align: right; - margin-bottom: 5px; - } /*模态框*/ .modal-header{ text-align: center; @@ -56,9 +51,6 @@ margin-left: 38px; margin-bottom: 16px; } - .tableDiv{ - margin-left:14px; - } .shortInput{ width:80px; } diff --git a/power-admin/src/main/webapp/WEB-INF/views/userDir/user.jsp b/power-admin/src/main/webapp/WEB-INF/views/userDir/user.jsp index abefd87..93712d8 100644 --- a/power-admin/src/main/webapp/WEB-INF/views/userDir/user.jsp +++ b/power-admin/src/main/webapp/WEB-INF/views/userDir/user.jsp @@ -40,12 +40,6 @@ width:50%; float:left; } - /*按钮组*/ - .btns{ - margin-top:5px; - text-align: right; - margin-bottom: 5px; - } /*模态框*/ .modal-header{ text-align: center; @@ -64,9 +58,6 @@ .operBtns{ margin-left:10px; } - .tableDiv{ - margin-left:14px; - } .shortInput{ width:80px; } @@ -103,45 +94,43 @@

基本管理/用户管理


-
-
- - -
- <%--
- - -
--%> -
- -
- -
-
-
- -
- -
+
+ + +
+ <%--
+ + +
--%> +
+ +
+
-
- -
- -
+
+
+ +
+
-
- +
+
+ +
+
+
+ +
@@ -159,7 +148,9 @@
-
+
+
+