From 04e2d47aeff226f821e7c078b79fa6b47728d0b8 Mon Sep 17 00:00:00 2001 From: jjh Date: Fri, 28 Jun 2024 17:41:15 +0900 Subject: [PATCH] =?UTF-8?q?=EA=B8=B0=ED=83=80=20=EC=88=98=EC=A0=95.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/webapp/WEB-INF/jsp/fims/sprt/sprt02030-info.jsp | 6 ++---- src/main/webapp/WEB-INF/jsp/fims/sprt/sprt02070-info.jsp | 2 +- 2 files changed, 3 insertions(+), 5 deletions(-) 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);