diff --git a/src/main/webapp/WEB-INF/jsp/fims/epst/epst02010-main.jsp b/src/main/webapp/WEB-INF/jsp/fims/epst/epst02010-main.jsp index 4e88d7b6..a7eec483 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/epst/epst02010-main.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/epst/epst02010-main.jsp @@ -373,7 +373,6 @@ // DataTables에 스크롤이 맨 밑으로 이동했을 때 이벤트 $P.scrollDataList = () => { - $P.control.load($P.control.query.pageNum + 1); } diff --git a/src/main/webapp/WEB-INF/jsp/fims/excl/excl01010-main.jsp b/src/main/webapp/WEB-INF/jsp/fims/excl/excl01010-main.jsp index 7c93c0dd..49584b99 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/excl/excl01010-main.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/excl/excl01010-main.jsp @@ -636,24 +636,25 @@ return; } - // 삭제 메세지 확인 - dialog.alert({ - content: "선택하신 " + selected.length + "건의 " + $P.control.prefixName + " 정보를 삭제하시겠습니까?" - , onOK: async() => { - // 삭제 사유 입력 - let resp = await fetch(wctx.url("/resources/html/inputRsnDialog.html")); - let template = await resp.text(); - - dialog.open({ - id: "inputDelRsnDialog" - , title: title - , size: "lg" - , content: template - , init: () => { setDialogZindex(); } - , onOK: () => { - $P.callbackRsn({ reason: $("#reason").val() }); - } - }); + // 삭제 메세지 확인 + dialog.alert({ + content: "선택하신 " + selected.length + "건의 " + $P.control.prefixName + " 정보를 삭제하시겠습니까?" + , onOK: () => { + // 삭제 사유 입력 + fetch(wctx.url("/resources/html/inputRsnDialog.html")) + .then(function(resp) { return resp.text(); }) + .then(function(template) { + dialog.open({ + id: "inputDelRsnDialog" + , title: title + , size: "lg" + , content: template + , init: () => { setDialogZindex(); } + , onOK: () => { + $P.callbackRsn({ reason: $("#reason").val() }); + } + }); + }); } }); } diff --git a/src/main/webapp/WEB-INF/jsp/fims/excl/excl02010-main.jsp b/src/main/webapp/WEB-INF/jsp/fims/excl/excl02010-main.jsp index fd2777b9..607f79d7 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/excl/excl02010-main.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/excl/excl02010-main.jsp @@ -757,26 +757,27 @@ return; } - // 삭제 메세지 확인 - dialog.alert({ - content: "선택하신 " + selected.length + "건의 " + $P.control.prefixName + " 정보를 삭제하시겠습니까?" - , onOK: async() => { - // 삭제 사유 입력 - let resp = await fetch(wctx.url("/resources/html/inputRsnDialog.html")); - let template = await resp.text(); - - dialog.open({ - id: "inputDelRsnDialog" - , title: title - , size: "lg" - , content: template - , init: () => { setDialogZindex(); } - , onOK: () => { - $P.callbackRsn({ reason: $("#reason").val() }); - } - }); - } - }); + // 삭제 메세지 확인 + dialog.alert({ + content: "선택하신 " + selected.length + "건의 " + $P.control.prefixName + " 정보를 삭제하시겠습니까?" + , onOK: () => { + // 삭제 사유 입력 + fetch(wctx.url("/resources/html/inputRsnDialog.html")) + .then(function(resp) { return resp.text(); }) + .then(function(template) { + dialog.open({ + id: "inputDelRsnDialog" + , title: title + , size: "lg" + , content: template + , init: () => { setDialogZindex(); } + , onOK: () => { + $P.callbackRsn({ reason: $("#reason").val() }); + } + }); + }); + } + }); } // 심의의결서 출력 버튼 클릭 이벤트 diff --git a/src/main/webapp/WEB-INF/jsp/fims/levy/levy02010-main.jsp b/src/main/webapp/WEB-INF/jsp/fims/levy/levy02010-main.jsp index 869d2f4b..fe372481 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/levy/levy02010-main.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/levy/levy02010-main.jsp @@ -615,26 +615,27 @@ return; } - // 삭제 메세지 확인 - dialog.alert({ - content: "선택하신 " + selected.length + "건의 " + $P.control.prefixName + " 정보를 삭제하시겠습니까?" - , onOK: async() => { - // 삭제 사유 입력 - let resp = await fetch(wctx.url("/resources/html/inputRsnDialog.html")); - let template = await resp.text(); - - dialog.open({ - id: "inputDelRsnDialog" - , title: title - , size: "lg" - , content: template - , init: () => { setDialogZindex(); } - , onOK: () => { - $P.callbackRsn({ reason : $("#reason").val() }); - } - }); - } - }); + // 삭제 메세지 확인 + dialog.alert({ + content: "선택하신 " + selected.length + "건의 " + $P.control.prefixName + " 정보를 삭제하시겠습니까?" + , onOK: () => { + // 삭제 사유 입력 + fetch(wctx.url("/resources/html/inputRsnDialog.html")) + .then(function(resp) { return resp.text(); }) + .then(function(template) { + dialog.open({ + id: "inputDelRsnDialog" + , title: title + , size: "lg" + , content: template + , init: () => { setDialogZindex(); } + , onOK: () => { + $P.callbackRsn({ reason: $("#reason").val() }); + } + }); + }); + } + }); } /************************************************************************** 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 2baf2f3d..8c4a0e71 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 @@ -460,25 +460,27 @@ return; } - // 삭제 메세지 확인 - dialog.alert({ - content: "선택한 " + $P.control.prefixName + " 정보를 삭제하시겠습니까?" - , onOK: async() => { - // 사유 입력 - let resp = await fetch(wctx.url("/resources/html/inputRsnDialog.html")); - let template = await resp.text(); - - dialog.open({ - id: "inputDelRsnDialog" - , title: title - , size: "lg" - , content: template - , onOK : () => { - $P.callbackRsn({ reason : $("#reason").val() }); - } - }); - } - }); + // 삭제 메세지 확인 + dialog.alert({ + content: "선택하신 " + selected.length + "건의 " + $P.control.prefixName + " 정보를 삭제하시겠습니까?" + , onOK: () => { + // 삭제 사유 입력 + fetch(wctx.url("/resources/html/inputRsnDialog.html")) + .then(function(resp) { return resp.text(); }) + .then(function(template) { + dialog.open({ + id: "inputDelRsnDialog" + , title: title + , size: "lg" + , content: template + , init: () => { setDialogZindex(); } + , onOK: () => { + $P.callbackRsn({ reason: $("#reason").val() }); + } + }); + }); + } + }); } // 심의의결서 출력 버튼 이벤트 diff --git a/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt02050-info.jsp b/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt02050-info.jsp index 24438b4a..6a61af09 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt02050-info.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt02050-info.jsp @@ -692,26 +692,27 @@ return; } - // 삭제 메세지 확인 - dialog.alert({ - content: "선택하신 " + $P.rdctControl.prefixName + " 정보를 삭제하시겠습니까?" - , onOK: () => { - // 삭제 사유 입력 - fetch(wctx.url("/resources/html/inputRsnDialog.html")) - .then(function(resp) { return resp.text(); }) - .then(function(template) { - dialog.open({ - id: "inputDelRsnDialog" - , title: title - , size: "lg" - , content: template - , onOK: () => { - $P.callbackRsnRdct({ reason: $("#reason").val() }); - } - }); - }); - } - }); + // 삭제 메세지 확인 + dialog.alert({ + content: "선택하신 " + selected.length + "건의 " + $P.control.prefixName + " 정보를 삭제하시겠습니까?" + , onOK: () => { + // 삭제 사유 입력 + fetch(wctx.url("/resources/html/inputRsnDialog.html")) + .then(function(resp) { return resp.text(); }) + .then(function(template) { + dialog.open({ + id: "inputDelRsnDialog" + , title: title + , size: "lg" + , content: template + , init: () => { setDialogZindex(); } + , onOK: () => { + $P.callbackRsn({ reason: $("#reason").val() }); + } + }); + }); + } + }); } // 계고 등록 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 8172f6a6..668ec5b2 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 @@ -506,26 +506,27 @@ return; } - // 삭제 메세지 확인 - dialog.alert({ - content: "선택한 " + $P.control.prefixName + " 정보를 삭제하시겠습니까?" - , onOK: () => { - // 삭제 사유 입력 - fetch(wctx.url("/resources/html/inputRsnDialog.html")) - .then(function(resp) { return resp.text(); }) - .then(function(template) { - dialog.open({ - id: "inputDelRsnDialog" - , title: title - , size: "lg" - , content: template - , onOK: () => { - $P.callbackRsn({ reason: $("#reason").val() }); - } - }); - }); - } - }); + // 삭제 메세지 확인 + dialog.alert({ + content: "선택하신 " + selected.length + "건의 " + $P.control.prefixName + " 정보를 삭제하시겠습니까?" + , onOK: () => { + // 삭제 사유 입력 + fetch(wctx.url("/resources/html/inputRsnDialog.html")) + .then(function(resp) { return resp.text(); }) + .then(function(template) { + dialog.open({ + id: "inputDelRsnDialog" + , title: title + , size: "lg" + , content: template + , init: () => { setDialogZindex(); } + , onOK: () => { + $P.callbackRsn({ reason: $("#reason").val() }); + } + }); + }); + } + }); } /************************************************************************** diff --git a/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt02080-info.jsp b/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt02080-info.jsp index a1800c3a..bd7579cc 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt02080-info.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt02080-info.jsp @@ -301,26 +301,27 @@ // 민원상담 ID 가 없다면.. return if (typeof cvlcptDscsnId == "undefined" || cvlcptDscsnId == null || cvlcptDscsnId == "") return; - // 삭제 메세지 확인 - dialog.alert({ - content: "선택한 " + $P.control.prefixName + " 정보를 삭제하시겠습니까?" - , onOK : () => { - // 삭제 사유 입력 - fetch(wctx.url("/resources/html/inputRsnDialog.html")) - .then(function(resp) { return resp.text(); }) - .then(function(template) { - dialog.open({ - id: "inputDelRsnDialog" - , title: title - , size: "lg" - , content: template - , onOK: () => { - $P.callbackRsn({ reason: $("#reason").val() }); - } - }); - }); - } - }); + // 삭제 메세지 확인 + dialog.alert({ + content: "선택하신 " + selected.length + "건의 " + $P.control.prefixName + " 정보를 삭제하시겠습니까?" + , onOK: () => { + // 삭제 사유 입력 + fetch(wctx.url("/resources/html/inputRsnDialog.html")) + .then(function(resp) { return resp.text(); }) + .then(function(template) { + dialog.open({ + id: "inputDelRsnDialog" + , title: title + , size: "lg" + , content: template + , init: () => { setDialogZindex(); } + , onOK: () => { + $P.callbackRsn({ reason: $("#reason").val() }); + } + }); + }); + } + }); } /************************************************************************** diff --git a/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt04010-main.jsp b/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt04010-main.jsp index 8c4c4529..59de0726 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt04010-main.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt04010-main.jsp @@ -516,26 +516,27 @@ return; } - // 삭제 메세지 확인 - dialog.alert({ - content : "선택하신 " + selected.length + "건의 " + $P.control.prefixName + " 정보를 삭제하시겠습니까?" - , onOK : async() => { - // 삭제 사유 입력 - let resp = await fetch(wctx.url("/resources/html/inputRsnDialog.html")); - let template = await resp.text(); - - dialog.open({ - id: "inputDelRsnDialog" - , title: title - , size: "lg" - , content: template - , init: () => { setDialogZindex(); } - , onOK: () => { - $P.callbackRsn({ reason : $("#reason").val() }); - } - }); - } - }); + // 삭제 메세지 확인 + dialog.alert({ + content: "선택하신 " + selected.length + "건의 " + $P.control.prefixName + " 정보를 삭제하시겠습니까?" + , onOK: () => { + // 삭제 사유 입력 + fetch(wctx.url("/resources/html/inputRsnDialog.html")) + .then(function(resp) { return resp.text(); }) + .then(function(template) { + dialog.open({ + id: "inputDelRsnDialog" + , title: title + , size: "lg" + , content: template + , init: () => { setDialogZindex(); } + , onOK: () => { + $P.callbackRsn({ reason: $("#reason").val() }); + } + }); + }); + } + }); } /**************************************************************************