Browse Source

환자 리스트에서 환자 변경 시, 동의서 찾기/즐겨찾기에서 이전 환자 동의서 선택 해제 - 고객요구사항반영

somangjeong 8 years ago
parent
commit
d3fe2d1e8b
1 changed files with 7 additions and 0 deletions
  1. 7 0
      mplus-fatima/WebContent/resources/js/mobile/consent/consent.js

+ 7 - 0
mplus-fatima/WebContent/resources/js/mobile/consent/consent.js

@@ -214,6 +214,13 @@ var mplus_mobile_consent = function(){
 				  $('#ulPatientList .list-group-item').on("click", function(e){
 						$('#ulPatientList a').removeClass('active');
 						$(this).addClass('active');
+						
+						// 환자 리스트에서 환자 변경 시, 우측의 동의서 찾기 또는 즐겨찾기에서 이전 환자 동의서 선택 해제 2017.04.13 고객요구사항반영
+						$('#ulConsentList input[type="checkbox"]:checked').prop('checked', false);
+						$('#ulConsentList li.checked').removeClass('checked');
+						$('#ulSetList input[type="checkbox"]:checked').prop('checked', false);
+						$('#ulSetList li.checked').removeClass('checked');
+						
 						getPatientInfo(e.currentTarget.attributes.seq.value);
 				  });
 			}