삭제사유 입력 창이 다이얼로그 창으로 표시되도록 수정함.

main
이범준 8 months ago
parent 2041eaf459
commit 12b7020e76

@ -637,23 +637,21 @@
// 삭제 메세지 확인 // 삭제 메세지 확인
dialog.alert({ dialog.alert({
content : "선택하신 " + selected.length + "건의 " + $P.control.prefixName + " 정보를 삭제하시겠습니까?" content : "선택하신 " + selected.length + "건의 " + $P.control.prefixName + " 정보를 삭제하시겠습니까?"
, onOK : () => { , onOK : async() => {
// 삭제 사유 입력 // 삭제 사유 입력
let popupWidth = 640; var resp = await fetch(wctx.url("/resources/html/inputRsnDialog.html"));
let popupHeight = 240; var template = await resp.text();
let popupX = (window.screen.width / 2) - (popupWidth / 2);
let popupY = (window.screen.height / 2) - (popupHeight / 2); dialog.open({
id : "inputDelRsnDialog",
window.open( title: title,
encodeURI(wctx.url("/resources/html/inputRsnDialog.html" size : "lg",
+ "?openerPageName=${pageName}" content: template,
+ "&prefix=" + $P.control.prefix onOK : () => {
+ "&title=" + title $P.callbackRsn({ reason : $("#reason").val() });
+ "&callPurpose=" + "removeLevyExcl" }
)) });
, "inputDelRsnDialog"
, 'status=no, height=' + popupHeight + ', width=' + popupWidth + ', left='+ popupX + ', top='+ popupY
);
} }
}); });
} }

@ -728,23 +728,21 @@
// 삭제 메세지 확인 // 삭제 메세지 확인
dialog.alert({ dialog.alert({
content : "선택하신 " + selected.length + "건의 " + $P.control.prefixName + " 정보를 삭제하시겠습니까?" content : "선택하신 " + selected.length + "건의 " + $P.control.prefixName + " 정보를 삭제하시겠습니까?"
, onOK : () => { , onOK : async() => {
// 삭제 사유 입력 // 삭제 사유 입력
let popupWidth = 640; var resp = await fetch(wctx.url("/resources/html/inputRsnDialog.html"));
let popupHeight = 240; var template = await resp.text();
let popupX = (window.screen.width / 2) - (popupWidth / 2);
let popupY = (window.screen.height / 2) - (popupHeight / 2); dialog.open({
id : "inputDelRsnDialog",
window.open( title: title,
encodeURI(wctx.url("/resources/html/inputRsnDialog.html" size : "lg",
+ "?openerPageName=${pageName}" content: template,
+ "&prefix=" + $P.control.prefix onOK : () => {
+ "&title=" + title $P.callbackRsn({ reason : $("#reason").val() });
+ "&callPurpose=" + "removeOpnn" }
)) });
, "inputDelRsnDialog"
, 'status=no, height=' + popupHeight + ', width=' + popupWidth + ', left='+ popupX + ', top='+ popupY
);
} }
}); });
} }

@ -585,23 +585,21 @@
// 삭제 메세지 확인 // 삭제 메세지 확인
dialog.alert({ dialog.alert({
content : "선택하신 " + selected.length + "건의 " + $P.control.prefixName + " 정보를 삭제하시겠습니까?" content : "선택하신 " + selected.length + "건의 " + $P.control.prefixName + " 정보를 삭제하시겠습니까?"
, onOK : () => { , onOK : async() => {
// 삭제 사유 입력 // 삭제 사유 입력
let popupWidth = 640; var resp = await fetch(wctx.url("/resources/html/inputRsnDialog.html"));
let popupHeight = 240; var template = await resp.text();
let popupX = (window.screen.width / 2) - (popupWidth / 2);
let popupY = (window.screen.height / 2) - (popupHeight / 2); dialog.open({
id : "inputDelRsnDialog",
window.open( title: title,
encodeURI(wctx.url("/resources/html/inputRsnDialog.html" size : "lg",
+ "?openerPageName=${pageName}" content: template,
+ "&prefix=" + $P.control.prefix onOK : () => {
+ "&title=" + title $P.callbackRsn({ reason : $("#reason").val() });
+ "&callPurpose=" + "removeLevyExcl" }
)) });
, "inputDelRsnDialog"
, 'status=no, height=' + popupHeight + ', width=' + popupWidth + ', left='+ popupX + ', top='+ popupY
);
} }
}); });
} }

@ -637,23 +637,20 @@
// 삭제 메세지 확인 // 삭제 메세지 확인
dialog.alert({ dialog.alert({
content : "선택하신 " + selected.length + "건의 " + $P.control.prefixName + " 정보를 삭제하시겠습니까?" content : "선택하신 " + selected.length + "건의 " + $P.control.prefixName + " 정보를 삭제하시겠습니까?"
, onOK : () => { , onOK : async() => {
// 삭제 사유 입력 // 삭제 사유 입력
let popupWidth = 640; var resp = await fetch(wctx.url("/resources/html/inputRsnDialog.html"));
let popupHeight = 240; var template = await resp.text();
let popupX = (window.screen.width / 2) - (popupWidth / 2);
let popupY = (window.screen.height / 2) - (popupHeight / 2); dialog.open({
id : "inputDelRsnDialog",
window.open( title: "삭제",
encodeURI(wctx.url("/resources/html/inputRsnDialog.html" size : "lg",
+ "?openerPageName=${pageName}" content: template,
+ "&prefix=" + $P.control.prefix onOK : () => {
+ "&title=" + title $P.callbackRsn({ reason : $("#reason").val() });
+ "&callPurpose=" + "removeRdca" }
)) });
, "inputDelRsnDialog"
, 'status=no, height=' + popupHeight + ', width=' + popupWidth + ', left='+ popupX + ', top='+ popupY
);
} }
}); });
} }

@ -525,23 +525,20 @@
// 삭제 메세지 확인 // 삭제 메세지 확인
dialog.alert({ dialog.alert({
content : "선택하신 " + selected.length + "건의 " + $P.control.prefixName + " 정보를 삭제하시겠습니까?" content : "선택하신 " + selected.length + "건의 " + $P.control.prefixName + " 정보를 삭제하시겠습니까?"
, onOK : () => { , onOK : async() => {
// 삭제 사유 입력 // 삭제 사유 입력
let popupWidth = 640; var resp = await fetch(wctx.url("/resources/html/inputRsnDialog.html"));
let popupHeight = 240; var template = await resp.text();
let popupX = (window.screen.width / 2) - (popupWidth / 2);
let popupY = (window.screen.height / 2) - (popupHeight / 2); dialog.open({
id : "inputDelRsnDialog",
window.open( title: "삭제",
encodeURI(wctx.url("/resources/html/inputRsnDialog.html" size : "lg",
+ "?openerPageName=${pageName}" content: template,
+ "&prefix=" + $P.control.prefix onOK : () => {
+ "&usePurpose=" + "remove" $P.callbackRsn({ reason : $("#reason").val() });
+ "&ttlNm=" + "삭제" }
)) });
, "inputDelRsnDialog"
, 'status=no, height=' + popupHeight + ', width=' + popupWidth + ', left='+ popupX + ', top='+ popupY
);
} }
}); });
} }

@ -525,23 +525,20 @@
// 삭제 메세지 확인 // 삭제 메세지 확인
dialog.alert({ dialog.alert({
content : "선택하신 " + selected.length + "건의 " + $P.control.prefixName + " 정보를 삭제하시겠습니까?" content : "선택하신 " + selected.length + "건의 " + $P.control.prefixName + " 정보를 삭제하시겠습니까?"
, onOK : () => { , onOK : async() => {
// 삭제 사유 입력 // 삭제 사유 입력
let popupWidth = 640; var resp = await fetch(wctx.url("/resources/html/inputRsnDialog.html"));
let popupHeight = 240; var template = await resp.text();
let popupX = (window.screen.width / 2) - (popupWidth / 2);
let popupY = (window.screen.height / 2) - (popupHeight / 2); dialog.open({
id : "inputDelRsnDialog",
window.open( title: "삭제",
encodeURI(wctx.url("/resources/html/inputRsnDialog.html" size : "lg",
+ "?openerPageName=${pageName}" content: template,
+ "&prefix=" + $P.control.prefix onOK : () => {
+ "&usePurpose=" + "remove" $P.callbackRsn({ reason : $("#reason").val() });
+ "&ttlNm=" + "삭제" }
)) });
, "inputDelRsnDialog"
, 'status=no, height=' + popupHeight + ', width=' + popupWidth + ', left='+ popupX + ', top='+ popupY
);
} }
}); });
} }

@ -559,23 +559,20 @@
// 삭제 메세지 확인 // 삭제 메세지 확인
dialog.alert({ dialog.alert({
content : "선택하신 " + selected.length + "건의 " + $P.control.prefixName + " 정보를 삭제하시겠습니까?" content : "선택하신 " + selected.length + "건의 " + $P.control.prefixName + " 정보를 삭제하시겠습니까?"
, onOK : () => { , onOK : async() => {
// 삭제 사유 입력 // 삭제 사유 입력
let popupWidth = 640; var resp = await fetch(wctx.url("/resources/html/inputRsnDialog.html"));
let popupHeight = 240; var template = await resp.text();
let popupX = (window.screen.width / 2) - (popupWidth / 2);
let popupY = (window.screen.height / 2) - (popupHeight / 2); dialog.open({
id : "inputDelRsnDialog",
window.open( title: "삭제",
encodeURI(wctx.url("/resources/html/inputRsnDialog.html" size : "lg",
+ "?openerPageName=${pageName}" content: template,
+ "&prefix=" + $P.control.prefix onOK : () => {
+ "&usePurpose=" + "remove" $P.callbackRsn({ reason : $("#reason").val() });
+ "&ttlNm=" + "삭제" }
)) });
, "inputDelRsnDialog"
, 'status=no, height=' + popupHeight + ', width=' + popupWidth + ', left='+ popupX + ', top='+ popupY
);
} }
}); });
} }

@ -623,23 +623,20 @@
// 삭제 메세지 확인 // 삭제 메세지 확인
dialog.alert({ dialog.alert({
content : "선택하신 " + selected.length + "건의 " + $P.control.prefixName + " 정보를 삭제하시겠습니까?" content : "선택하신 " + selected.length + "건의 " + $P.control.prefixName + " 정보를 삭제하시겠습니까?"
, onOK : () => { , onOK : async() => {
// 삭제 사유 입력 // 삭제 사유 입력
let popupWidth = 640; var resp = await fetch(wctx.url("/resources/html/inputRsnDialog.html"));
let popupHeight = 240; var template = await resp.text();
let popupX = (window.screen.width / 2) - (popupWidth / 2);
let popupY = (window.screen.height / 2) - (popupHeight / 2); dialog.open({
id : "inputDelRsnDialog",
window.open( title: title,
encodeURI(wctx.url("/resources/html/inputRsnDialog.html" size : "lg",
+ "?openerPageName=${pageName}" content: template,
+ "&prefix=" + $P.control.prefix onOK : () => {
+ "&title=" + title $P.callbackRsn({ reason : $("#reason").val() });
+ "&callPurpose=" + "removeSvbtc" }
)) });
, "inputDelRsnDialog"
, 'status=no, height=' + popupHeight + ', width=' + popupWidth + ', left='+ popupX + ', top='+ popupY
);
} }
}); });
} }

@ -445,23 +445,20 @@
// 삭제 메세지 확인 // 삭제 메세지 확인
dialog.alert({ dialog.alert({
content : "선택하신 " + selected.length + "건의 " + $P.control.prefixName + " 정보를 삭제하시겠습니까?" content : "선택하신 " + selected.length + "건의 " + $P.control.prefixName + " 정보를 삭제하시겠습니까?"
, onOK : () => { , onOK : async() => {
// 삭제 사유 입력 // 삭제 사유 입력
let popupWidth = 640; var resp = await fetch(wctx.url("/resources/html/inputRsnDialog.html"));
let popupHeight = 240; var template = await resp.text();
let popupX = (window.screen.width / 2) - (popupWidth / 2);
let popupY = (window.screen.height / 2) - (popupHeight / 2); dialog.open({
id : "inputDelRsnDialog",
window.open( title: title,
encodeURI(wctx.url("/resources/html/inputRsnDialog.html" size : "lg",
+ "?openerPageName=${pageName}" content: template,
+ "&prefix=" + $P.control.prefix onOK : () => {
+ "&title=" + title $P.callbackRsn({ reason : $("#reason").val() });
+ "&callPurpose=" + "removeSvbtc" }
)) });
, "inputDelRsnDialog"
, 'status=no, height=' + popupHeight + ', width=' + popupWidth + ', left='+ popupX + ', top='+ popupY
);
} }
}); });
} }

@ -680,23 +680,20 @@
// 삭제 메세지 확인 // 삭제 메세지 확인
dialog.alert({ dialog.alert({
content : "선택한 " + $P.control.prefixName + " 정보를 삭제하시겠습니까?" content : "선택한 " + $P.control.prefixName + " 정보를 삭제하시겠습니까?"
, onOK : () => { , onOK : async() => {
// 사유 입력 // 사유 입력
let popupWidth = 640; var resp = await fetch(wctx.url("/resources/html/inputRsnDialog.html"));
let popupHeight = 240; var template = await resp.text();
let popupX = (window.screen.width / 2) - (popupWidth / 2);
let popupY = (window.screen.height / 2) - (popupHeight / 2); dialog.open({
id : "inputDelRsnDialog",
window.open( title: title,
encodeURI(wctx.url("/resources/html/inputRsnDialog.html" size : "lg",
+ "?openerPageName=${pageName}" content: template,
+ "&prefix=" + $P.control.prefix onOK : () => {
+ "&usePurpose=" + "remove" $P.callbackRsn({ reason : $("#reason").val() });
+ "&ttlNm=" + "삭제" }
)) });
, "inputDelRsnDialog"
, 'status=no, height=' + popupHeight + ', width=' + popupWidth + ', left='+ popupX + ', top='+ popupY
);
} }
}); });
} }

@ -455,23 +455,20 @@
// 삭제 메세지 확인 // 삭제 메세지 확인
dialog.alert({ dialog.alert({
content : "선택한 " + $P.control.prefixName + " 정보를 삭제하시겠습니까?" content : "선택한 " + $P.control.prefixName + " 정보를 삭제하시겠습니까?"
, onOK : () => { , onOK : async() => {
// 사유 입력 // 사유 입력
let popupWidth = 640; var resp = await fetch(wctx.url("/resources/html/inputRsnDialog.html"));
let popupHeight = 240; var template = await resp.text();
let popupX = (window.screen.width / 2) - (popupWidth / 2);
let popupY = (window.screen.height / 2) - (popupHeight / 2); dialog.open({
id : "inputDelRsnDialog",
window.open( title: title,
encodeURI(wctx.url("/resources/html/inputRsnDialog.html" size : "lg",
+ "?openerPageName=${pageName}" content: template,
+ "&prefix=" + $P.control.prefix onOK : () => {
+ "&usePurpose=" + "remove" $P.callbackRsn({ reason : $("#reason").val() });
+ "&ttlNm=" + "삭제" }
)) });
, "inputDelRsnDialog"
, 'status=no, height=' + popupHeight + ', width=' + popupWidth + ', left='+ popupX + ', top='+ popupY
);
} }
}); });
} }

@ -694,23 +694,20 @@
// 삭제 메세지 확인 // 삭제 메세지 확인
dialog.alert({ dialog.alert({
content : "선택한 " + $P.rductControl.prefixName + " 정보를 삭제하시겠습니까?" content : "선택한 " + $P.rductControl.prefixName + " 정보를 삭제하시겠습니까?"
, onOK : () => { , onOK : async() => {
// 사유 입력 // 사유 입력
let popupWidth = 640; var resp = await fetch(wctx.url("/resources/html/inputRsnDialog.html"));
let popupHeight = 240; var template = await resp.text();
let popupX = (window.screen.width / 2) - (popupWidth / 2);
let popupY = (window.screen.height / 2) - (popupHeight / 2); dialog.open({
id : "inputDelRsnDialog",
window.open( title: title,
encodeURI(wctx.url("/resources/html/inputRsnDialog.html" size : "lg",
+ "?openerPageName=${pageName}" content: template,
+ "&prefix=" + $P.rductControl.prefix onOK : () => {
+ "&title=" + title $P.callbackRsn({ reason : $("#reason").val() });
+ "&callPurpose=" + "removeLevyExcl" }
)) });
, "inputDelRsnDialog"
, 'status=no, height=' + popupHeight + ', width=' + popupWidth + ', left='+ popupX + ', top='+ popupY
);
} }
}); });
} }
@ -827,23 +824,20 @@
// 삭제 메세지 확인 // 삭제 메세지 확인
dialog.alert({ dialog.alert({
content : "선택한 " + $P.levyExclControl.prefixName + " 정보를 삭제하시겠습니까?" content : "선택한 " + $P.levyExclControl.prefixName + " 정보를 삭제하시겠습니까?"
, onOK : () => { , onOK : async() => {
// 사유 입력 // 사유 입력
let popupWidth = 640; var resp = await fetch(wctx.url("/resources/html/inputRsnDialog.html"));
let popupHeight = 240; var template = await resp.text();
let popupX = (window.screen.width / 2) - (popupWidth / 2);
let popupY = (window.screen.height / 2) - (popupHeight / 2); dialog.open({
id : "inputDelRsnDialog",
window.open( title: title,
encodeURI(wctx.url("/resources/html/inputRsnDialog.html" size : "lg",
+ "?openerPageName=${pageName}" content: template,
+ "&prefix=" + $P.levyExclControl.prefix onOK : () => {
+ "&title=" + title $P.callbackRsn({ reason : $("#reason").val() });
+ "&callPurpose=" + "removeLevyExcl" }
)) });
, "inputDelRsnDialog"
, 'status=no, height=' + popupHeight + ', width=' + popupWidth + ', left='+ popupX + ', top='+ popupY
);
} }
}); });
} }

@ -471,23 +471,20 @@
dialog.alert({ dialog.alert({
content : title + " 작업 진행시 과오납이 발생합니다." content : title + " 작업 진행시 과오납이 발생합니다."
+ "<br>" + "계속 진행하시겠습니까?" + "<br>" + "계속 진행하시겠습니까?"
, onOK : () => { , onOK : async() => {
// 사유 입력 // 사유 입력
let popupWidth = 640; var resp = await fetch(wctx.url("/resources/html/inputRsnDialog.html"));
let popupHeight = 240; var template = await resp.text();
let popupX = (window.screen.width / 2) - (popupWidth / 2);
let popupY = (window.screen.height / 2) - (popupHeight / 2); dialog.open({
id : "inputDelRsnDialog",
window.open( title: title,
encodeURI(wctx.url("/resources/html/inputRsnDialog.html" size : "lg",
+ "?openerPageName=${pageName}" content: template,
+ "&prefix=" + $P.control.prefix onOK : () => {
+ "&usePurpose=" + "update" $P.callbackRsn({ reason : $("#reason").val() });
+ "&ttlNm=" + "취소" }
)) });
, "inputDelRsnDialog"
, 'status=no, height=' + popupHeight + ', width=' + popupWidth + ', left='+ popupX + ', top='+ popupY
);
} }
}); });
} }
@ -515,23 +512,20 @@
// 삭제 메세지 확인 // 삭제 메세지 확인
dialog.alert({ dialog.alert({
content : "선택한 " + $P.control.prefixName + " 정보를 삭제하시겠습니까?" content : "선택한 " + $P.control.prefixName + " 정보를 삭제하시겠습니까?"
, onOK : () => { , onOK : async() => {
// 사유 입력 // 사유 입력
let popupWidth = 640; var resp = await fetch(wctx.url("/resources/html/inputRsnDialog.html"));
let popupHeight = 240; var template = await resp.text();
let popupX = (window.screen.width / 2) - (popupWidth / 2);
let popupY = (window.screen.height / 2) - (popupHeight / 2); dialog.open({
id : "inputDelRsnDialog",
window.open( title: title,
encodeURI(wctx.url("/resources/html/inputRsnDialog.html" size : "lg",
+ "?openerPageName=${pageName}" content: template,
+ "&prefix=" + $P.control.prefix onOK : () => {
+ "&usePurpose=" + "remove" $P.callbackRsn({ reason : $("#reason").val() });
+ "&ttlNm=" + "삭제" }
)) });
, "inputDelRsnDialog"
, 'status=no, height=' + popupHeight + ', width=' + popupWidth + ', left='+ popupX + ', top='+ popupY
);
} }
}); });
} }

@ -301,23 +301,20 @@
// 삭제 메세지 확인 // 삭제 메세지 확인
dialog.alert({ dialog.alert({
content : "선택한 " + $P.control.prefixName + " 정보를 삭제하시겠습니까?" content : "선택한 " + $P.control.prefixName + " 정보를 삭제하시겠습니까?"
, onOK : () => { , onOK : async() => {
// 사유 입력 // 사유 입력
let popupWidth = 640; var resp = await fetch(wctx.url("/resources/html/inputRsnDialog.html"));
let popupHeight = 240; var template = await resp.text();
let popupX = (window.screen.width / 2) - (popupWidth / 2);
let popupY = (window.screen.height / 2) - (popupHeight / 2); dialog.open({
id : "inputDelRsnDialog",
window.open( title: title,
encodeURI(wctx.url("/resources/html/inputRsnDialog.html" size : "lg",
+ "?openerPageName=${pageName}" content: template,
+ "&prefix=" + $P.control.prefix onOK : () => {
+ "&usePurpose=" + "remove" $P.callbackRsn({ reason : $("#reason").val() });
+ "&ttlNm=" + "삭제" }
)) });
, "inputDelRsnDialog"
, 'status=no, height=' + popupHeight + ', width=' + popupWidth + ', left='+ popupX + ', top='+ popupY
);
} }
}); });
} }

@ -531,23 +531,20 @@
// 삭제 메세지 확인 // 삭제 메세지 확인
dialog.alert({ dialog.alert({
content : "선택하신 " + selected.length + "건의 " + $P.control.prefixName + " 정보를 삭제하시겠습니까?" content : "선택하신 " + selected.length + "건의 " + $P.control.prefixName + " 정보를 삭제하시겠습니까?"
, onOK : () => { , onOK : async() => {
// 삭제 사유 입력 // 삭제 사유 입력
let popupWidth = 640; var resp = await fetch(wctx.url("/resources/html/inputRsnDialog.html"));
let popupHeight = 240; var template = await resp.text();
let popupX = (window.screen.width / 2) - (popupWidth / 2);
let popupY = (window.screen.height / 2) - (popupHeight / 2); dialog.open({
id : "inputDelRsnDialog",
window.open( title: title,
encodeURI(wctx.url("/resources/html/inputRsnDialog.html" size : "lg",
+ "?openerPageName=${pageName}" content: template,
+ "&prefix=" + $P.control.prefix onOK : () => {
+ "&title=" + title $P.callbackRsn({ reason : $("#reason").val() });
+ "&callPurpose=" + "removeCvlcptDscsn" }
)) });
, "inputDelRsnDialog"
, 'status=no, height=' + popupHeight + ', width=' + popupWidth + ', left='+ popupX + ', top='+ popupY
);
} }
}); });
} }

@ -1,92 +1,13 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <div class="card m-4 p-3">
<html> <form id="frmReason" name="frmReason" method="post">
<head> <div class="container-search">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <div class="row g-1">
<!-- Favicon --> <!-- 사유 -->
<link rel="icon" type="image/x-icon" href="/resources/image/favicon.ico" /> <div class="col-md-12">
<!-- Fonts --> <label for="reason" class="w-px-100 bg-lighter pe-2 col-form-label text-end" id="ttlNm" >사유 입력</label>
<link rel="stylesheet" href="/resources/font/publicsans/fontface.css" /> <textarea type="text" class="form-control w-80" id="reason" name="reason" autocomplete="off" rows="3" data-maxlengthb="1000"></textarea>
<!-- Icons. Uncomment required icon fonts -->
<link rel="stylesheet" href="/resources/3rd-party/sneat/fonts/boxicons.css" />
<link rel="stylesheet" href="/resources/3rd-party/sneat/fonts/fontawesome.css" />
<link rel="stylesheet" href="/resources/3rd-party/sneat/fonts/flag-icons.css" />
<link rel="stylesheet" href="/resources/css/fims/framework/common/xit-icon.css" />
<!-- Core CSS -->
<link rel="stylesheet" href="/resources/3rd-party/sneat/css/theme-default.css" />
<link rel="stylesheet" href="/resources/3rd-party/sneat/css/docs.css" />
<link rel="stylesheet" href="/resources/css/fims/framework/common/xit-core.css" />
<link rel="stylesheet" href="/resources/css/fims/framework/common/xit-core-extend.css" />
<!-- Vendors CSS -->
<link rel="stylesheet" href="/resources/3rd-party/sneat/libs/perfect-scrollbar/perfect-scrollbar.css" />
<link rel="stylesheet" href="/resources/css/styles.css" />
<link rel="stylesheet" href="/resources/css/fims/framework/common/common.css"/>
<title>사유 입력</title>
</head>
<body>
<div class="card m-4 p-3">
<form id="frmReason" name="frmReason" method="post">
<div class="container-search">
<div class="row g-1">
<!-- 사유 -->
<div class="col-md-12">
<label for="reason" class="w-px-100 bg-lighter pe-2 col-form-label text-end" id="ttlNm" >사유 입력</label>
<textarea type="text" class="form-control w-80" id="reason" name="reason" autocomplete="off" rows="3" data-maxlengthb="1000"></textarea>
</div>
</div>
</div> </div>
</form>
<p></p>
<div>
<span class="container-page-btn">
<span class="container-window-btn-right">
<button type="button" class="btn btn-primary w-px-80" title="확인" onclick="fnOK()">확인</button>
</span>
</span>
</div> </div>
</div> </div>
</form>
<!-- Core JS --> </div>
<script src="/resources/3rd-party/sneat/js/helpers.js"></script>
<script src="/resources/3rd-party/sneat/js/config.js"></script>
<script src="/resources/3rd-party/sneat/libs/popper/popper.js"></script>
<script src="/resources/3rd-party/sneat/js/bootstrap.js"></script>
<script src="/resources/3rd-party/sneat/libs/jquery/jquery.js" ></script>
<script src="/resources/3rd-party/sneat/libs/perfect-scrollbar/perfect-scrollbar.js"></script>
<script src="/resources/3rd-party/sneat/js/menu.js"></script>
<script src="/resources/js/fims/framework/cmm/initAfterPageLoad.js"></script>
<script language="javascript">
// parameter
var openerPageName = location.search.split("&")[0].split("=")[1];
var prefix = location.search.split("&")[1].split("=")[1];
var title = decodeURI(location.search.split("&")[2].split("=")[1]);
var callPurpose = location.search.split("&")[3].split("=")[1];
function fnOK() {
let obj = {
prefix : prefix // 호출 prefix
, title : title // 타이틀
, callPurpose : callPurpose // 호출 용도
, reason : $("#reason").val() // 입력 사유
};
window.opener.pageObject[openerPageName].callbackRsn(obj);
window.close();
}
$(document).ready(function() {
// title 변경
document.title = title;
});
</script>
</body>
</html>
Loading…
Cancel
Save