pms#3753 [관리자] 기소유예 대상자 의뢰 취소 팝업시 오류
This commit is contained in:
parent
c26c05fde5
commit
f8a0a4639f
@ -279,12 +279,17 @@ public class CndtnTrgtMngController {
|
|||||||
|
|
||||||
LoginVO loginVO = checkLoginUtil.getAuthLoginVO(); //권한에 따른 로그인 정보 가져오기
|
LoginVO loginVO = checkLoginUtil.getAuthLoginVO(); //권한에 따른 로그인 정보 가져오기
|
||||||
cndtnTrgtMngVO.setLastUpdusrId(loginVO.getUniqId());
|
cndtnTrgtMngVO.setLastUpdusrId(loginVO.getUniqId());
|
||||||
|
|
||||||
|
// 대괄호 제거
|
||||||
|
List<String> resultList = new ArrayList<>();
|
||||||
|
for (String list : cndtnTrgtMngVO.getSspnIdtmtTrgtOrdList()) {
|
||||||
|
resultList.add(list.replace("[","").replace("]","")); // 내부 리스트의 모든 요소를 resultList에 추가
|
||||||
|
}
|
||||||
|
|
||||||
|
cndtnTrgtMngVO.setSspnIdtmtTrgtOrdList(resultList);
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
|
||||||
|
|
||||||
cndtnTrgtInfoMngService.updateEduStateCdAndReqStateCdAjax(cndtnTrgtMngVO);
|
cndtnTrgtInfoMngService.updateEduStateCdAndReqStateCdAjax(cndtnTrgtMngVO);
|
||||||
|
|
||||||
|
|
||||||
modelAndView.addObject("result", "success");
|
modelAndView.addObject("result", "success");
|
||||||
|
|
||||||
} catch (Exception ex) {
|
} catch (Exception ex) {
|
||||||
|
|||||||
@ -1921,6 +1921,7 @@ public class CndtnPrcsInfoMngController {
|
|||||||
//VEPrcsDetailVO info = vEPrcsAplctPrdService.findByCnclInfo(vEPrcsDetailVO);
|
//VEPrcsDetailVO info = vEPrcsAplctPrdService.findByCnclInfo(vEPrcsDetailVO);
|
||||||
|
|
||||||
System.out.println("=====================");
|
System.out.println("=====================");
|
||||||
|
System.out.println("===================== :: "+ vEPrcsDetailVO.getSspnIdtmtTrgtOrdList().toString());
|
||||||
|
|
||||||
//파일 정보 가져오기
|
//파일 정보 가져오기
|
||||||
// FileVO fileVO = new FileVO();
|
// FileVO fileVO = new FileVO();
|
||||||
|
|||||||
@ -70,8 +70,8 @@
|
|||||||
success : function(returnData) {
|
success : function(returnData) {
|
||||||
if (returnData.result == "success") {
|
if (returnData.result == "success") {
|
||||||
alert("변경 처리 되었습니다.");
|
alert("변경 처리 되었습니다.");
|
||||||
opener.location.reload();
|
// opener.location.reload();
|
||||||
//window.close();
|
window.close();
|
||||||
} else {
|
} else {
|
||||||
alert("변경 중 오류가 발생하였습니다.");
|
alert("변경 중 오류가 발생하였습니다.");
|
||||||
}
|
}
|
||||||
|
|||||||
@ -326,10 +326,17 @@
|
|||||||
//document.listForm.eduAplctOrd.value = eduAplctOrd;
|
//document.listForm.eduAplctOrd.value = eduAplctOrd;
|
||||||
//document.listForm.eduChasiOrd.value = eduChasiOrd;
|
//document.listForm.eduChasiOrd.value = eduChasiOrd;
|
||||||
document.popForm.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");
|
var popup = window.open("", "_CancelStatusPopup", "scrollbars = no, top=100px, left=100px, height=750px, width=750px");
|
||||||
document.popForm.target = "_CancelStatusPopup";
|
document.popForm.target = "_CancelStatusPopup";
|
||||||
document.popForm.submit();
|
document.popForm.submit();
|
||||||
|
|
||||||
|
var timer = setInterval(function() {
|
||||||
|
if(popup.closed) {
|
||||||
|
clearInterval(timer);
|
||||||
|
window.location.reload();
|
||||||
|
}
|
||||||
|
}, 1000);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
commonPopWindowopenForm(
|
commonPopWindowopenForm(
|
||||||
"<c:url value='/kccadr/oprtn/cndtnSspnIdtmt/popup/cnclStatusPopup.do'/>"
|
"<c:url value='/kccadr/oprtn/cndtnSspnIdtmt/popup/cnclStatusPopup.do'/>"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user