Index: ssts-web/src/main/webapp/dx-disinfectsystem/js/index/index.js
===================================================================
diff -u -r24731 -r24747
--- ssts-web/src/main/webapp/dx-disinfectsystem/js/index/index.js (.../index.js) (revision 24731)
+++ ssts-web/src/main/webapp/dx-disinfectsystem/js/index/index.js (.../index.js) (revision 24747)
@@ -615,4 +615,24 @@
/* var h = $(window).height();
var con_h = h-87-35;
$(".content-index-tab-content").css({"min-height":con_h+"px","height":con_h+"px"});*/
-})
+});
+
+//系统退出
+function logout(){
+ //写入退出日志
+ $.ajax({
+ url : WWWROOT + '/log/saveLog.do',
+ type: 'post',
+ dataType:'JSON',
+ async:true,
+ data : {model : '登录',type : '退出系统',description : '退出系统'},
+ success : function(result){
+
+ }
+ });
+ top.document.location.href=WWWROOT+"/j_spring_security_logout";
+ if (top.document.location.href.indexOf("https") >=0 ){
+ alert("谢谢使用,您已经成功退出系统!");
+ window.close(); //ensure to clear SSL cache after x509 logout
+ }
+}
Index: ssts-web/src/main/webapp/dx-disinfectsystem/pages/index.jsp
===================================================================
diff -u -r24698 -r24747
--- ssts-web/src/main/webapp/dx-disinfectsystem/pages/index.jsp (.../index.jsp) (revision 24698)
+++ ssts-web/src/main/webapp/dx-disinfectsystem/pages/index.jsp (.../index.jsp) (revision 24747)
@@ -202,7 +202,7 @@
切换科室
修改密码
- 退出系统
+ 退出系统