2022-11-07 11:57 내부결재 추가 작업

This commit is contained in:
myname 2022-11-07 11:58:08 +09:00
parent d22256ff87
commit 0c088d6ab6
10 changed files with 105 additions and 15 deletions

View File

@ -328,6 +328,11 @@ $(document).ready(function(){
}
}
//결재 팝업 이후 처리내용
function fnc_aprvl_pop_ret(param){
location.reload();
}
/* 워크플로우 */
$(function(){
$(".work_flow_wrap .btn_open").click(function(){
@ -469,8 +474,9 @@ $(document).ready(function(){
<!-- 접수결재 요청은 조정접수(10105) 또는 접수결재반려(201090) 후 노출 -->
<c:if test="${info.statCd== KccadrConstants.ADR_RCPT_COMP || info.statCd== KccadrConstants.ADR_RCPT_APPR_RETN}">
<!-- <button type="button" class="btnType02" onclick="fncApp()">접수결재요청</button> -->
<button type="button" class="btnType02" onclick="fnc_aprvl_pop('201010');">접수결재요청(새로운결재선)</button>
<button type="button" class="btnType02" onclick="fnc_aprvl_step_1('201010');">접수결재요청(개발용)</button>
<button type="button" class="btnType02" onclick="fnc_aprvl_pop('201010');">접수결재요청</button>
<!-- <button type="button" class="btnType02" onclick="fnc_aprvl_pop('201010');">접수결재요청(고도화)</button> -->
<!-- <button type="button" class="btnType02" onclick="fnc_aprvl_step_1('201010');">접수결재요청(개발용)</button> -->
</c:if>
<!-- 조정부 지정은 조정접수결재완료후 노출 접수완료 또는 조정부 반려인경우만.-->
<c:if test="${info.statCd== KccadrConstants.ADR_RCPT_APPR_COMP || info.statCd== KccadrConstants.ADR_DEPT_SLCT_RETN}">
@ -481,8 +487,9 @@ $(document).ready(function(){
</c:when>
<c:otherwise>
<button type="button" class="btnType02" onclick="fncGo('dtb/dtbDetail.do')">조정부상세</button>
<button type="button" class="btnType02" onclick="fnc_aprvl_step_1('202010');">배당결재요청</button>
<button type="button" class="btnType02" onclick="fnc_aprvl_pop('202010');">배당결재요청(새로운결재선)</button>
<button type="button" class="btnType02" onclick="fnc_aprvl_pop('202010');">배당결재요청</button>
<!-- <button type="button" class="btnType02" onclick="fnc_aprvl_step_1('202010');">배당결재요청</button> -->
<!-- <button type="button" class="btnType02" onclick="fnc_aprvl_pop('202010');">배당결재요청(새로운결재선)</button> -->
</c:otherwise>
</c:choose>
</c:if>
@ -575,6 +582,15 @@ $(document).ready(function(){
</c:if>
<!-- 기일조서 -->
기일조서
<br/>${KccadrConstants.ADR_APP_NTC_APPR }
<br/>${info.statCd }
<br/>${KccadrConstants.ADR_CNCLTBS_APPR_REQ}
<br/>${KccadrConstants.ADR_CNCLTBS_RETN}
<br/>${KccadrConstants.ADR_APP_CHG_APPR}
<br/>/${apmChgDateList}/1
<br/>/${drtInfo}/2
<!-- 기일변경승인(204050) 또는 기일승인(204050) 인 경우는 기일변경 내용보기 버튼, 취하종결(305010~305090)은 상시 프로세스이므로 제외-->
<c:if test="${(info.statCd== KccadrConstants.ADR_APP_NTC_APPR
|| fn:indexOf(info.statCd,'30') > -1)
@ -599,7 +615,7 @@ $(document).ready(function(){
}"> --%>
<!-- (기존 기일조서값이 없으면 등록, 있으면 기일조서수정) -->
<c:choose>
<c:when test="${empty info.prtclSeq }">
<c:when test="${empty info.prtclSeq }"><!-- 기일조서 -->
<button type="button" class="btnType02" onclick="fncGo('drt/drtReg.do')">기일조서</button>
<!-- <button type="button" class="btnType02" onclick="fncGo('dnt/dntAddReg.do')"> 기일추가</button> -->
</c:when>

View File

@ -256,6 +256,11 @@
}
}
//결재 팝업이후 처리 내용
function fnc_aprvl_pop_ret(param){
fncGoList(); //조정진행목록으로
}
function fncPrint() {
var form = document.listForm;
@ -654,8 +659,9 @@
|| info.statCd== KccadrConstants.ADR_APP_NTC_RETN
|| info.statCd== KccadrConstants.ADR_APP_ADD
|| info.statCd== KccadrConstants.ADR_APP_CHG_APPR}">
<button type="button" class="btnType02" onclick="fnc_aprvl_step_1('205010');">기일통지서 승인 요청</button>
<button type="button" class="btnType02" onclick="fnc_aprvl_pop('205010');">기일통지서 승인 요청(새로운결재선)</button>
<!-- <button type="button" class="btnType02" onclick="fnc_aprvl_step_1('205010');">기일통지서 승인 요청</button> -->
<!-- <button type="button" class="btnType02" onclick="fnc_aprvl_pop('205010');">기일통지서 승인 요청(새로운결재선)</button> -->
<button type="button" class="btnType02" onclick="fnc_aprvl_pop('205010');">기일통지서 승인 요청</button>
<!-- <button type="button" class="btnType06" onclick="fncDel()">삭제</button> -->
<!-- <button type="button" class="btnType06" onclick="fncUpd()">수정</button> -->
</c:if>

View File

@ -206,9 +206,63 @@
error: function (e) { alert("요청에 실패하였습니다."); console.log("ERROR : ", e); }
});
}
function fnc_aprvl_pop(param){
var pop = document.pop;
pop.sbmtTyCd.value=param;
//commonPopWindowopenForm("/kccadr/adjReqMgOff/popup/adjReqMgrOffAppReqPop.do", '1000', '700', "entInfoPop", $('#pop'));
if (param=='201010'){ //20, 30, 40
commonPopWindowopenForm("/kccadr/advcAprvl/popup/advcAprvlReqPop.do", '1000', '700', "entInfoPop", $('#pop'));
//commonPopWindowopenForm("/kccadr/advcAprvl/popup/advcAprvlReqPop502030.do", '1000', '700', "entInfoPop502030", $('#pop'));
}else if (param=='202010'){ //30
commonPopWindowopenForm("/kccadr/advcAprvl/popup/advcAprvlReqPop30.do", '1000', '700', "entInfoPop30", $('#pop'));
}else if (param=='204010'
|| param=='205010'
|| param=='302010'
|| param=='303010'
|| param=='304010'
|| param=='305010'
|| param=='306010'
|| param=='307010'
){ //50
//204010, 307010, 305010, 304010, 303010, 306010, 302010, 205010
commonPopWindowopenForm("/kccadr/advcAprvl/popup/advcAprvlReqPop50.do", '1000', '700', "entInfoPop50", $('#pop'));
}else if (param=='309010'){ //50, 20, 30
commonPopWindowopenForm("/kccadr/advcAprvl/popup/advcAprvlReqPop502030.do", '1000', '700', "entInfoPop502030", $('#pop'));
}
}
//결재 팝업이후 처리 내용
function fnc_aprvl_pop_ret(param){
fncGoList('list'); //조정진행목록으로
}
</script>
</head>
<body>
<form id="pop" name="pop" method="post">
<input type="hidden" id="adrSeq" name="adrSeq" value="<c:out value="${info.adrSeq}" />" />
<input type="hidden" id="adrSn" name="adrSn" value="<c:out value="${info.adrSn}" />" />
<input type="hidden" id="adrNo" name="adrNo" value="<c:out value="${info.adrNo}" />" />
<input type="hidden" id="rpplTy" name="rpplTy" />
<input type="hidden" id="adrEndDeDay" name="adrEndDeDay" value="<c:out value="${info.adrEndDeDay}" />" />
<input type="hidden" id="appSeq" name="appSeq" value="<c:out value="${info.appSeq}" />" />
<input type="hidden" id="closeDocTy" name="closeDocTy" />
<input type="hidden" id="adrAvoidSeq" name="adrAvoidSeq" value="<c:out value="${info.adrAvoidSeq}" />" />
<input type="hidden" id="agntSeq" name="agntSeq" value="<c:out value="${info.agntSeq}" />" />
<%-- <input type="hidden" id="adrMaxSn" name="adrMaxSn" value="<c:out value="${adrMaxSn}" />" /> --%>
<input type="hidden" id="rpplSeq" name="rpplSeq" value=""/>
<!-- 고도화로 추가됨 -->
<input type="hidden" id="sbmtTyCd" name="sbmtTyCd" value=""/>
</form>
<form id="approval" name="approval" method="post">
<input type="hidden" id="adrSeq" name="adrSeq" value="<c:out value="${info.adrSeq }"></c:out>" />
<input type="hidden" id="adrSn" name="adrSn" value="<c:out value="${info.adrSn }"></c:out>" />
@ -336,7 +390,8 @@
<div class="area_left" style="width: 350px;"></div>
<div class="area_right">
<c:if test="${info.statCd== KccadrConstants.ADR_RCPT_APPR_COMP}">
<button type="button" class="btnType02" onclick="fnc_aprvl_step_1('202010');">배당결재요청</button>
<!-- <button type="button" class="btnType02" onclick="fnc_aprvl_step_1('202010');">배당결재요청</button> -->
<button type="button" class="btnType02" onclick="fnc_aprvl_pop('202010');">배당결재요청</button>
</c:if>
<button class="btnType06" onclick="fncUpd(); return false;">수정</button>
<button class="btnType03" onclick="fncGoList(); return false;">조정상세</button>

View File

@ -249,6 +249,10 @@
}
}
//결재 팝업이후 처리 내용
function fnc_aprvl_pop_ret(param){
fncGoList('list'); //조정진행목록으로
}
</script>
</head>
<body>

View File

@ -767,6 +767,10 @@
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(idx) {

View File

@ -130,7 +130,7 @@
}
function fncPayment(){
commonPopWindowopenForm("/kccadr/adjReqMgr/popup/adjReqMgrRegPaymentPopup.do" , "650", "400", "securityPop",$("#detailForm"));
commonPopWindowopenForm("/kccadr/adjReqMgr/popup/adjReqMgrRegPaymentPopup.do" , "650", "600", "securityPop",$("#detailForm"));
}
//사건정보 팝업

View File

@ -862,7 +862,9 @@ function fn_save_aprvl() {
success : function(returnData, status) {
if (returnData.status == "success") {
alert("결재요청 완료되었습니다.");
top.window.opener.parent.location.reload();
//top.window.opener.parent.location.reload();
top.window.opener.fnc_aprvl_pop_ret();
fncGoClose();
}else{
alert("ERROR");

View File

@ -861,7 +861,8 @@ function fn_save_aprvl() {
success : function(returnData, status) {
if (returnData.status == "success") {
alert("결재요청 완료되었습니다.");
top.window.opener.parent.location.reload();
//top.window.opener.parent.location.reload();
top.window.opener.fnc_aprvl_pop_ret();
fncGoClose();
}else{
alert("ERROR");

View File

@ -861,7 +861,8 @@ function fn_save_aprvl() {
success : function(returnData, status) {
if (returnData.status == "success") {
alert("결재요청 완료되었습니다.");
top.window.opener.parent.location.reload();
//top.window.opener.parent.location.reload();
top.window.opener.fnc_aprvl_pop_ret();
fncGoClose();
}else{
alert("ERROR");

View File

@ -861,7 +861,8 @@ function fn_save_aprvl() {
success : function(returnData, status) {
if (returnData.status == "success") {
alert("결재요청 완료되었습니다.");
top.window.opener.parent.location.reload();
//top.window.opener.parent.location.reload();
top.window.opener.fnc_aprvl_pop_ret();
fncGoClose();
}else{
alert("ERROR");