- 복제 할 때 복제할 API 정보를 전부 세팅
- 복제 시 당/타발 및 요청/응답 같이 세팅하도록 수정, 기존에는 인터페이스 정보와 상관없이 디폴트값으로 복제됨.
This commit is contained in:
@@ -1270,14 +1270,21 @@
|
|||||||
|
|
||||||
function setupCloneInterfaceModal(event) {
|
function setupCloneInterfaceModal(event) {
|
||||||
const eaiBzwkDstcd = $('#eaiBzwkDstcd').val();
|
const eaiBzwkDstcd = $('#eaiBzwkDstcd').val();
|
||||||
|
const eaiSvcName = $('#eaiSvcName').val();
|
||||||
const eaiSvcDesc = $('#eaiSvcDesc').val();
|
const eaiSvcDesc = $('#eaiSvcDesc').val();
|
||||||
|
const inOutType = $('#inOutType').val();
|
||||||
|
const sendRecvType = $('#sendRecvType').val();
|
||||||
const inboundHttpMethod = $('#inboundHttpMethod').val();
|
const inboundHttpMethod = $('#inboundHttpMethod').val();
|
||||||
|
const inboundRestPath = $('#inboundRestPath').val();
|
||||||
|
|
||||||
$('#newBizCode').val(eaiBzwkDstcd).trigger('change');
|
$('#newBizCode').val(eaiBzwkDstcd).trigger('change');
|
||||||
|
$('#newSvcName').val(eaiSvcName);
|
||||||
|
$('#newInOutType').val(inOutType);
|
||||||
|
$('#newSendRecvType').val(sendRecvType);
|
||||||
$('#newSvcDesc').val(eaiSvcDesc);
|
$('#newSvcDesc').val(eaiSvcDesc);
|
||||||
$('#newInboundHttpMethod').val(inboundHttpMethod).trigger('change');
|
$('#newInboundHttpMethod').val(inboundHttpMethod).trigger('change');
|
||||||
|
$('#newInboundRestPath').val(inboundRestPath);
|
||||||
|
|
||||||
$('#newSvcName').val('');
|
|
||||||
if($('#inboundRestPath').prop('disabled')){
|
if($('#inboundRestPath').prop('disabled')){
|
||||||
$('#newRoutingOptionGroup').css('display','none');
|
$('#newRoutingOptionGroup').css('display','none');
|
||||||
}else{
|
}else{
|
||||||
|
|||||||
Reference in New Issue
Block a user