2022-10-26 15:17 워크플로우 수정
This commit is contained in:
parent
ea167076f5
commit
5ef6610bc2
@ -163,6 +163,9 @@ public class AprvlMgrController {
|
|||||||
String s_adrHstryMgrSeq = adrHstryMgrSeqGnrService.getNextStringId();
|
String s_adrHstryMgrSeq = adrHstryMgrSeqGnrService.getNextStringId();
|
||||||
|
|
||||||
|
|
||||||
|
// System.out.println(s_adrHstryMgrSeq);
|
||||||
|
//System.out.println(s_adrHstryMgrSeq);
|
||||||
|
|
||||||
//step.2.조정사건결재에 저장=======================================================================
|
//step.2.조정사건결재에 저장=======================================================================
|
||||||
int i = 0;
|
int i = 0;
|
||||||
//조정사건결재 추가
|
//조정사건결재 추가
|
||||||
@ -177,6 +180,9 @@ public class AprvlMgrController {
|
|||||||
aprvlMgrVO.setSbmtMemTy("20"); //조정부결재구분 10-대부분은 승인, 3개만 20-결재 -201010/202010/309010
|
aprvlMgrVO.setSbmtMemTy("20"); //조정부결재구분 10-대부분은 승인, 3개만 20-결재 -201010/202010/309010
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//System.out.println(aprvlMgrVO.getSbmtTyCd());
|
||||||
|
//System.out.println(aprvlMgrVO.getSbmtTyCd());
|
||||||
|
|
||||||
//조정사건결재 내용 추가해주기
|
//조정사건결재 내용 추가해주기
|
||||||
//이력관리를 위한 adr_hstry_mgr 데이터 관리 추가 - 2022-08-09
|
//이력관리를 위한 adr_hstry_mgr 데이터 관리 추가 - 2022-08-09
|
||||||
i = aprvlMgrService.insertAdrSbmtMgr(aprvlMgrVO
|
i = aprvlMgrService.insertAdrSbmtMgr(aprvlMgrVO
|
||||||
@ -185,6 +191,8 @@ public class AprvlMgrController {
|
|||||||
, s_adrHstryMgrSeq
|
, s_adrHstryMgrSeq
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
//조정부가 있는지 확인 하자.
|
//조정부가 있는지 확인 하자.
|
||||||
aprvlMgrVO = aprvlMgrService.selectDetail(aprvlMgrVO);
|
aprvlMgrVO = aprvlMgrService.selectDetail(aprvlMgrVO);
|
||||||
|
|
||||||
|
|||||||
@ -179,10 +179,13 @@ $(document).ready(function(){
|
|||||||
function fnc_aprvl_step_1(p_param, p_seq_1, p_seq_2) {
|
function fnc_aprvl_step_1(p_param, p_seq_1, p_seq_2) {
|
||||||
|
|
||||||
if(confirm('결재요청 하시겠습니까?')){
|
if(confirm('결재요청 하시겠습니까?')){
|
||||||
|
var pop = document.pop;
|
||||||
|
pop.sbmtTyCd.value=p_param;
|
||||||
|
|
||||||
//adr_seq, adr_sn + 하기 sbmtTy, sbmtTyCd 값 4개 필수입니다.
|
//adr_seq, adr_sn + 하기 sbmtTy, sbmtTyCd 값 4개 필수입니다.
|
||||||
var data = new FormData(document.getElementById("pop"));
|
var data = new FormData(document.getElementById("pop"));
|
||||||
data.append("sbmtTy", p_param);
|
data.append("sbmtTy", p_param);
|
||||||
data.append("sbmtTyCd", p_param);
|
//data.append("sbmtTyCd", p_param);
|
||||||
|
|
||||||
data.append("refSeq1", p_seq_1); //이력처리 대상 테이블의 조정일련번호, 조정회차 이외의 첫번째 pk값1(없으면 생략)
|
data.append("refSeq1", p_seq_1); //이력처리 대상 테이블의 조정일련번호, 조정회차 이외의 첫번째 pk값1(없으면 생략)
|
||||||
data.append("refSeq2", p_seq_2); //이력처리 대상 테이블의 조정일련번호, 조정회차 이외의 두번째 pk값2(없으면 생략)
|
data.append("refSeq2", p_seq_2); //이력처리 대상 테이블의 조정일련번호, 조정회차 이외의 두번째 pk값2(없으면 생략)
|
||||||
@ -219,6 +222,9 @@ $(document).ready(function(){
|
|||||||
//결재선이 없는 경우 이력 남기는 방법
|
//결재선이 없는 경우 이력 남기는 방법
|
||||||
function fnc_his_step_1(p_param, p_seq_1, p_seq_2) {
|
function fnc_his_step_1(p_param, p_seq_1, p_seq_2) {
|
||||||
|
|
||||||
|
var pop = document.pop;
|
||||||
|
pop.sbmtTyCd.value=p_param;
|
||||||
|
|
||||||
//adr_seq, adr_sn + 하기 sbmtTy, sbmtTyCd 값 4개 필수입니다.
|
//adr_seq, adr_sn + 하기 sbmtTy, sbmtTyCd 값 4개 필수입니다.
|
||||||
var data = new FormData(document.getElementById("pop"));
|
var data = new FormData(document.getElementById("pop"));
|
||||||
data.append("sbmtTy", p_param);
|
data.append("sbmtTy", p_param);
|
||||||
|
|||||||
@ -20,7 +20,7 @@
|
|||||||
|
|
||||||
function fncCancelDo(p_a, p_b){
|
function fncCancelDo(p_a, p_b){
|
||||||
|
|
||||||
var message = "해당 상태를 포함하여 이후 단계를 모두 취소 처리합니다.\n관련데이터는 모두 삭제처리 됩니다.\n(삭제된 데이터는 복구할수 없습니다.)\n\n진행합니까?";
|
var message = "해당 상태를 포함하여 이후 단계를 모두 되돌리기 처리합니다.\n관련데이터는 모두 삭제처리 됩니다.\n(삭제된 데이터는 복구할수 없습니다.)\n\n진행합니까?";
|
||||||
|
|
||||||
// alert(p_a);
|
// alert(p_a);
|
||||||
|
|
||||||
@ -54,11 +54,11 @@ function fncCancelDo(p_a, p_b){
|
|||||||
}
|
}
|
||||||
|
|
||||||
if(result == 'fail'){
|
if(result == 'fail'){
|
||||||
alert("취소중 오류가 발생하였습니다.");
|
alert("되돌리기중 오류가 발생하였습니다.");
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
}else{
|
}else{
|
||||||
alert("취소 처리가 완료되었습니다.");
|
alert("되돌리기 처리가 완료되었습니다.");
|
||||||
location.reload();
|
location.reload();
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
@ -209,7 +209,7 @@ function fncCancelDo(p_a, p_b){
|
|||||||
<p>
|
<p>
|
||||||
<c:if test="${fn:length(list.menuId) eq 6}">
|
<c:if test="${fn:length(list.menuId) eq 6}">
|
||||||
<c:if test="${list.menuId*1 gt 200000 and list.menuId*1 ne 201090}">
|
<c:if test="${list.menuId*1 gt 200000 and list.menuId*1 ne 201090}">
|
||||||
<a href="javascript:fncCancelDo('${list.adrSeq}','${list.adrHstryMgrSeq}');">취소</a>
|
<a href="javascript:fncCancelDo('${list.adrSeq}','${list.adrHstryMgrSeq}');">되돌리기</a>
|
||||||
</c:if>
|
</c:if>
|
||||||
</c:if>
|
</c:if>
|
||||||
|
|
||||||
|
|||||||
@ -1138,7 +1138,10 @@
|
|||||||
|
|
||||||
<div class="btn_wrap btn_layout01">
|
<div class="btn_wrap btn_layout01">
|
||||||
<div class="area_left">
|
<div class="area_left">
|
||||||
|
<%-- 대결버튼은 현재 결재자 이거나 최고관리자인 경우만 나타나게 --%>
|
||||||
|
<c:if test="${fn:indexOf(info.targetId, LoginVO.uniqId) ne -1 or auth eq 'ROLE_ADMIN'}">
|
||||||
|
<button type="button" class="btnType02" onclick="fnc_sbstt_aprvl_pop('${info.step}'); return false;">대결</button>
|
||||||
|
</c:if>
|
||||||
<%-- 취하종결 상세보기 --%>
|
<%-- 취하종결 상세보기 --%>
|
||||||
<%-- <c:if test="${(info.statCd gt KccadrConstants.ADR_DEPT_SLCT_RETN
|
<%-- <c:if test="${(info.statCd gt KccadrConstants.ADR_DEPT_SLCT_RETN
|
||||||
&& info.statCd le KccadrConstants.ADR_CLOSE_APPR_REQ)
|
&& info.statCd le KccadrConstants.ADR_CLOSE_APPR_REQ)
|
||||||
|
|||||||
@ -15,7 +15,29 @@
|
|||||||
<meta http-equiv="content-type" content="text/html; charset=utf-8">
|
<meta http-equiv="content-type" content="text/html; charset=utf-8">
|
||||||
<script src="/kccadrPb/usr/script/popup.js"></script>
|
<script src="/kccadrPb/usr/script/popup.js"></script>
|
||||||
<script type="text/javaScript" language="javascript">
|
<script type="text/javaScript" language="javascript">
|
||||||
|
$( document ).ready(function(){
|
||||||
|
tabPageLoad(0);
|
||||||
|
});
|
||||||
|
|
||||||
|
function tabPageLoad(idx){
|
||||||
|
var url = getPageUrl(idx);
|
||||||
|
$('#tabContent').load(
|
||||||
|
url
|
||||||
|
, {"adrSeq" : $("#adrSeq").val(), "adrSn" :$("#adrSn").val()}
|
||||||
|
, function(res, status, xhr){
|
||||||
|
console.log(status);
|
||||||
|
|
||||||
|
$('#tabContent div.btn_layout03').hide();
|
||||||
|
});
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
function getPageUrl(idx){
|
||||||
|
switch (idx) {
|
||||||
|
case 1 : return '/web/kccadr/adjcclt/tab/adjstConciliatorTabDocs.do';
|
||||||
|
default: return '/web/kccadr/adjcclt/tab/adjstConciliatorTabInfo.do';
|
||||||
|
}
|
||||||
|
}
|
||||||
function fncGoList(){
|
function fncGoList(){
|
||||||
var listForm = document.listForm ;
|
var listForm = document.listForm ;
|
||||||
listForm.action = "<c:url value='/web/kccadr/adjcclt/ai/adjstConciliatorApmList.do'/>";
|
listForm.action = "<c:url value='/web/kccadr/adjcclt/ai/adjstConciliatorApmList.do'/>";
|
||||||
@ -330,6 +352,10 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<!-- //하단 버튼 -->
|
<!-- //하단 버튼 -->
|
||||||
|
|
||||||
|
<div id="tabContent" class="tab_cont on">
|
||||||
|
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
|
|||||||
@ -27,7 +27,7 @@
|
|||||||
<li>
|
<li>
|
||||||
<p id="302010">1차 기일 개최<img src="/kccadrPb/usr/image/workflow/nexticon4.png" alt="다음" class="nexticon_4"></p><img src="/kccadrPb/usr/image/workflow/nexticon3.png" alt="다음" class="nexticon_3">
|
<p id="302010">1차 기일 개최<img src="/kccadrPb/usr/image/workflow/nexticon4.png" alt="다음" class="nexticon_4"></p><img src="/kccadrPb/usr/image/workflow/nexticon3.png" alt="다음" class="nexticon_3">
|
||||||
<ul class="work_4">
|
<ul class="work_4">
|
||||||
<li><p>조정성립</p></li>
|
<li id="309050"><p>조정성립</p></li>
|
||||||
<li><p>직권조정<img src="/kccadrPb/usr/image/workflow/nexticon5.png" alt="다음" class="nexticon_5"></p>
|
<li><p>직권조정<img src="/kccadrPb/usr/image/workflow/nexticon5.png" alt="다음" class="nexticon_5"></p>
|
||||||
<ul class="work_5">
|
<ul class="work_5">
|
||||||
<li><p>이의신청</p></li>
|
<li><p>이의신청</p></li>
|
||||||
@ -35,7 +35,7 @@
|
|||||||
</li>
|
</li>
|
||||||
<li id="303050"><p>조정권고</p></li>
|
<li id="303050"><p>조정권고</p></li>
|
||||||
<li><p>쌍방수락여부 확인</p></li>
|
<li><p>쌍방수락여부 확인</p></li>
|
||||||
<li id="309050"><p>불성립종결</p></li>
|
<li id="307050"><p>불성립종결</p></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user