2022-12-26 12:41 관리자 단권화 버튼 내용 수정
This commit is contained in:
parent
e5b1d04cfd
commit
63b919a468
@ -783,8 +783,9 @@ $(document).ready(function(){
|
||||
<div class="tab_cont on">
|
||||
<div class="btn_wrap btn_layout05">
|
||||
|
||||
|
||||
<!--
|
||||
/${passMenuId }/(new button-코드 삭제 예정임/${info.statCd}/)
|
||||
-->
|
||||
|
||||
<div class="btn_left_box">
|
||||
<c:choose>
|
||||
|
||||
@ -188,6 +188,14 @@
|
||||
* */
|
||||
function fn_remake_streamDocs(){
|
||||
|
||||
$("#remakeDocs").html("재 단권화 처리중...");
|
||||
$("#remakeDocs").html("단권화 처리중...");
|
||||
//alert(document.getElementById("fn_remake_streamDocs_id"));
|
||||
//document.getElementById("fn_remake_streamDocs_id").innerHTML = '처리중...';
|
||||
$("#fn_remake_streamDocs_id").hide();
|
||||
|
||||
//return;
|
||||
alert("재단권화 진행합니다.");
|
||||
|
||||
var data = {
|
||||
"adrSeq": $('#adrSeq').val()
|
||||
@ -201,7 +209,7 @@
|
||||
url: "<c:url value='/kccadr/common/remakeStreamDocAjax.do' />",
|
||||
data: JSON.stringify(data),
|
||||
dataType:'json',
|
||||
async: false,
|
||||
async: true,
|
||||
processData: false,
|
||||
contentType: "application/json",
|
||||
cache: false,
|
||||
@ -241,9 +249,9 @@
|
||||
success: function (returnData) {
|
||||
console.log('returnData : ', returnData);
|
||||
|
||||
if(returnData.status == "OK"){
|
||||
//$("#remakeDocs div").html("<br/>step1.조정신청서 생성");
|
||||
$("#remakeDocs div").html("<br/>step1.조정신청서 생성");
|
||||
if(returnData.status == "OK"){
|
||||
$("#remakeDocs").html("<br/>step1.조정신청서 생성");
|
||||
//$("#remakeDocs").append("<br/>step1.조정신청서 생성");
|
||||
fn_remake_streamDocs_STEP2_205050(p_data);
|
||||
}else{
|
||||
alert(returnData.data);
|
||||
@ -273,7 +281,7 @@
|
||||
console.log('returnData : ', returnData);
|
||||
|
||||
if(returnData.status == "OK"){
|
||||
$("#remakeDocs div").append("<br/>step2.기일통지서 생성");
|
||||
$("#remakeDocs").append("<br/>step2.기일통지서 생성");
|
||||
fn_remake_streamDocs_STEP3_302050(p_data);
|
||||
}else{
|
||||
alert(returnData.data);
|
||||
@ -303,7 +311,7 @@
|
||||
console.log('returnData : ', returnData);
|
||||
|
||||
if(returnData.status == "OK"){
|
||||
$("#remakeDocs div").append("<br/>step3.기일조서 생성");
|
||||
$("#remakeDocs").append("<br/>step3.기일조서 생성");
|
||||
fn_remake_streamDocs_STEP4_304050(p_data);
|
||||
}else{
|
||||
alert(returnData.data);
|
||||
@ -333,7 +341,7 @@
|
||||
console.log('returnData : ', returnData);
|
||||
|
||||
if(returnData.status == "OK"){
|
||||
$("#remakeDocs div").append("<br/>step4.조정조서 생성");
|
||||
$("#remakeDocs").append("<br/>step4.조정조서 생성");
|
||||
fn_remake_streamDocs_STEP5_307050(p_data);
|
||||
}else{
|
||||
alert(returnData.data);
|
||||
@ -370,10 +378,10 @@
|
||||
console.log('returnData : ', returnData);
|
||||
|
||||
if(returnData.status == "OK"){
|
||||
$("#remakeDocs div").append("<br/>step5.불성립 종결 통보서 생성");
|
||||
$("#remakeDocs").append("<br/>step5.불성립 종결 통보서 생성");
|
||||
fn_remake_streamDocs_STEP6_306050(p_data);
|
||||
}else if(returnData.status == "SKIP"){
|
||||
$("#remakeDocs div").append("<br/>step5.불성립 종결 통보서 SKIP");
|
||||
$("#remakeDocs").append("<br/>step5.불성립 종결 통보서 SKIP");
|
||||
fn_remake_streamDocs_STEP6_306050(p_data);
|
||||
}else{
|
||||
alert(returnData.data);
|
||||
@ -410,10 +418,10 @@
|
||||
console.log('returnData : ', returnData);
|
||||
|
||||
if(returnData.status == "OK"){
|
||||
$("#remakeDocs div").append("<br/>step6.직권조정결정서 생성");
|
||||
$("#remakeDocs").append("<br/>step6.직권조정결정서 생성");
|
||||
fn_remake_streamDocs_STEP7_A500(p_data);
|
||||
}else if(returnData.status == "SKIP"){
|
||||
$("#remakeDocs div").append("<br/>step6.직권조정결정서 SKIP");
|
||||
$("#remakeDocs").append("<br/>step6.직권조정결정서 SKIP");
|
||||
fn_remake_streamDocs_STEP7_A500(p_data);
|
||||
}else{
|
||||
alert(returnData.data);
|
||||
@ -449,10 +457,10 @@
|
||||
console.log('returnData : ', returnData);
|
||||
|
||||
if(returnData.status == "OK"){
|
||||
$("#remakeDocs div").append("<br/>step7.확정증명원 생성");
|
||||
$("#remakeDocs").append("<br/>step7.확정증명원 생성");
|
||||
fn_remake_streamDocs_STEP8_305050(p_data);
|
||||
}else if(returnData.status == "SKIP"){
|
||||
$("#remakeDocs div").append("<br/>step7.확정증명원 SKIP");
|
||||
$("#remakeDocs").append("<br/>step7.확정증명원 SKIP");
|
||||
fn_remake_streamDocs_STEP8_305050(p_data);
|
||||
}else{
|
||||
alert(returnData.data);
|
||||
@ -489,10 +497,10 @@
|
||||
console.log('returnData : ', returnData);
|
||||
|
||||
if(returnData.status == "OK"){
|
||||
$("#remakeDocs div").append("<br/>step8.취하종결통보서 생성");
|
||||
$("#remakeDocs").append("<br/>step8.취하종결통보서 생성");
|
||||
fn_remake_streamDocs_STEP9_303050(p_data);
|
||||
}else if(returnData.status == "SKIP"){
|
||||
$("#remakeDocs div").append("<br/>step8.취하종결통보서 SKIP");
|
||||
$("#remakeDocs").append("<br/>step8.취하종결통보서 SKIP");
|
||||
fn_remake_streamDocs_STEP9_303050(p_data);
|
||||
}else{
|
||||
alert(returnData.data);
|
||||
@ -529,10 +537,10 @@
|
||||
console.log('returnData : ', returnData);
|
||||
|
||||
if(returnData.status == "OK"){
|
||||
$("#remakeDocs div").append("<br/>step9.조정권고안 생성");
|
||||
$("#remakeDocs").append("<br/>step9.조정권고안 생성");
|
||||
fn_remake_streamDocs_STEP10_A250(p_data);
|
||||
}else if(returnData.status == "SKIP"){
|
||||
$("#remakeDocs div").append("<br/>step9.조정권고안 SKIP");
|
||||
$("#remakeDocs").append("<br/>step9.조정권고안 SKIP");
|
||||
fn_remake_streamDocs_STEP10_A250(p_data);
|
||||
}else{
|
||||
alert(returnData.data);
|
||||
@ -569,10 +577,10 @@
|
||||
console.log('returnData : ', returnData);
|
||||
|
||||
if(returnData.status == "OK"){
|
||||
$("#remakeDocs div").append("<br/>step10.경정신청서 생성");
|
||||
$("#remakeDocs").append("<br/>step10.경정신청서 생성");
|
||||
fn_remake_streamDocs_MIX(p_data);
|
||||
}else if(returnData.status == "SKIP"){
|
||||
$("#remakeDocs div").append("<br/>step10.경정신청서 SKIP");
|
||||
$("#remakeDocs").append("<br/>step10.경정신청서 SKIP");
|
||||
fn_remake_streamDocs_MIX(p_data);
|
||||
//fn_remake_streamDocs_STEP10_A250(p_data);
|
||||
}else{
|
||||
@ -615,21 +623,27 @@
|
||||
console.log('returnData : ', returnData);
|
||||
|
||||
if(returnData.status == "OK"){
|
||||
//$("#remakeDocs div").append("<br/>step10.경정신청서 생성");
|
||||
//$("#remakeDocs").append("<br/>step10.경정신청서 생성");
|
||||
//fn_remake_streamDocs_STEP10_A250(p_data);
|
||||
alert("OK");
|
||||
$("#remakeDocs").append("<br/>종결 문건 재단권화 처리 완료되었습니다");
|
||||
$("#remakeDocs").html("<br/>단권화 처리 완료되었습니다");
|
||||
}else if(returnData.status == "SKIP"){
|
||||
//$("#remakeDocs div").append("<br/>step10.경정신청서 SKIP");
|
||||
//$("#remakeDocs").append("<br/>step10.경정신청서 SKIP");
|
||||
//fn_remake_streamDocs_STEP10_A250(p_data);
|
||||
alert("SKIP");
|
||||
$("#remakeDocs").append("<br/>종결 문건 재단권화 처리 중 오류가 발생하였습니다.(S)");
|
||||
$("#remakeDocs").html("<br/>종결 문건 재단권화 처리 중 오류가 발생하였습니다.(S)");
|
||||
}else{
|
||||
//alert(returnData.data);
|
||||
//return false;
|
||||
alert("ELSE");
|
||||
$("#remakeDocs").append("<br/>종결 문건 재단권화 처리 중 오류가 발생하였습니다.(E)");
|
||||
$("#remakeDocs").html("<br/>종결 문건 재단권화 처리 중 오류가 발생하였습니다.(E)");
|
||||
}
|
||||
|
||||
//alert(returnData.data);
|
||||
alert("종결 문건 재단권화 처리 완료되었습니다.");
|
||||
//alert("종결 문건 재단권화 처리 완료되었습니다.");
|
||||
},
|
||||
error: function (e) { alert("저장에 실패하였습니다."); console.log("ERROR : ", e); }
|
||||
});
|
||||
@ -847,31 +861,27 @@
|
||||
</table>
|
||||
</div>
|
||||
<!-- //list_상세 -->
|
||||
<div class="btn_wrap btn_layout03">
|
||||
<div class="area_left">
|
||||
<div class="btn_wrap btn_layout05" style="margin-top:30px;">
|
||||
<div class="btn_left_box">
|
||||
<%-- <button type="button" class="btnType02" onclick="fnc_view_step_1_popup(); return false;">문서보기</button> --%>
|
||||
<button type="button" class="btnType02" onclick="fnc_view_download_step_1(); return false;">선택다운로드</button>
|
||||
<%-- <button type="button" class="btnType02" onclick="fncDocRegPopup(); return false;">답변서 등록</button> --%>
|
||||
<button type="button" class="btnType02" onclick="fncDocRegPopup(); return false;">문서 등록</button>
|
||||
<button type="button" class="btnType02" onclick="fn_reg_streamDocs(); return false;">종결 문건 단권화파일 다운로드</button>
|
||||
<button type="button" class="btnType02" onclick="fn_reg_streamDocs(); return false;">종결 문건 단권화파일 보기</button>
|
||||
<!-- <button type="button" class="btnType02" onclick="fnc_is_prcs_finish(); return false;">종결 문건 단권화파일 다운로드</button> -->
|
||||
</div>
|
||||
<div class="area_right">
|
||||
<div class="btn_right_box">
|
||||
<!-- <button type="button" class="btnType02" onclick="fnc_is_prcs_finish(); return false;">종결 문건 단권화파일 다운로드</button> -->
|
||||
<!-- <button type="button" class="btnType02" onclick="fn_remake_streamDocs(); return false;">종결 문건 재단권화</button> -->
|
||||
<button id="fn_remake_streamDocs_id" type="button" class="btnType02" onclick="fn_remake_streamDocs(); return false;">종결 문건 재단권화</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="btn_wrap btn_layout01" style="width:120%;">
|
||||
<div class="area_right">
|
||||
<!-- <button type="button" class="btnType02" onclick="fnc_is_prcs_finish(); return false;">종결 문건 단권화파일 다운로드</button> -->
|
||||
<button type="button" class="btnType02" onclick="fn_remake_streamDocs(); return false;">종결 문건 재단권화</button>
|
||||
<div class="btn_wrap btn_layout01">
|
||||
<div class="btn_left_box">
|
||||
</div>
|
||||
</div>
|
||||
<div class="btn_wrap btn_layout01" style="width:120%;" id="remakeDocs">
|
||||
<div class="area_right">
|
||||
|
||||
<div class="btn_right_box" id="remakeDocs">
|
||||
</div>
|
||||
</div>
|
||||
</form:form>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user