diff --git a/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt02030-info.jsp b/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt02030-info.jsp index a0021862..536cc601 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt02030-info.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt02030-info.jsp @@ -584,9 +584,7 @@ // 첨부파일 다운로드 버튼 이벤트 $P.fnFileDownload = (fileID) => { - if (${pageNameMain}CallPurpose == "view") { - return; - } + if (pageObject['${pageNameMain}'].callPurpose == "view") { return; } top.location.href = "/file/download.do?fileID=" + fileID; } @@ -627,7 +625,7 @@ $("#btnUpdateOpnnSbmsnDlbrt--${pageName}").prop("disabled", true); // 화면 호출(callPurpose)이 view가 아니라면 버튼 비활성화 disabled = false - if (${pageNameMain}CallPurpose != "view") { + if (pageObject['${pageNameMain}'].callPurpose != "view") { $("#btnCreateOpnnSbmsn--${pageName}").prop("disabled", false); $("#btnUpdateOpnnSbmsn--${pageName}").prop("disabled", false); $("#btnRemoveOpnnSbmsn--${pageName}").prop("disabled", false); diff --git a/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt02070-info.jsp b/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt02070-info.jsp index 8810069c..94c70a87 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt02070-info.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt02070-info.jsp @@ -553,7 +553,7 @@ $("#btnRemoveRcvmt--${pageName}").prop("disabled", true); // 화면 호출(callPurpose)이 view가 아니라면 버튼 비활성화 disabled = false - if (${pageNameMain}CallPurpose != "view") { + if (pageObject['${pageNameMain}'].callPurpose != "view") { $("#btnCreateRcvmt--${pageName}").prop("disabled", false); $("#btnUpdateRcvmtRtrc--${pageName}").prop("disabled", false); $("#btnRemoveRcvmt--${pageName}").prop("disabled", false);