예약문자관리 예약취소시 로딩바 표시 추가
This commit is contained in:
parent
dc0df86495
commit
5bcfe5a970
@ -145,7 +145,7 @@ function linkPage(pageNo){
|
|||||||
form.pageIndex.value = pageNo;
|
form.pageIndex.value = pageNo;
|
||||||
|
|
||||||
var sendData = $(document.searchForm).serializeArray();
|
var sendData = $(document.searchForm).serializeArray();
|
||||||
$(".resvMsgAllLoad").html('<div class="list_info"><table class="tType4"><tbody><tr><td colspan="12">LOADING...1</td></tr></tbody></table></div>');
|
$(".resvMsgAllLoad").html('<div class="list_info"><table class="tType4"><tbody><tr><td colspan="12">LOADING...</td></tr></tbody></table></div>');
|
||||||
$(".resvMsgAllLoad").load("/web/mjon/reservmsg/selectReservMsgListViewAjax.do", sendData ,function(response, status, xhr){
|
$(".resvMsgAllLoad").load("/web/mjon/reservmsg/selectReservMsgListViewAjax.do", sendData ,function(response, status, xhr){
|
||||||
});
|
});
|
||||||
|
|
||||||
@ -303,7 +303,7 @@ function fnReservCancel(msgGroupId, agentCode, msgType){
|
|||||||
url: url,
|
url: url,
|
||||||
data: data,
|
data: data,
|
||||||
dataType:'json',
|
dataType:'json',
|
||||||
async: false,
|
async: true,
|
||||||
processData: false,
|
processData: false,
|
||||||
contentType: false,
|
contentType: false,
|
||||||
cache: false,
|
cache: false,
|
||||||
@ -328,7 +328,17 @@ function fnReservCancel(msgGroupId, agentCode, msgType){
|
|||||||
alert(returnData.message);
|
alert(returnData.message);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
error: function (e) { alert("예약 취소에 실패하였습니다."); console.log("ERROR : ", e); }
|
error: function (e) {
|
||||||
|
alert("예약 취소에 실패하였습니다."); console.log("ERROR : ", e);
|
||||||
|
},
|
||||||
|
beforeSend : function(xmlHttpRequest) {
|
||||||
|
//로딩창 show
|
||||||
|
$('.loading_layer').addClass('active');
|
||||||
|
},
|
||||||
|
complete : function(xhr, textStatus) {
|
||||||
|
//로딩창 hide
|
||||||
|
$('.loading_layer').removeClass('active');
|
||||||
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
}
|
}
|
||||||
@ -385,6 +395,14 @@ function infoPop(pageUrl){
|
|||||||
document.popForm.submit();
|
document.popForm.submit();
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
<div class="loading_layer">
|
||||||
|
<div class="loading_container">
|
||||||
|
<div class="bar"></div>
|
||||||
|
<div class="text">Loading</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<!-- 문자내용 팝업 data-tooltip: rev_popup01 -->
|
<!-- 문자내용 팝업 data-tooltip: rev_popup01 -->
|
||||||
<div class="tooltip-wrap">
|
<div class="tooltip-wrap">
|
||||||
<div class="popup-com adr_layer rev_popup01" tabindex="0" data-tooltip-con="rev_popup01" data-focus="rev_popup01" data-focus-prev="rev_popup01-close" style="width: 440px;">
|
<div class="popup-com adr_layer rev_popup01" tabindex="0" data-tooltip-con="rev_popup01" data-focus="rev_popup01" data-focus-prev="rev_popup01-close" style="width: 440px;">
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user