From 0b9cc4299cae88dcfe939a72220546e0191928f0 Mon Sep 17 00:00:00 2001 From: jjh Date: Fri, 19 Jul 2024 09:51:58 +0900 Subject: [PATCH] =?UTF-8?q?=EC=82=AD=EC=A0=9C=EC=8B=9C=20=EB=A9=94?= =?UTF-8?q?=EC=84=B8=EC=A7=80=20=EB=8B=A4=EC=9D=B4=EC=96=BC=EB=A1=9C?= =?UTF-8?q?=EA=B7=B8=20=EC=88=98=EC=A0=95.=20=20=20->=20=EB=A1=A4=EB=B0=B1?= =?UTF-8?q?=EC=9C=BC=EB=A1=9C=20=EC=9E=AC=20=EC=88=98=EC=A0=95.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../WEB-INF/jsp/fims/epst/epst02010-main.jsp | 1 - .../WEB-INF/jsp/fims/excl/excl01010-main.jsp | 37 +++++++++-------- .../WEB-INF/jsp/fims/excl/excl02010-main.jsp | 41 ++++++++++--------- .../WEB-INF/jsp/fims/levy/levy02010-main.jsp | 41 ++++++++++--------- .../WEB-INF/jsp/fims/sprt/sprt02030-info.jsp | 40 +++++++++--------- .../WEB-INF/jsp/fims/sprt/sprt02050-info.jsp | 41 ++++++++++--------- .../WEB-INF/jsp/fims/sprt/sprt02070-info.jsp | 41 ++++++++++--------- .../WEB-INF/jsp/fims/sprt/sprt02080-info.jsp | 41 ++++++++++--------- .../WEB-INF/jsp/fims/sprt/sprt04010-main.jsp | 41 ++++++++++--------- 9 files changed, 166 insertions(+), 158 deletions(-) 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() }); + } + }); + }); + } + }); } /**************************************************************************