refactor:체험하기 하단 버튼 수정
This commit is contained in:
parent
ec53ce06b1
commit
30b2ceb324
@ -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(){
|
|||||||
<div class="btn_wrap btn_layout01">
|
<div class="btn_wrap btn_layout01">
|
||||||
<c:choose>
|
<c:choose>
|
||||||
<c:when test="${empty adjstReqVO.adrSeq}">
|
<c:when test="${empty adjstReqVO.adrSeq}">
|
||||||
<button type="button" class="btnType02 btn_save" onclick="AdjstReq.step1Save('${KccadrConstants.ADR_MODE_NEW}'); return false;">임시저장</button>
|
<button type="button" class="btnType01 insert temporaryBtn">임시저장</button>
|
||||||
|
<button type="button" class="btnType02 btn_save" onclick="AdjstReq.step1Save('${KccadrConstants.ADR_MODE_NEW}'); return false;">2단계 이동</button>
|
||||||
</c:when>
|
</c:when>
|
||||||
<c:otherwise>
|
<c:otherwise>
|
||||||
<%-- <button type="button" class="btnType01" onclick="AdjstReq.stepDelete('${adjstReqVO.adrSeq}'); return false;">신청서 삭제</button> --%>
|
<button type="button" class="btnType01 udpate temporaryBtn">임시저장</button>
|
||||||
<button type="button" class="btnType02 btn_save" onclick="AdjstReq.step1Save('${KccadrConstants.ADR_MODE_UPT}'); return false;">임시저장</button>
|
<button type="button" class="btnType02 btn_save" onclick="AdjstReq.step1Save('${KccadrConstants.ADR_MODE_UPT}'); return false;">2단계 이동</button>
|
||||||
</c:otherwise>
|
</c:otherwise>
|
||||||
</c:choose>
|
</c:choose>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -65,6 +65,19 @@
|
|||||||
if ($("button.delPerson").length>0){
|
if ($("button.delPerson").length>0){
|
||||||
//$("button.delPerson:eq(0)").hide();
|
//$("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();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
});
|
||||||
|
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
@ -492,15 +505,15 @@
|
|||||||
<c:when test="${fn:length(list) eq 0}">
|
<c:when test="${fn:length(list) eq 0}">
|
||||||
|
|
||||||
<div class="btn_right">
|
<div class="btn_right">
|
||||||
<!-- <button type="button" class="btnType01" onclick="AdjstReq.stepDelete('${adjstReqVO.adrSeq}'); return false;">신청서 삭제</button> -->
|
<button type="button" class="btnType01 insert temporaryBtn">임시저장</button>
|
||||||
<button type="button" class="btnType02 btn_save" onclick="AdjstReq.step2Save('${KccadrConstants.ADR_MODE_NEW}'); return false">임시저장</button>
|
<button type="button" class="btnType02 btn_save" onclick="AdjstReq.step2Save('${KccadrConstants.ADR_MODE_NEW}'); return false">3단계 이동</button>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</c:when>
|
</c:when>
|
||||||
<c:otherwise>
|
<c:otherwise>
|
||||||
<div class="btn_right">
|
<div class="btn_right">
|
||||||
<%-- <button type="button" class="btnType01" onclick="AdjstReq.stepDelete('${adjstReqVO.adrSeq}'); return false;">신청서 삭제</button> --%>
|
<button type="button" class="btnType01 insert temporaryBtn">임시저장</button>
|
||||||
<button type="button" class="btnType02 btn_save" onclick="AdjstReq.step2Save('${KccadrConstants.ADR_MODE_UPT}'); return false">임시저장</button>
|
<button type="button" class="btnType02 btn_save" onclick="AdjstReq.step2Save('${KccadrConstants.ADR_MODE_UPT}'); return false">3단계 이동</button>
|
||||||
</div>
|
</div>
|
||||||
</c:otherwise>
|
</c:otherwise>
|
||||||
</c:choose>
|
</c:choose>
|
||||||
|
|||||||
@ -77,6 +77,19 @@ $( document ).ready(function(){
|
|||||||
alert("체험하기 기능 입니다.");
|
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) {
|
function fncGoList(status) {
|
||||||
@ -220,6 +233,7 @@ function fncGoList(status) {
|
|||||||
<div class="btn_wrap btn_layout03">
|
<div class="btn_wrap btn_layout03">
|
||||||
<div class="btn_left"><!--<button type="button" class="btnType04 btn_move" onclick="AdjstReq.fncGoPrev();">2단계이동</button>--></div>
|
<div class="btn_left"><!--<button type="button" class="btnType04 btn_move" onclick="AdjstReq.fncGoPrev();">2단계이동</button>--></div>
|
||||||
<div class="btn_right">
|
<div class="btn_right">
|
||||||
|
<button type="button" class="btnType01 insert temporaryBtn">임시저장</button>
|
||||||
<button type="button" class="btnType02 btn_save" onClick="fncGoList(''); return false;">조정신청서 제출</button>
|
<button type="button" class="btnType02 btn_save" onClick="fncGoList(''); return false;">조정신청서 제출</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user