Merge branch 'features/ui-improvements' into jenkins_with_weblogic

This commit is contained in:
daekuk
2025-12-05 11:45:07 +09:00
4 changed files with 39 additions and 14 deletions
@@ -85,8 +85,8 @@
url: url,
postData: gridPostData,
colNames: ['업무구분',
'API (*)',
'API 명',
'API ID(*)',
'API 명',
'요청',
'응답',
'작성자',
@@ -387,11 +387,11 @@
<td>
<select name="searchEaiBzwkDstcd" value="${param.searchEaiBzwkDstcd}"></select>
</td>
<th style="width:180px;">API </th>
<th style="width:180px;">API ID</th>
<td>
<input type="text" name="searchEaiSvcName" value="${param.searchEaiSvcName}">
</td>
<th style="width:180px;">API명</th>
<th style="width:180px;">API 명</th>
<td>
<input type="text" name="searchEaiSvcDesc" value="${param.searchEaiSvcDesc}">
</td>
@@ -61,7 +61,13 @@
.input-group {
position: relative;
}
/* 어댑터, 메서드 라이브 서치 사용시 width 깨짐 방지 */
.select2-container {
width: 100% !important;
box-sizing: border-box;
}
</style>
<script language="javascript" >
var isDetail = false;
@@ -172,6 +178,25 @@
}
$('#eaiBzwkDstcd').select2();
$('#fromAdapter').select2();
$('#toAdapter').select2();
$('#fromResponseAdapter').select2();
$('#toResponseAdapter').select2();
$('#inboundHttpMethod').select2();
$('#outboundHttpMethod').select2();
$('#newBizCode').select2({
dropdownParent: $('#cloneInterfaceModal'),
width: '100%'
});
$('#newInboundHttpMethod').select2({
dropdownParent: $('#cloneInterfaceModal'),
width: '100%'
});
fromAdapterMessageKeyMap = json.fromAdapterMessageKeyMap;
stdCommonFieldDefinitions = json.stdCommonFieldDefinitions;
initStdCommonFieldDefinitions(stdCommonFieldDefinitions);
@@ -1344,7 +1369,6 @@
<button type="button" class="cssbtn" id="btn_modify" level="R" status="DETAIL,NEW"><i class="material-icons">save</i> <%= localeMessage.getString("button.modify") %></button>
<button type="button" class="cssbtn" id="btn_api_spec" level="R" status="DETAIL,NEW"><i class="material-icons">description</i> API 스펙</button>
<button type="button" class="cssbtn" id="btn_previous" level="R" status="DETAIL,NEW"><i class="material-icons">arrow_back</i> <%= localeMessage.getString("button.previous") %></button>
<%-- <button type="button" class="cssbtn" id="btn_excel_export" level="R" status="DETAIL"><i class="material-icons">table_view</i> <%= localeMessage.getString("button.excel") %></button> --%>
</div>
<div class="title" id="title" style="font-size:1.4em">${rmsMenuName}</div>
<form id="ajaxForm"
@@ -1363,7 +1387,7 @@
<div class="form-group col-md-3">
<label for="eaiSvcName">
<span class="material-icons-outlined">badge</span> API
<span class="material-icons-outlined">badge</span> API ID
</label>
<div class="input-group">
<input type="text"
@@ -1389,7 +1413,7 @@
</div>
<div class="form-group col-md-5">
<label for="eaiSvcDesc"><span class="material-icons-outlined">chat</span> 명</label>
<label for="eaiSvcDesc"><span class="material-icons-outlined">chat</span> API 명</label>
<input type="text" class="form-control" id="eaiSvcDesc" name="eaiSvcDesc" required></input>
</div>
<div class="form-group col-md-1">
@@ -1965,7 +1989,7 @@
</select>
</div>
<div class="form-group col-md-8">
<label for="newSvcName"><span class="material-icons-outlined">badge</span> API </label>
<label for="newSvcName"><span class="material-icons-outlined">badge</span> API ID</label>
<div class="input-group">
<input type="text" class="form-control" id="newSvcName" name="newSvcName" required>
<span class="input-group-text" style="padding: 0; border: none;">
@@ -1984,8 +2008,8 @@
<div class="form-group col-md-4">
<label for="newInboundHttpMethod"><span class="material-icons">http</span> <%= localeMessage.getString("apiInterface.recvMethod") %></label>
<select id="newInboundHttpMethod" class="form-select" name="newInboundHttpMethod"></input>
<option value="get">GET</option>
<option value="post">POST</option>
<option value="get">GET</option>
<option value="put">PUT</option>
<option value="patch">PATCH</option>
<option value="delete">DELETE</option>
@@ -204,7 +204,7 @@
error: function (e) {
alert(e.responseText);
},
complate: function() {
complete: function() {
$("[id^='btn_']").prop("disabled", false);
$("#btn_save").text("수정");
}
@@ -277,7 +277,7 @@
error: function(e) {
alert(e.responseText);
},
complate: function() {
complete: function() {
$("[id^='btn_']").prop("disabled", false);
$("#btn_delete").text("삭제");
}
@@ -309,7 +309,7 @@
error: function(e) {
alert("API 스펙 생성 중 오류가 발생했습니다: " + e.responseText);
},
complate: function() {
complete: function() {
$("[id^='btn_']").prop("disabled", false);
$("#btn_generate_spec").text("SPEC 자동 생성");
}