From ef5c022d8b3b1fe241407ee1633bde29440e60d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B0=95=EC=84=9D=20=EC=B5=9C?= Date: Thu, 23 Feb 2023 10:29:31 +0900 Subject: [PATCH] =?UTF-8?q?=EB=B6=80=EC=84=9C=EC=BD=94=EB=93=9C=20?= =?UTF-8?q?=EA=B4=80=EB=A6=AC=EB=B0=A9=EC=8B=9D=20=EB=B3=80=EA=B2=BD?= =?UTF-8?q?=EC=97=90=20=EC=9D=98=ED=95=9C=20=EA=B2=80=EC=83=89=EC=A1=B0?= =?UTF-8?q?=EA=B1=B4=20=EC=86=8C=EC=8A=A4=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/static/js/common.js | 11 ++++++++++- .../templates/adminPage/authMgt/authMgt.html | 7 ++++--- .../templates/adminPage/userMgt/accessChange.html | 7 ++++--- .../templates/adminPage/userMgt/userMgt.html | 15 ++++++++------- .../templates/police/education/educationMgt.html | 7 ++++--- 5 files changed, 30 insertions(+), 17 deletions(-) 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 @@
- @@ -39,11 +39,12 @@
- - + diff --git a/src/main/resources/templates/adminPage/userMgt/accessChange.html b/src/main/resources/templates/adminPage/userMgt/accessChange.html index 997a06b4..166a5596 100644 --- a/src/main/resources/templates/adminPage/userMgt/accessChange.html +++ b/src/main/resources/templates/adminPage/userMgt/accessChange.html @@ -29,7 +29,7 @@
- @@ -37,11 +37,12 @@
- - + diff --git a/src/main/resources/templates/adminPage/userMgt/userMgt.html b/src/main/resources/templates/adminPage/userMgt/userMgt.html index be54f12d..81def043 100644 --- a/src/main/resources/templates/adminPage/userMgt/userMgt.html +++ b/src/main/resources/templates/adminPage/userMgt/userMgt.html @@ -39,19 +39,20 @@
- - - + +
- - + @@ -59,8 +60,8 @@
diff --git a/src/main/resources/templates/police/education/educationMgt.html b/src/main/resources/templates/police/education/educationMgt.html index fcc85a10..0500d803 100644 --- a/src/main/resources/templates/police/education/educationMgt.html +++ b/src/main/resources/templates/police/education/educationMgt.html @@ -52,7 +52,7 @@
- @@ -62,11 +62,12 @@
- - +