|
|
@ -8,7 +8,8 @@
|
|
|
|
<div class="row mb-3 justify-content-start">
|
|
|
|
<div class="row mb-3 justify-content-start">
|
|
|
|
<div class="col-md-12">
|
|
|
|
<div class="col-md-12">
|
|
|
|
<div class="float-start">
|
|
|
|
<div class="float-start">
|
|
|
|
<button type="button" id="btnPrintAdvntcePdf--${pageName}" class="btn btn-info">사전통보서출력(PDF)</button>
|
|
|
|
<button type="button" id="btnPrintAdvntcePdf01--${pageName}" class="btn btn-info">사전통보서출력(PDF-A4)</button>
|
|
|
|
|
|
|
|
<button type="button" id="btnPrintAdvntcePdf02--${pageName}" class="btn btn-info">사전통보서출력(PDF-Letter)</button>
|
|
|
|
<button type="button" id="btnPrintAdvntceOutsourcing--${pageName}" class="btn btn-info">사전통보서출력(외주파일)</button>
|
|
|
|
<button type="button" id="btnPrintAdvntceOutsourcing--${pageName}" class="btn btn-info">사전통보서출력(외주파일)</button>
|
|
|
|
<button type="button" id="btnOpenOtptStng--${pageName}" class="btn btn-primary">설정</button>
|
|
|
|
<button type="button" id="btnOpenOtptStng--${pageName}" class="btn btn-primary">설정</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
@ -107,7 +108,7 @@ $(document).ready(function(){
|
|
|
|
ff.set(info);
|
|
|
|
ff.set(info);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
$P.fnMakeFile = (fileType) => {
|
|
|
|
$P.fnMakeFile = (fileType, paper) => {
|
|
|
|
if(!customValidate($("#frmEdit--${pageName} input"))) return;
|
|
|
|
if(!customValidate($("#frmEdit--${pageName} input"))) return;
|
|
|
|
|
|
|
|
|
|
|
|
if(!$P.provided.isAllSameTask($P.crdnIds)){
|
|
|
|
if(!$P.provided.isAllSameTask($P.crdnIds)){
|
|
|
@ -133,8 +134,8 @@ $(document).ready(function(){
|
|
|
|
crdnIds : $P.crdnIds.join(","),
|
|
|
|
crdnIds : $P.crdnIds.join(","),
|
|
|
|
taskSeCd : taskSeCd
|
|
|
|
taskSeCd : taskSeCd
|
|
|
|
};
|
|
|
|
};
|
|
|
|
if(fileType == "pdf" || fileType == "preview"){
|
|
|
|
if(fileType == "pdf"){
|
|
|
|
submitParam.paperSeCd = "01";
|
|
|
|
submitParam.paperSeCd = paper;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
ajax.post({
|
|
|
|
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') );
|
|
|
|
$("#btnPrintAdvntceOutsourcing--${pageName}").on("click", () => $P.fnMakeFile('outsourcing') );
|
|
|
|
$("#btnOpenOtptStng--${pageName}").on("click", () => $P.fnOpenOtptStng() );
|
|
|
|
$("#btnOpenOtptStng--${pageName}").on("click", () => $P.fnOpenOtptStng() );
|
|
|
|
|
|
|
|
|
|
|
|