2022-11-28 19:38 워프플로우 n차 기일 개최 수정

This commit is contained in:
myname 2022-11-28 19:39:18 +09:00
parent 7020888865
commit c6455102f8
5 changed files with 92 additions and 22 deletions

View File

@ -717,6 +717,25 @@ $(document).ready(function(){
</script>
</c:if>
<!-- 추가기일 개최-->
<c:if test="${info.adrSn gt 1}">
<script>
//<!-- 조정진행워크플로우 현재 상태 체크 -->
$("#302012").addClass("status01");
</script>
</c:if>
<c:if test="${info.adrSn gt 2}">
<script>
//<!-- 조정진행워크플로우 현재 상태 체크 -->
$("#302013").addClass("status01");
</script>
</c:if>
<c:if test="${info.adrSn gt 3}">
<script>
//<!-- 조정진행워크플로우 현재 상태 체크 -->
$("#302014").addClass("status01");
</script>
</c:if>
</c:if>
<!-- 워크플로우용 스크립트 끝 -->

View File

@ -58,8 +58,46 @@
//btn_wrap btn_layout05
});
tabPageLoad_workflow(0);
});
function tabPageLoad_workflow(idx) {
var url = getPageUrl_workflow(idx);
$('#tabContent_workflow').load(url, {
"adrSeq" : $("#adrSeq").val(),
"adrSn" : $("#adrSn").val()
/*,
"reqOlCd" : $("#reqOlCd").val()
*/
}, function(res, status, xhr) {
console.log(status);
//$('.tab_cont .tbType02').find('button').remove('button');
//$('.tab_cont .btn_wrap .area_left').find('button').remove('button');
//$('.tab_cont .btn_layout05').find('button').remove('button');
//$('.tab_cont .tb_tit').find('button').remove('button');
//btn_wrap btn_layout05
});
}
function getPageUrl_workflow(idx) {
console.log('idx : ', idx);
switch (idx) {
default: return '/web/kccadr/accdnt/ars/tab/adjstReqStatusTabDetail_in_workflow.do';
/*
case 0:
return '/kccadr/adjPgrMgr/apm/apmTab0_in_workflow.do';
case 1:
return '/kccadr/adjPgrMgr/apm/apmTab1.do';
case 2:
return '/kccadr/adjPgrMgr/apm/apmTab2.do';
*/
}
}
//권한 체크 결과값으로 후속처리
function admin_fn_check_authority_ret(p_param){
//alert(p_param); //리턴값으로 상세 권한 체크시 사용 "" 또는 CUD 또는 CUDP
@ -116,10 +154,13 @@
}else{
alert("처리중 오류가 발생하였습니다.");
}
location.reload();
}else if(returnData.result == 'SUCCESS'){
alert("승인되었습니다.");
fncGoList();
}
location.reload();
},
error: function (e) { alert("저장에 실패하였습니다."); console.log("ERROR : ", e); }
});
@ -1227,24 +1268,12 @@
</div>
</div>
<div id="tabContent_workflow" class="tab_cont on">
</div>
</div>
<!-- 조정진행 상세 import -->
<div class="cont_tit">
<h2>조정진행상세</h2>
</div>
<!-- //cont_tit -->
<div class="cont">
<div id="tabNav" class="tab_btn tab03">
<button type="button" class="tab on" style="width: calc((100% + 3px) / 2);">사건일반</button>
<button type="button" class="tab " style="width: calc((100% + 3px) / 2);">사건문서</button>
<!-- <button class="tab ">진행정보</button> -->
</div>
<div id="tabContent" class="tab_cont on"></div>
</div>
</div>
</div>
</form:form>

View File

@ -125,10 +125,12 @@ function getPageUrl(idx) {
}else{
alert("처리중 오류가 발생하였습니다.");
}
location.reload();
}else if(returnData.result == 'SUCCESS'){
alert("승인되었습니다.");
fncGoList();
}
location.reload();
},
error: function (e) { alert("저장에 실패하였습니다."); console.log("ERROR : ", e); }
});

View File

@ -240,7 +240,27 @@
//<!-- 조정진행워크플로우 현재 상태 체크 -->
$("#3070").addClass("status02");
</script>
</c:if>
</c:if>
<!-- 추가기일 개최-->
<c:if test="${info.adrSn gt 1}">
<script>
//<!-- 조정진행워크플로우 현재 상태 체크 -->
$("#302012").addClass("status01");
</script>
</c:if>
<c:if test="${info.adrSn gt 2}">
<script>
//<!-- 조정진행워크플로우 현재 상태 체크 -->
$("#302013").addClass("status01");
</script>
</c:if>
<c:if test="${info.adrSn gt 3}">
<script>
//<!-- 조정진행워크플로우 현재 상태 체크 -->
$("#302014").addClass("status01");
</script>
</c:if>
</c:if>
<!-- 워크플로우용 스크립트 끝 -->

View File

@ -39,10 +39,10 @@
</ul>
</li>
<li>
<p>2차 기일 개최</p><img src="/kccadrPb/usr/image/workflow/nexticon3.png" alt="다음" class="nexticon_3">
<p id="302012">2차 기일 개최</p><img src="/kccadrPb/usr/image/workflow/nexticon3.png" alt="다음" class="nexticon_3">
</li>
<li><p>3차 기일 개최</p><img src="/kccadrPb/usr/image/workflow/nexticon3.png" alt="다음" class="nexticon_3"></li>
<li><p>4차 기일 개최</p></li>
<li><p id="302013">3차 기일 개최</p><img src="/kccadrPb/usr/image/workflow/nexticon3.png" alt="다음" class="nexticon_3"></li>
<li><p id="302014">4차 기일 개최</p></li>
</ul>
</li>
<li style="position: absolute; top: 146px" id="204050"><p>기일변경</p></li>