2024-03-15 12:14 기소유예 취소 처리
This commit is contained in:
parent
ed88ca4ca5
commit
c26c05fde5
@ -6,6 +6,9 @@
|
||||
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
|
||||
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
|
||||
<%@ taglib prefix="validator" uri="http://www.springmodules.org/tags/commons-validator" %>
|
||||
<%@ taglib prefix="kc" uri="/WEB-INF/tlds/kcc_tld.tld"%>
|
||||
<%@ taglib prefix="un" uri="http://jakarta.apache.org/taglibs/unstandard-1.0" %>
|
||||
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
|
||||
<%@ taglib prefix="ve" uri="/WEB-INF/tlds/kcc_tld.tld"%>
|
||||
<%
|
||||
/**
|
||||
@ -42,16 +45,42 @@
|
||||
self.close();
|
||||
}
|
||||
|
||||
function fn_updateCnclUpdate() {
|
||||
function fn_updateCnclUpdate_a() {
|
||||
var v_msg = $('#rmrks').val();
|
||||
/* if(!v_msg){
|
||||
alert("메모를 입력해 주세요");
|
||||
return false;
|
||||
} */
|
||||
|
||||
// window.opener.fn_popup_submit_cmmAjax(v_msg);
|
||||
opener.parent.fn_popup_submit_cmmAjax(v_msg);
|
||||
// self.close();
|
||||
fn_cmmAjax();
|
||||
|
||||
}
|
||||
|
||||
function fn_cmmAjax(){
|
||||
var p_data = new FormData(document.getElementById("listForm"));
|
||||
var url = "<c:url value='/kccadr/oprtn/cndtnSspnIdtmt/updateEduStateCdAndReqStateCdAjax.do'/>";
|
||||
|
||||
// AJAX 호출을 통해 서버에 데이터 전송
|
||||
$.ajax({
|
||||
type:"POST",
|
||||
url: url,
|
||||
data: p_data,
|
||||
dataType:'json',
|
||||
async: false,
|
||||
processData: false,
|
||||
contentType: false,
|
||||
cache: false,
|
||||
|
||||
success : function(returnData) {
|
||||
if (returnData.result == "success") {
|
||||
alert("변경 처리 되었습니다.");
|
||||
opener.location.reload();
|
||||
//window.close();
|
||||
} else {
|
||||
alert("변경 중 오류가 발생하였습니다.");
|
||||
}
|
||||
},
|
||||
error : function(jqXHR, textStatus, errorThrown) {
|
||||
console.error("AJAX Error:", textStatus, errorThrown);
|
||||
console.error("Response:", jqXHR.responseText);
|
||||
}
|
||||
});
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
@ -62,10 +91,15 @@
|
||||
|
||||
<form:form id="listForm" name="listForm" method="post" onsubmit="return false;">
|
||||
|
||||
<input type="hidden" id="sspnIdtmtTrgtOrdList" name="sspnIdtmtTrgtOrdList" value="<c:out value="${vEPrcsDetailVO.sspnIdtmtTrgtOrdList}" />" />
|
||||
<input type="hidden" id="eduStateCd" name="eduStateCd" value="<c:out value="${vEPrcsDetailVO.eduStateCd}" />" />
|
||||
<input type="hidden" id="reqStateCd" name="reqStateCd" value="<c:out value="${vEPrcsDetailVO.reqStateCd}" />" />
|
||||
|
||||
|
||||
<div class="area_popup">
|
||||
<div class="cont_popup">
|
||||
<div class="pop_tb_tit01">
|
||||
<p>비공개 메모(<c:out value="${loginId }"/>)</p>
|
||||
<p>비공개 메모(<font color="red">의뢰취소 담당자 이름 기입</font>)</p>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
@ -91,7 +125,7 @@
|
||||
</div>
|
||||
<div class="btn_center">
|
||||
<!-- <button type="button" class="btn_type05" onclick="fn_updateCnclUpdate(30, 40, '취소');">등록</button> -->
|
||||
<button type="button" class="btn_type05" id="test" onclick="fn_updateCnclUpdate();">등록</button>
|
||||
<button type="button" class="btn_type05" onclick="fn_updateCnclUpdate_a();">등록</button>
|
||||
<button type="button" class="btn_type02" onclick="window.close()">취소</button>
|
||||
</div>
|
||||
<div class="btn_right">
|
||||
|
||||
@ -314,16 +314,21 @@
|
||||
"reqStateCd" : p_reqStateCd
|
||||
};
|
||||
|
||||
//'alert(dataToSend);
|
||||
//alert(sspnIdtmtTrgtOrdList);
|
||||
|
||||
var form = document.popForm;
|
||||
form.sspnIdtmtTrgtOrdList.value = sspnIdtmtTrgtOrdList;
|
||||
form.eduStateCd.value = p_eduStateCd;
|
||||
form.reqStateCd.value = p_reqStateCd;
|
||||
|
||||
//alert("<c:url value='/kccadr/oprtn/cndtnSspnIdtmt/popup/cnclStatusPopup.do'/>");
|
||||
|
||||
//document.listForm.eduAplctOrd.value = eduAplctOrd;
|
||||
//document.listForm.eduChasiOrd.value = eduChasiOrd;
|
||||
document.listForm.action = "<c:url value='/kccadr/oprtn/cndtnSspnIdtmt/popup/cnclStatusPopup.do'/>";
|
||||
document.popForm.action = "<c:url value='/kccadr/oprtn/cndtnSspnIdtmt/popup/cnclStatusPopup.do'/>";
|
||||
window.open("", "_CancelStatusPopup", "scrollbars = no, top=100px, left=100px, height=750px, width=750px");
|
||||
document.listForm.target = "_CancelStatusPopup";
|
||||
document.listForm.submit();
|
||||
document.popForm.target = "_CancelStatusPopup";
|
||||
document.popForm.submit();
|
||||
|
||||
/*
|
||||
commonPopWindowopenForm(
|
||||
@ -525,6 +530,9 @@
|
||||
<body>
|
||||
<form id="popForm" name="popForm" method="post" >
|
||||
<input type="hidden" id="sspnIdtmtTrgtOrdList" name="sspnIdtmtTrgtOrdList" value="" />
|
||||
<input type="hidden" id="eduStateCd" name="eduStateCd" value="" />
|
||||
<input type="hidden" id="reqStateCd" name="reqStateCd" value="" />
|
||||
|
||||
</form>
|
||||
<form id="excelForm" name="excelForm" method="post" >
|
||||
</form>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user