瀏覽代碼

2020-01-28 운영배포 master

huiwon.seo 4 年之前
父節點
當前提交
ace2fd974d

+ 0 - 1
src/main/java/com/lemon/lifecenter/common/LifeCenterErrorController.java

@@ -20,7 +20,6 @@ public class LifeCenterErrorController implements ErrorController {
             
             int statusCode = Integer.valueOf(status.toString());
             
-            System.err.println( "statusCode : " + statusCode  );
             
             if( statusCode == HttpStatus.NOT_FOUND.value() ){ 
                 return VIEW_PATH + "404";

+ 3 - 1
src/main/java/com/lemon/lifecenter/common/LifeCenterInterCeptor.java

@@ -62,7 +62,7 @@ public class LifeCenterInterCeptor extends HandlerInterceptorAdapter {
                     
                     Object sesMAcceptCheck = request.getSession().getAttribute( "sesMAcceptCheck" );
                     
-                    System.err.println( "sesMAcceptCheck : " + sesMAcceptCheck );
+//                    System.err.println( "sesMAcceptCheck : " + sesMAcceptCheck );
                     
                     if( sesMAcceptCheck != null && sesMAcceptCheck.equals( "Y" ) ) {
                         if( !url.equals( "/mobile/accept/list" ) ) {
@@ -181,6 +181,7 @@ public class LifeCenterInterCeptor extends HandlerInterceptorAdapter {
                                     
                                     if( !url.equals( "/common/passwordCheck" ) && !url.equals( "/staff/myinfo/update" ) && !url.equals( "/login/logout" ) ) {
                                         LifeCenterFunction.scriptMessage( response, "location.href='/staff/myinfo';" );
+                                        return false;
                                     }
                                 } else {
                                     LifeCenterFunction.scriptMessage( response, "alertBox({ txt: '비밀번호 보안 규정 변경으로 인하여 의무적으로 비밀번호 1회 변경 진행 후 서비스 이용이 가능합니다.', callBack : function(){  } });" );
@@ -193,6 +194,7 @@ public class LifeCenterInterCeptor extends HandlerInterceptorAdapter {
                                     
                                     if( !url.equals( "/common/passwordCheck" ) && !url.equals( "/staff/myinfo/update" ) && !url.equals( "/login/logout" ) ) {
                                         LifeCenterFunction.scriptMessage( response, "location.href='/staff/myinfo';" );
+                                        return false;
                                     }
                                 } else {
                                     LifeCenterFunction.scriptMessage( response, "alertBox({ txt: '초기화 비밀번호로 로그인시 비밀번호 변경 후 서비스 이용이 가능합니다.', callBack : function(){  } });" );

文件差異過大導致無法顯示
+ 42 - 0
src/main/webapp/WEB-INF/jsp/login/staff.jsp


+ 3 - 3
src/main/webapp/WEB-INF/jsp/mobile/menu/menu.jsp

@@ -95,9 +95,9 @@
                             <li>
                                 <a href="./nonface">비대면 진료(Untact Treatment)</a>
                             </li>
-                            <li>
-                                <a href="./push/list">메시지 수신함(Message received)</a>
-                            </li>
+<!--                             <li> -->
+<!--                                 <a href="./push/list">메시지 수신함(Message received)</a> -->
+<!--                             </li> -->
                             <!-- li>
                                 <a href="javascript:;">생활치료센터 이용 안내</a>
                             </li -->

+ 21 - 21
src/main/webapp/WEB-INF/jsp/patient/info.jsp

@@ -31,30 +31,30 @@ function goListPage(){
     }
     location.href = referer;
 }
-function changeCenterInfo(){
-    if( $( "#selectCenterList option:selected" ).val() == "" ) {
-        alertBox({ txt:"생활치료센터를 선택 해 주세요" });
-        $( "div.modal-header h3" ).remove();
-        return false;
-    }
+// function changeCenterInfo(){
+//     if( $( "#selectCenterList option:selected" ).val() == "" ) {
+//         alertBox({ txt:"생활치료센터를 선택 해 주세요" });
+//         $( "div.modal-header h3" ).remove();
+//         return false;
+//     }
     
-    var centerName  = $( "#selectCenterList option:selected" ).text();
-    var patientName = $( "#patientName" ).val();
+//     var centerName  = $( "#selectCenterList option:selected" ).text();
+//     var patientName = $( "#patientName" ).val();
     
-    alertBox({ type: "confirm", 
-               txt: " <span class='text-info'>[" + patientName+ "]</span> 환자의 모든정보가 <span class='text-info'>["+centerName+"]</span>로 이관되며 <br/>이관 후 현재 생활치료센터에서는 더이상 환자정보를 확인 할 수 없습니다. <br/>정말 이관하시겠습니까?",
-               callBack : function( result ) {
-                   if( result ) {
-                       $( "#newCenterName" ).val( centerName );
-                       $( "#changeForm" ).submit();
-                   }
-               }
-             });
+//     alertBox({ type: "confirm", 
+//                txt: " <span class='text-info'>[" + patientName+ "]</span> 환자의 모든정보가 <span class='text-info'>["+centerName+"]</span>로 이관되며 <br/>이관 후 현재 생활치료센터에서는 더이상 환자정보를 확인 할 수 없습니다. <br/>정말 이관하시겠습니까?",
+//                callBack : function( result ) {
+//                    if( result ) {
+//                        $( "#newCenterName" ).val( centerName );
+//                        $( "#changeForm" ).submit();
+//                    }
+//                }
+//              });
     
-    $( "div.modal-header h3" ).remove();
+//     $( "div.modal-header h3" ).remove();
     
-//     getAjax( "" )
-}
+// //     getAjax( "" )
+// }
 </script>
 </head>
 <body>
@@ -168,7 +168,7 @@ function changeCenterInfo(){
                     </div>
                     <div class="modal-footer">
                         <button type="button" class="btn border" data-dismiss="modal">취소</button>
-                        <button type="button" class="btn btn-primary" onclick="changeCenterInfo();">생활치료센터 이관</button>
+<!--                         <button type="button" class="btn btn-primary" onclick="changeCenterInfo();">생활치료센터 이관</button> -->
                     </div>
                 </form>
             </div>