From 30b2ceb32480e8f27d155b05b26eff93c60aeb4b Mon Sep 17 00:00:00 2001 From: hylee Date: Fri, 11 Nov 2022 18:13:58 +0900 Subject: [PATCH] =?UTF-8?q?refactor:=EC=B2=B4=ED=97=98=ED=95=98=EA=B8=B0?= =?UTF-8?q?=20=ED=95=98=EB=8B=A8=20=EB=B2=84=ED=8A=BC=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../kccadr/adjstExp/adjstReqRegistStep1.jsp | 21 ++++++++++++++++--- .../kccadr/adjstExp/adjstReqRegistStep2.jsp | 21 +++++++++++++++---- .../kccadr/adjstExp/adjstReqRegistStep3.jsp | 14 +++++++++++++ 3 files changed, 49 insertions(+), 7 deletions(-) diff --git a/src/main/webapp/WEB-INF/jsp/web/kccadr/adjstExp/adjstReqRegistStep1.jsp b/src/main/webapp/WEB-INF/jsp/web/kccadr/adjstExp/adjstReqRegistStep1.jsp index 7547efc6..f13ef209 100644 --- a/src/main/webapp/WEB-INF/jsp/web/kccadr/adjstExp/adjstReqRegistStep1.jsp +++ b/src/main/webapp/WEB-INF/jsp/web/kccadr/adjstExp/adjstReqRegistStep1.jsp @@ -60,6 +60,20 @@ $( document ).ready(function(){ } }); } + + $('.temporaryBtn').click(function(){ + console.log($(this).hasClass('udpate')); + if(confirm("신청인 정보 임시저장을 진행하시겠습니까?")) + { + if(confirm("신청인 정보 임시저장이 완료되었습니다.\n다음 페이지로 이동하시겠습니까?")) + { + document.STEP7.action = "/web/kccadr/adjstExp/adjstReqRegistStep2.do"; + document.STEP7.submit(); + } + } + + }); + }); @@ -547,11 +561,12 @@ $( document ).ready(function(){
- + + -<%-- --%> - + +
diff --git a/src/main/webapp/WEB-INF/jsp/web/kccadr/adjstExp/adjstReqRegistStep2.jsp b/src/main/webapp/WEB-INF/jsp/web/kccadr/adjstExp/adjstReqRegistStep2.jsp index 576ab0a2..cb0c4c47 100644 --- a/src/main/webapp/WEB-INF/jsp/web/kccadr/adjstExp/adjstReqRegistStep2.jsp +++ b/src/main/webapp/WEB-INF/jsp/web/kccadr/adjstExp/adjstReqRegistStep2.jsp @@ -65,6 +65,19 @@ if ($("button.delPerson").length>0){ //$("button.delPerson:eq(0)").hide(); } + + $('.temporaryBtn').click(function(){ + console.log($(this).hasClass('udpate')); + if(confirm("피신청인 정보 임시저장을 진행하시겠습니까?")) + { + if(confirm("피신청인 정보 임시저장이 완료되었습니다.\n다음 페이지로 이동하시겠습니까?")) + { + document.STEP8.action = "/web/kccadr/adjstExp/adjstReqRegistStep3.do"; + document.STEP8.submit(); + } + } + + }); }); @@ -492,15 +505,15 @@
- - + +
-<%-- --%> - + +
diff --git a/src/main/webapp/WEB-INF/jsp/web/kccadr/adjstExp/adjstReqRegistStep3.jsp b/src/main/webapp/WEB-INF/jsp/web/kccadr/adjstExp/adjstReqRegistStep3.jsp index 9a05a40a..78696673 100644 --- a/src/main/webapp/WEB-INF/jsp/web/kccadr/adjstExp/adjstReqRegistStep3.jsp +++ b/src/main/webapp/WEB-INF/jsp/web/kccadr/adjstExp/adjstReqRegistStep3.jsp @@ -77,6 +77,19 @@ $( document ).ready(function(){ alert("체험하기 기능 입니다."); }); + $('.temporaryBtn').click(function(){ + console.log($(this).hasClass('udpate')); + if(confirm("신청인 취지/원인 정보 임시저장을 진행하시겠습니까?")) + { + if(confirm("신청인 취지/원인 정보 임시저장이 완료되었습니다.\n다음 페이지로 이동하시겠습니까?")) + { + document.STEP9.action = "/web/kccadr/adjstExp/adjstReqRegistStep3.do"; + document.STEP9.submit(); + } + } + + }); + }); function fncGoList(status) { @@ -220,6 +233,7 @@ function fncGoList(status) {
+