From bed6e0c43e62fa073049438b3929edcc04b0240e Mon Sep 17 00:00:00 2001 From: leebj Date: Thu, 27 Jun 2024 09:52:42 +0900 Subject: [PATCH] =?UTF-8?q?=EC=B5=9C=EA=B3=A0=EA=B4=80=EB=A6=AC=EC=9E=90?= =?UTF-8?q?=EB=A1=9C=20=EB=A1=9C=EA=B7=B8=EC=9D=B8=EC=8B=9C=20=EB=B6=80?= =?UTF-8?q?=EC=84=9C=20=EB=93=B1=EB=A1=9D=20=ED=99=94=EB=A9=B4=EC=97=90?= =?UTF-8?q?=EC=84=9C=20=EC=8B=9C=EA=B5=B0=EA=B5=AC=EC=BD=94=EB=93=9C,?= =?UTF-8?q?=EA=B8=B0=EA=B4=80=EC=BD=94=EB=93=9C=20=EC=9E=85=EB=A0=A5=20?= =?UTF-8?q?=EA=B0=80=EB=8A=A5=ED=95=98=EB=8F=84=EB=A1=9D=20=EC=88=98?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../WEB-INF/jsp/fims/mngt/mngt04020-info.jsp | 40 ++++++++++++++++--- 1 file changed, 35 insertions(+), 5 deletions(-) diff --git a/src/main/webapp/WEB-INF/jsp/fims/mngt/mngt04020-info.jsp b/src/main/webapp/WEB-INF/jsp/fims/mngt/mngt04020-info.jsp index 63f9fb3f..ae6255d9 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/mngt/mngt04020-info.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/mngt/mngt04020-info.jsp @@ -6,9 +6,32 @@
- - + + + +
@@ -197,6 +220,11 @@ $(document).ready(function(){ /************************************************************************** * 초기화 **************************************************************************/ + + if(MY_INFO.institute == 'default') { + $("#forRootAdmin--${pageName}").removeAttr("hidden"); + } + var deptInfo = ${deptInfo}; if(deptInfo != null){ $("#deptID--${pageName}").attr("disabled","disabled"); @@ -207,10 +235,12 @@ $(document).ready(function(){ } } else { $P.deptControl.dataset.setData([]); - $("#sggID--${pageName}").val(MY_INFO.info.sggCd); - $("#instCode--${pageName}").val(MY_INFO.info.instCd); + + if(MY_INFO.institute != 'default') { + $("#sggID--${pageName}").val(MY_INFO.info.sggCd); + $("#instCode--${pageName}").val(MY_INFO.info.instCd); + } } - }); \ No newline at end of file