Merge branch 'jenkins_with_weblogic' of ssh://git@192.168.240.178:18081/eapim/eapim-admin.git into jenkins_with_weblogic
This commit is contained in:
@@ -375,10 +375,20 @@
|
||||
url:url,
|
||||
data:postData,
|
||||
success:function(args){
|
||||
alert("<%=localeMessage.getString("common.saveMsg")%>");
|
||||
if(isPop == "true"){
|
||||
alert("<%=localeMessage.getString("common.saveMsg")%> \n저장 후 변환정보 수정이 필수입니다. 변환정보를 확인하세요");
|
||||
const origin = window.location.origin;
|
||||
|
||||
const layoutName = $("input[name='loutName']").val();
|
||||
|
||||
parent.postMessage({
|
||||
action: 'LAYOUT_SAVED_OPEN_TRANSFORM',
|
||||
layoutPartName: '${param.layoutPartName}'
|
||||
}, origin);
|
||||
|
||||
window.close();
|
||||
} else {
|
||||
alert("<%=localeMessage.getString("common.saveMsg")%>");
|
||||
goNav(returnUrl);
|
||||
}
|
||||
},
|
||||
|
||||
@@ -1153,19 +1153,46 @@
|
||||
addLayoutBtnEvent('outboundErrResponse', '아웃바운드 오류', 'TGTE');
|
||||
|
||||
window.addEventListener('message', function(e) {
|
||||
if (e.origin !== window.location.origin) return;
|
||||
|
||||
const popupMessage = e.data;
|
||||
if('DELETE' == popupMessage.cmd){
|
||||
if('layout' == popupMessage.type){
|
||||
$('#'+popupMessage.layoutPartName).val('');
|
||||
if (!popupMessage) return;
|
||||
|
||||
if ('DELETE' == popupMessage.cmd) {
|
||||
if ('layout' == popupMessage.type) {
|
||||
$('#' + popupMessage.layoutPartName).val('');
|
||||
}
|
||||
if('transform' == popupMessage.type){
|
||||
if ('transform' == popupMessage.type) {
|
||||
const partName = popupMessage.transformName.endsWith('REQ') ? '#requestTransform' : '#responseTransform';
|
||||
$(partName).val('');
|
||||
}
|
||||
transformSetStateChange();
|
||||
return;
|
||||
}
|
||||
|
||||
// 레이아웃 저장 후 변환 팝업 자동 실행 로직
|
||||
if (popupMessage.action === 'LAYOUT_SAVED_OPEN_TRANSFORM') {
|
||||
|
||||
// 눈이 보이지않는 팝업창 popup창 닫기
|
||||
if ($('.ui-dialog-content').length > 0) {
|
||||
$('.ui-dialog-content').dialog('close');
|
||||
}
|
||||
|
||||
const part = popupMessage.layoutPartName || "";
|
||||
|
||||
setTimeout(function() {
|
||||
if (part.includes('Request')) {
|
||||
modifyTransform('request');
|
||||
} else if (part.includes('Response')) {
|
||||
modifyTransform('response');
|
||||
} else if (part.includes('ErrResponse')) {
|
||||
modifyTransform('errResponse');
|
||||
}
|
||||
}, 300);
|
||||
}
|
||||
});
|
||||
|
||||
// modifyLayout('inboundRequestLayout', '인바운드 요청', 'CBSS')
|
||||
|
||||
$('#requestTransformButton').on("click", function(event) {
|
||||
modifyTransform('request');
|
||||
});
|
||||
@@ -1175,7 +1202,6 @@
|
||||
$('#errResponseTransformButton').on("click", function(event) {
|
||||
modifyTransform('errResponse');
|
||||
});
|
||||
// modifyLayout('inboundRequestLayout', '인바운드 요청', 'CBSS')
|
||||
|
||||
// 함수 사용 예시에 인바운드 응답 처리 추가
|
||||
$("#fromAdapter").change(function() {
|
||||
|
||||
@@ -15,6 +15,14 @@
|
||||
<jsp:include page="/jsp/common/include/css.jsp"/>
|
||||
<jsp:include page="/jsp/common/include/script.jsp"/>
|
||||
<style>
|
||||
|
||||
#tab4 div {
|
||||
display: block;
|
||||
overflow-wrap: break-word;
|
||||
word-break: break-all;
|
||||
white-space: normal;
|
||||
}
|
||||
|
||||
</style>
|
||||
<script language="javascript" >
|
||||
// var eaiBzwkDstcd = window.dialogArguments["eaiBzwkDstcd"];
|
||||
@@ -980,14 +988,14 @@ html,hbody {
|
||||
<td style="width:30%;"><input type="text" name="msgDpstYMS" readonly="readonly"/> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><%=localeMessage.getString("trackingDetail.eaiSvcName")%></th><td><input type="text" name="eaiSvcName" readonly="readonly" />
|
||||
<th>API ID</th><td><input type="text" name="eaiSvcName" readonly="readonly" />
|
||||
<%-- <img src="<c:url value="/images/bt/pop_detail.gif"/>" alt="" id="eaiSvcName" class="eaiSvcName_btn" /> --%>
|
||||
<%-- <button type="button" class="cssbtn smallBtn2" id="eaiSvcName" style="vertical-align:middle; font-weight:bold;"><i class="material-icons">details</i><%= localeMessage.getString("button.detail") %></button>--%>
|
||||
</td>
|
||||
<th><%=localeMessage.getString("trackingDetail.msgPrcssYMS")%></th><td><input type="text" name="msgPrcssYMS" readonly="readonly"/> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><%=localeMessage.getString("trackingDetail.eaiSvcDesc")%></th><td><input type="text" name="eaiSvcDesc" readonly="readonly"/> </td>
|
||||
<th>API 명</th><td><input type="text" name="eaiSvcDesc" readonly="readonly"/> </td>
|
||||
<th>ORG GUID</th><td><input type="text" name="pguid" readonly="readonly"/> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
||||
Reference in New Issue
Block a user