이준호 전자조정시스템 커밋
- 기일통지서 => 완료, 반영 완료 - 기일조서 => 완료, 반영 완료 - 종결결재 => 완료, 반영 완료 - 직권조정결정서 => 완료, 반영 완료 - 조정조서 => 완료, 반영 완료 - 불성립종결통보서 => 완료, 반영 완료 - 조정권고안 => 완료, 반영 전 - 기일변경결요청 => 완료, 반영 전 - 취하종결통보서 => 완료, 반영 전
This commit is contained in:
parent
3b66d22bf5
commit
958cfc36b7
@ -213,9 +213,10 @@
|
||||
}
|
||||
|
||||
//결재 팝업 이후 처리내용
|
||||
function fnc_aprvl_pop_ret(param){
|
||||
//location.reload();
|
||||
fncGoList('list'); //조정진행목록으로
|
||||
function fnc_aprvl_pop_ret(sbmtSeq, sbmtTy){
|
||||
$('#sbmtSeq').val(sbmtSeq);
|
||||
$('#sbmtTy').val(sbmtTy);
|
||||
fncApprPass();
|
||||
}
|
||||
|
||||
function sendDlvInfoPop() {
|
||||
@ -297,6 +298,77 @@
|
||||
|
||||
}
|
||||
|
||||
/* 조정권고안 승인요청 후 자동으로 조정부장 결재되도록 처리 */
|
||||
function fncApprPass(){
|
||||
var data = {
|
||||
adrSeq : $("#adrSeq").val(),
|
||||
adrSn : $("#adrSn").val(),
|
||||
sbmtSeq : $("#sbmtSeq").val(),
|
||||
sbmtTy : $("#sbmtTy").val(),
|
||||
sbmtYn : 'Y'
|
||||
}
|
||||
|
||||
var statCd = $('#statCd').val();
|
||||
$.ajax({
|
||||
type: "POST",
|
||||
url: "/web/kccadr/adjcclt/ai/adjstConciliatorApmSave.do",
|
||||
data: JSON.stringify(data),
|
||||
dataType:'json',
|
||||
async: false,
|
||||
processData: false,
|
||||
contentType: "application/json",
|
||||
cache: false,
|
||||
success: function (returnData, status) {
|
||||
if(returnData.result == 'FAIL'){
|
||||
if(returnData.message != ''){
|
||||
alert(returnData.message);
|
||||
}else{
|
||||
alert("처리중 오류가 발생하였습니다.");
|
||||
}
|
||||
}else if(returnData.result == 'SUCCESS'){
|
||||
var s_adrHstryMgrSeq = returnData.adrHstryMgrSeq;
|
||||
|
||||
var exportUrl = "";
|
||||
|
||||
exportUrl = "/kccadr/adjPgrMgr/arm/armOzExportAjax.do";
|
||||
//조정권고안 종결문서 번호 입력
|
||||
$('#closeDocTy').val("30");
|
||||
ozExportReport(exportUrl);
|
||||
// alert("승인되었습니다.");
|
||||
}
|
||||
location.reload();
|
||||
},
|
||||
error: function (e) { alert("저장에 실패하였습니다."); console.log("ERROR : ", e); }
|
||||
});
|
||||
}
|
||||
|
||||
function ozExportReport(exportUrl){
|
||||
|
||||
var data = new FormData(document.getElementById("detailForm"));
|
||||
|
||||
$.ajax({
|
||||
type: "POST",
|
||||
url: exportUrl,
|
||||
data: data,
|
||||
dataType:'json',
|
||||
async: false,
|
||||
processData: false,
|
||||
contentType: false,
|
||||
cache: false,
|
||||
success: function (returnData, status) {
|
||||
console.log(returnData.result);
|
||||
//alert(returnData.result);
|
||||
if(returnData.result == 'SUCCESS'){
|
||||
|
||||
}else{
|
||||
alert(returnData.message);
|
||||
}
|
||||
},
|
||||
error: function (e) { alert("Export 요청에 실패하였습니다."); console.log("ERROR : ", e); }
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
@ -310,6 +382,17 @@
|
||||
<input type="hidden" id="sbmtTyCd" name="sbmtTyCd" value=""/>
|
||||
|
||||
</form>
|
||||
|
||||
<form:form id="detailForm" name="detailForm" commandName="DrtVO" onsubmit="return false;" method="post">
|
||||
<input type="hidden" name="adrSeq" id="adrSeq" value="<c:out value='${info.adrSeq}'/>"/>
|
||||
<input type="hidden" name="adrSn" id="adrSn" value="<c:out value='${info.adrSn}'/>"/>
|
||||
<input type="hidden" name="sbmtSeq" id="sbmtSeq" value=""/>
|
||||
<input type="hidden" name="sbmtTy" id="sbmtTy" value=""/>
|
||||
<input type="hidden" name="appSeq" id="appSeq" value="<c:out value='${info.appSeq}'/>"/>
|
||||
<input type="hidden" name="statCd" id="statCd" value="<c:out value='${info.statCd}'/>"/>
|
||||
<input type="hidden" name="closeDocTy" id="closeDocTy" value=""/>
|
||||
</form:form>
|
||||
|
||||
<form id="dlvpop" name="dlvpop" method="post">
|
||||
<input type="hidden" id="adrNo" name="adrNo" value="<c:out value="${info.adrNo}" />" />
|
||||
<input type="hidden" id="adrSn" name="adrSn" value="<c:out value="${info.adrSn }" />" />
|
||||
|
||||
@ -263,7 +263,9 @@
|
||||
}
|
||||
|
||||
//결재 팝업이후 처리 내용
|
||||
function fnc_aprvl_pop_ret(param){
|
||||
function fnc_aprvl_pop_ret(sbmtSeq, sbmtTy){
|
||||
$('#sbmtSeq').val(sbmtSeq);
|
||||
$('#sbmtTy').val(sbmtTy);
|
||||
updtDntSbmt(); //SBMT_YN='Y'로 처리
|
||||
//fncGoList(); //조정진행목록으로
|
||||
}
|
||||
@ -286,7 +288,9 @@
|
||||
console.log(returnData.result);
|
||||
//alert(returnData.result);
|
||||
if(returnData.result == 'SUCCESS'){
|
||||
alert('성공적으로 요청하였습니다.');
|
||||
// 기일통지서 승인 요청 시 조정부장 결재 자동 처리
|
||||
fncApprPass();
|
||||
alert('성공적으로 처리하였습니다.');
|
||||
fncGoList();
|
||||
}else{
|
||||
alert(returnData.message);
|
||||
@ -382,6 +386,106 @@
|
||||
|
||||
}
|
||||
|
||||
/* 기일통지서 승인요청 후 자동으로 조정부장 결재되도록 처리 */
|
||||
function fncApprPass(){
|
||||
var data = {
|
||||
adrSeq : $("#adrSeq").val(),
|
||||
adrSn : $("#adrSn").val(),
|
||||
sbmtSeq : $("#sbmtSeq").val(),
|
||||
sbmtTy : $("#sbmtTy").val(),
|
||||
sbmtYn : 'Y'
|
||||
}
|
||||
|
||||
var statCd = $('#statCd').val();
|
||||
$.ajax({
|
||||
type: "POST",
|
||||
url: "/web/kccadr/adjcclt/ai/adjstConciliatorApmSave.do",
|
||||
data: JSON.stringify(data),
|
||||
dataType:'json',
|
||||
async: false,
|
||||
processData: false,
|
||||
contentType: "application/json",
|
||||
cache: false,
|
||||
success: function (returnData, status) {
|
||||
if(returnData.result == 'FAIL'){
|
||||
if(returnData.message != ''){
|
||||
alert(returnData.message);
|
||||
}else{
|
||||
alert("처리중 오류가 발생하였습니다.");
|
||||
}
|
||||
}else if(returnData.result == 'SUCCESS'){
|
||||
var s_adrHstryMgrSeq = returnData.adrHstryMgrSeq;
|
||||
|
||||
updtDntApprYn('Y', s_adrHstryMgrSeq);
|
||||
|
||||
exportUrl = "/kccadr/adjPgrMgr/dnt/dntOzExportAjax.do";
|
||||
ozExportReport(exportUrl);
|
||||
alert("승인되었습니다.");
|
||||
}
|
||||
location.reload();
|
||||
},
|
||||
error: function (e) { alert("저장에 실패하였습니다."); console.log("ERROR : ", e); }
|
||||
});
|
||||
}
|
||||
|
||||
//기일통지서승인 일자 업데이트 처리해주기
|
||||
function updtDntApprYn(status
|
||||
, s_adrHstryMgrSeq
|
||||
){
|
||||
var data = new FormData(document.getElementById("detailForm"));
|
||||
data.append("apprYn" ,status);
|
||||
data.append("assHstrySeq" ,s_adrHstryMgrSeq);
|
||||
|
||||
$.ajax({
|
||||
type: "POST",
|
||||
url: "/web/kccadr/adjcclt/ai/dntUpdApprYnAjax.do",
|
||||
data: data,
|
||||
dataType:'json',
|
||||
async: false,
|
||||
processData: false,
|
||||
contentType: false,
|
||||
cache: false,
|
||||
success: function (returnData, status) {
|
||||
console.log(returnData.result);
|
||||
//alert(returnData.result);
|
||||
if(returnData.result == 'SUCCESS'){
|
||||
//alert('성공적으로 요청하였습니다.');
|
||||
//fncGoList();
|
||||
}else{
|
||||
alert(returnData.message);
|
||||
}
|
||||
},
|
||||
error: function (e) { alert("요청에 실패하였습니다."); console.log("ERROR : ", e); }
|
||||
});
|
||||
}
|
||||
|
||||
function ozExportReport(exportUrl){
|
||||
|
||||
var data = new FormData(document.getElementById("detailForm"));
|
||||
|
||||
$.ajax({
|
||||
type: "POST",
|
||||
url: exportUrl,
|
||||
data: data,
|
||||
dataType:'json',
|
||||
async: false,
|
||||
processData: false,
|
||||
contentType: false,
|
||||
cache: false,
|
||||
success: function (returnData, status) {
|
||||
console.log(returnData.result);
|
||||
//alert(returnData.result);
|
||||
if(returnData.result == 'SUCCESS'){
|
||||
|
||||
}else{
|
||||
alert(returnData.message);
|
||||
}
|
||||
},
|
||||
error: function (e) { alert("Export 요청에 실패하였습니다."); console.log("ERROR : ", e); }
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
@ -396,6 +500,16 @@
|
||||
|
||||
</form>
|
||||
|
||||
<form:form id="detailForm" name="detailForm" commandName="DrtVO" onsubmit="return false;" method="post">
|
||||
<input type="hidden" name="adrSeq" id="adrSeq" value="<c:out value='${info.adrSeq}'/>"/>
|
||||
<input type="hidden" name="adrSn" id="adrSn" value="<c:out value='${info.adrSn}'/>"/>
|
||||
<input type="hidden" name="sbmtSeq" id="sbmtSeq" value=""/>
|
||||
<input type="hidden" name="sbmtTy" id="sbmtTy" value=""/>
|
||||
<input type="hidden" name="appSeq" id="appSeq" value="<c:out value='${info.appSeq}'/>"/>
|
||||
<input type="hidden" name="statCd" id="statCd" value="<c:out value='${info.statCd}'/>"/>
|
||||
<input type="hidden" name="closeDocTy" id="closeDocTy" value=""/>
|
||||
</form:form>
|
||||
|
||||
<form id="dlvpop" name="dlvpop" method="post">
|
||||
<input type="hidden" id="adrNo" name="adrNo" value="<c:out value="${info.adrNo}" />" />
|
||||
<input type="hidden" id="adrSn" name="adrSn" value="<c:out value="${info.adrSn }"></c:out>" />
|
||||
|
||||
@ -426,7 +426,6 @@
|
||||
function updtDntApprYn(status
|
||||
, s_adrHstryMgrSeq
|
||||
){
|
||||
alert("function_updtDntApprYn in");
|
||||
var data = new FormData(document.getElementById("detailForm"));
|
||||
data.append("apprYn" ,status);
|
||||
data.append("assHstrySeq" ,s_adrHstryMgrSeq);
|
||||
|
||||
@ -235,10 +235,11 @@
|
||||
}
|
||||
|
||||
//결재 팝업이후 처리 내용
|
||||
function fnc_aprvl_pop_ret(param){
|
||||
//updtDntSbmt(); //SBMT_YN='Y'로 처리
|
||||
fncGoList('list'); //조정진행목록으로
|
||||
}
|
||||
function fnc_aprvl_pop_ret(sbmtSeq, sbmtTy){
|
||||
$('#sbmtSeq').val(sbmtSeq);
|
||||
$('#sbmtTy').val(sbmtTy);
|
||||
fncApprPass();
|
||||
}
|
||||
|
||||
function sendDlvInfoRppl() {
|
||||
var f = document.getElementById("dlvpop");
|
||||
@ -294,6 +295,77 @@
|
||||
|
||||
}
|
||||
|
||||
/* 취하종결통보서 승인요청 후 자동으로 조정부장 결재되도록 처리 */
|
||||
function fncApprPass(){
|
||||
var data = {
|
||||
adrSeq : $("#adrSeq").val(),
|
||||
adrSn : $("#adrSn").val(),
|
||||
sbmtSeq : $("#sbmtSeq").val(),
|
||||
sbmtTy : $("#sbmtTy").val(),
|
||||
sbmtYn : 'Y'
|
||||
}
|
||||
|
||||
var statCd = $('#statCd').val();
|
||||
$.ajax({
|
||||
type: "POST",
|
||||
url: "/web/kccadr/adjcclt/ai/adjstConciliatorApmSave.do",
|
||||
data: JSON.stringify(data),
|
||||
dataType:'json',
|
||||
async: false,
|
||||
processData: false,
|
||||
contentType: "application/json",
|
||||
cache: false,
|
||||
success: function (returnData, status) {
|
||||
if(returnData.result == 'FAIL'){
|
||||
if(returnData.message != ''){
|
||||
alert(returnData.message);
|
||||
}else{
|
||||
alert("처리중 오류가 발생하였습니다.");
|
||||
}
|
||||
}else if(returnData.result == 'SUCCESS'){
|
||||
var s_adrHstryMgrSeq = returnData.adrHstryMgrSeq;
|
||||
|
||||
var exportUrl = "";
|
||||
|
||||
exportUrl = "/kccadr/adjPgrMgr/ent/entOzExportAjax.do";
|
||||
//취하종결 문서 번호 입력
|
||||
$('#closeDocTy').val("50");
|
||||
ozExportReport(exportUrl);
|
||||
// alert("승인되었습니다.");
|
||||
}
|
||||
location.reload();
|
||||
},
|
||||
error: function (e) { alert("저장에 실패하였습니다."); console.log("ERROR : ", e); }
|
||||
});
|
||||
}
|
||||
|
||||
function ozExportReport(exportUrl){
|
||||
|
||||
var data = new FormData(document.getElementById("detailForm"));
|
||||
|
||||
$.ajax({
|
||||
type: "POST",
|
||||
url: exportUrl,
|
||||
data: data,
|
||||
dataType:'json',
|
||||
async: false,
|
||||
processData: false,
|
||||
contentType: false,
|
||||
cache: false,
|
||||
success: function (returnData, status) {
|
||||
console.log(returnData.result);
|
||||
//alert(returnData.result);
|
||||
if(returnData.result == 'SUCCESS'){
|
||||
|
||||
}else{
|
||||
alert(returnData.message);
|
||||
}
|
||||
},
|
||||
error: function (e) { alert("Export 요청에 실패하였습니다."); console.log("ERROR : ", e); }
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
@ -308,6 +380,16 @@
|
||||
|
||||
</form>
|
||||
|
||||
<form:form id="detailForm" name="detailForm" commandName="DrtVO" onsubmit="return false;" method="post">
|
||||
<input type="hidden" name="adrSeq" id="adrSeq" value="<c:out value='${info.adrSeq}'/>"/>
|
||||
<input type="hidden" name="adrSn" id="adrSn" value="<c:out value='${info.adrSn}'/>"/>
|
||||
<input type="hidden" name="sbmtSeq" id="sbmtSeq" value=""/>
|
||||
<input type="hidden" name="sbmtTy" id="sbmtTy" value=""/>
|
||||
<input type="hidden" name="appSeq" id="appSeq" value="<c:out value='${info.appSeq}'/>"/>
|
||||
<input type="hidden" name="statCd" id="statCd" value="<c:out value='${info.statCd}'/>"/>
|
||||
<input type="hidden" name="closeDocTy" id="closeDocTy" value=""/>
|
||||
</form:form>
|
||||
|
||||
<form id="dlvpop" name="dlvpop" method="post">
|
||||
<input type="hidden" id="adrNo" name="adrNo" value="<c:out value="${info.adrNo}" />" />
|
||||
<input type="hidden" id="adrSn" name="adrSn" value="<c:out value="${info.adrSn }" />" />
|
||||
|
||||
Loading…
Reference in New Issue
Block a user