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() );