huiwonseo vor 4 Jahren
Ursprung
Commit
b4240572c7

+ 1 - 1
src/main/webapp/WEB-INF/jsp/mobile/include/header.jsp

@@ -14,7 +14,7 @@
 <!-- <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" > -->
 <!-- <link rel="stylesheet" type="text/css" href="/resources/css/mobile/bootstrap-datepicker.css" /> -->
 <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
-<link rel="stylesheet" type="text/css" href="/resources/css/mobile/style.css?ver=1.7" />
+<link rel="stylesheet" type="text/css" href="/resources/css/mobile/style.css?ver=1.8" />
 <link rel="stylesheet" type="text/css" href="/resources/css/mobile/jquery.modal.css" />
 
 

+ 5 - 4
src/main/webapp/WEB-INF/jsp/mobile/login/helper.jsp

@@ -55,10 +55,11 @@
             <div class="img"><img src="/resources/images/mobile/helper/img01-1.png" alt=""></div>
             <div class="cont">
                 <ol>
-                    <li>전체를 선택 후 제일 하단의 <strong>"자가치료자"</strong> 선택</li>
-                    <li>자가치료 관할 시·도 전담팀 선택</li>
-                    <li>관할 시·도 전담팀으로부터 전달받은 <strong>동호실번호 또는 아이디 입력</strong></li>
-                    <li>환자 본인의 <strong>생년월일 8자리 입력</strong>(예시:19710101)</li>
+                    <li>우측의 <strong>"재택 치료"</strong> 선택</li>
+                    <li>해당 지역을 선택</li>
+                    <li>자가치료 해당 지역 전담팀 선택</li>
+                    <li>관할 시·도 전담팀으로부터 전달받은 <strong>거주지번호와 <br/>환자본인의 생년월일 8자리 입력</strong>(예시:19710101)</li>
+                    <li>로그인 선택하여 서비스 시작</li>
                 </ol>
             </div>
         </div>

+ 8 - 5
src/main/webapp/WEB-INF/jsp/mobile/login/login.jsp

@@ -103,24 +103,25 @@ $( function(){
 
     $( "#locationList" ).on( "change", function(){
         setCenterType( $("input[name='centerType']:checked").val() );
+        
+        var type = $("input[name='centerType']:checked").val(); 
 
         if($('#locationList > option:selected').val() != "0") {
 //             $('#centerDiv').css("display", "block");
-
             $( "#centerList option:not([value='0'])" ).appendTo( "#hideList" );
             
-            if ($( "#hideList option[accessKey='"+$('#locationList').val()+"']" ).length == 0) {
+            if ($( "#hideList option[data-center-type='" + type +"'][accessKey='"+$('#locationList').val()+"']" ).length == 0) {
                 $("#centerLabel").text('<spring:message code="login.required.noCenter" />');
 //               var option = "<option value='99' selected>등록된 생활치료센터가 없습니다.</option>";
 //               $('#centerList').append(option);
             } else {
                 $("#centerLabel").text('<spring:message code="login.required.selectCenter" />');
-                $( "#hideList option[accessKey='"+$('#locationList').val()+"']" ).appendTo( "#centerList" );
+                $( "#hideList option[data-center-type='" + type +"'][accessKey='"+$('#locationList').val()+"']" ).appendTo( "#centerList" );
                 $("#centerList").val("0").prop("selected", true);
             }
         } else {
             $( "#centerList option:not([value='0'])" ).appendTo( "#hideList" );
-            $( "#hideList option" ).appendTo( "#centerList" );
+            $( "#hideList option[data-center-type='" + type +"']" ).appendTo( "#centerList" );
             $("#centerLabel").text('<spring:message code="login.required.selectCenter" />');
         }
     });
@@ -151,7 +152,9 @@ $( function(){
 
 function setCenterType( type ){
   $( "#centerList option:not([value='0'])" ).appendTo( "#hideList2" );
-  $( "#hideList option[data-center-type='"+type+"'], #hideList2 option[data-center-type='"+type+"']" ).appendTo( "#centerList" );
+  console.log( " type :::: " + type );
+  $( "#hideList option[data-center-type='"+type+"']").appendTo("#centerList");
+  $( "#hideList2 option[data-center-type='"+type+"']" ).appendTo( "#centerList" );
   $("#centerList").val("0").prop("selected", true);
 
   if( type == 'C' ) {

+ 2 - 2
src/main/webapp/resources/css/mobile/style.css

@@ -556,12 +556,12 @@ button.not-accept{background-color:#CCCCCC !important;}
 /* 정신건강 */
 /*line 295 ~ 310 수정 및 추가 */
 .device_tab ul {display: flex; overflow-x: auto; overflow-y: hidden;}
-.device_tab ul li {flex: none; width: 19%;} /* 수정 */
+.device_tab ul li {flex: none; width: 17%;} /* 수정 */
 .device_tab li a.six {background-image: url(../../images/mobile/device_connect_unlink_6.png);}
 .device_tab li a.six.active {background-image: url(../../images/mobile/device_connect_link_6.png);}
 
 @media screen and (max-width: 360px) {
-    .device_tab ul li {flex: none; width: 19%;}
+    .device_tab ul li {flex: none; width: 17%;}
 }
 
 @media screen and (max-width: 320px) {