민원초기자료 저장 후처리 수정

main
이범준 1 year ago
parent 1d115d476b
commit 83e95c39f4

@ -334,6 +334,8 @@ $(document).ready(function(){
}
pageObject.parentRes.push(parentRes);
$("#"+dialogId).find("label[class='parentGrid']").attr("for","table-responsive--${pageName}");
}
});
}
@ -370,6 +372,8 @@ $(document).ready(function(){
$P.holdList.forEach(function(item){
$("#crdnTbody--${pageName}").find("tr[data-key='"+item+"']").addClass("bg-dark");
});
$("label[for='table-responsive--${pageName}']").trigger("refreshEnd");
}
$P.getParams = () => {

@ -307,12 +307,9 @@
</div>
<div id="displayForNew--${pageName}" style="overflow-y: scroll;min-height: 40px;max-height: 340px;border-style: solid;">
</div>
</div>
</div>
<label for="" id="refreshEnd--${pageName}" class="parentGrid" hidden></label>
<script>
/**************************************************************************
* Global Variable
@ -452,14 +449,8 @@ $(document).ready(function(){
}
}
$("#refreshEnd--${pageName}").attr("data-cursor-key", cursorKey);
$P.provided.refreshList();
if(cursorKey != ""){
$P.fnGo(cursorKey);
} else {
dialog.close("cvlcptInitialDataEditDialog--${openerPageName}");
}
}
};
/**************************************************************************
@ -937,7 +928,14 @@ $(document).ready(function(){
}
});
}
});
$("#refreshEnd--${pageName}").on("refreshEnd", function(){
if(this.dataset.cursorKey != null && this.dataset.cursorKey != ""){
$P.fnGo(this.dataset.cursorKey);
} else {
dialog.close("cvlcptInitialDataEditDialog--${openerPageName}");
}
});
/**************************************************************************

Loading…
Cancel
Save