From 67fc9d83bbdcf2e179ca1a19095bc8d597208fb0 Mon Sep 17 00:00:00 2001 From: leebeomjun Date: Fri, 8 Dec 2023 15:28:44 +0900 Subject: [PATCH] =?UTF-8?q?=EC=82=AC=EC=A0=84=ED=86=B5=EB=B3=B4=EC=84=9C?= =?UTF-8?q?=20=EC=B6=9C=EB=A0=A5=ED=99=94=EB=A9=B4=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../webapp/WEB-INF/jsp/fims/sprt/sprt01140-info.jsp | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt01140-info.jsp b/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt01140-info.jsp index c06cff6c..0aec4cdb 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt01140-info.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt01140-info.jsp @@ -8,7 +8,8 @@
- + +
@@ -107,7 +108,7 @@ $(document).ready(function(){ ff.set(info); } - $P.fnMakeFile = (fileType) => { + $P.fnMakeFile = (fileType, paper) => { if(!customValidate($("#frmEdit--${pageName} input"))) return; if(!$P.provided.isAllSameTask($P.crdnIds)){ @@ -133,8 +134,8 @@ $(document).ready(function(){ crdnIds : $P.crdnIds.join(","), taskSeCd : taskSeCd }; - if(fileType == "pdf" || fileType == "preview"){ - submitParam.paperSeCd = "01"; + if(fileType == "pdf"){ + submitParam.paperSeCd = paper; } ajax.post({ @@ -195,7 +196,8 @@ $(document).ready(function(){ } //버튼이벤트 - $("#btnPrintAdvntcePdf--${pageName}").on("click", () => $P.fnMakeFile('pdf') ); + $("#btnPrintAdvntcePdf01--${pageName}").on("click", () => $P.fnMakeFile('pdf','01') ); + $("#btnPrintAdvntcePdf02--${pageName}").on("click", () => $P.fnMakeFile('pdf','02') ); $("#btnPrintAdvntceOutsourcing--${pageName}").on("click", () => $P.fnMakeFile('outsourcing') ); $("#btnOpenOtptStng--${pageName}").on("click", () => $P.fnOpenOtptStng() );