Переглянути джерело

Merge branch 'master' of http://106.246.249.162:13000/orderqueen/oqpo-view

yhl88 2 роки тому
батько
коміт
002ac5141f

+ 3 - 1
src/main/webapp/js/app/login.js

@@ -6,7 +6,9 @@ require(['config'], function() {
6 6
 		if (sessionStorage.getItem('itp_login_info') !== null) { //Jwt 가 살아있으면 메인으로 보낸다.
7 7
 	    	location.replace('./main.html');
8 8
 	    }
9
-
9
+		if (sessionStorage.getItem('itp_manage_user_info') !== null) { //로그인 사용자 정보가 있다면 제거
10
+	    	sessionStorage.removeItem('itp_manage_user_info'); 
11
+	    }  
10 12
 		itp_fn_login_init();
11 13
 		
12 14
 		$('#ITP_LOGIN').on('keyup', 'input, textarea', function() {

+ 1 - 1
src/main/webapp/mobile/css/style.css

@@ -375,7 +375,7 @@ input .day {margin: 18%; width: 45%; height: 80px; float: right;}
375 375
 .content .line .line_right input.m9 {margin-right:93px;}
376 376
 .content .line .line_right input.left {text-align: left;}
377 377
 .content .line .line_right input.mg0 {margin-right:10px;}
378
-.content .line .line_right input.date{width:140px; margin-right:132px; height:35px;} 
378
+.content .line .line_right input.date{width:194px; margin-right:132px; height:35px; margin-left:3px;} 
379 379
 .content .line .line_right select {float: right; width: 180px; height: 30px; margin-top: 7px; border: 1px solid #000; font-size: 1rem; margin-right:93px;}
380 380
 .content .line input.date {width: 168px; height: 34px; float: left; text-align:center; font-size:14pt; background: url(../img/calender.png) 95%/18px no-repeat white}
381 381
 .content .line input.full {width: 100%;}

+ 7 - 2
src/main/webapp/mobile/js/app/login.js

@@ -2,10 +2,15 @@ require(['config'], function() {
2 2
 	require([
3 3
 		'jquery', 
4 4
 		'crypto' //Crypto 암호화 js - 필요한 페이지만 불러서 쓴다
5
-	], function($) {
5
+	], function($) { 
6 6
 		if (sessionStorage.getItem('itp_login_info') !== null) { //Jwt 가 살아있으면 메인으로 보낸다.
7 7
 	    	location.replace('./main.html');
8
-	    }
8
+	    } 
9
+		 
10
+		if (sessionStorage.getItem('itp_manage_user_info') !== null) { //로그인 사용자 정보가 있다면 제거
11
+	    	sessionStorage.removeItem('itp_manage_user_info'); 
12
+	    }  
13
+		
9 14
 
10 15
 		// itp_fn_login_init();
11 16