diff --git a/src/main/resources/static/js/common.js b/src/main/resources/static/js/common.js index a6166e1f..927b6760 100644 --- a/src/main/resources/static/js/common.js +++ b/src/main/resources/static/js/common.js @@ -42,7 +42,16 @@ $(document).on('click', '.alarmTr', function (){ "alarmKey="+$(this).find(".alarmKey").val()+ "&userSeq="+$(this).find(".userSeq").val(); }) - +$(document).on('change', '#ogCdSearch', function (){ + const ofcCdSearch = $("#ofcCdSearch") + ofcCdSearch.val(""); + if(this.value === ""){ + ofcCdSearch.find('.ofcCdOption').show(); + }else{ + ofcCdSearch.find('.ofcCdOption').hide(); + ofcCdSearch.find('.'+this.value).show(); + } +}) $(document).on('click', '.allChk', function (){ $(this).parents('table').find('[type="checkbox"]').prop("checked", this.checked); }) diff --git a/src/main/resources/templates/adminPage/authMgt/authMgt.html b/src/main/resources/templates/adminPage/authMgt/authMgt.html index 4fbe27ab..884de9d6 100644 --- a/src/main/resources/templates/adminPage/authMgt/authMgt.html +++ b/src/main/resources/templates/adminPage/authMgt/authMgt.html @@ -29,7 +29,7 @@