|
|
|
@ -47,28 +47,29 @@
|
|
|
|
|
<script type="text/javascript" src="${ctx}/resources/framework/js/cmm/xit-tui-grid.js" ></script>
|
|
|
|
|
<script type="text/javascript" src="${ctx}/resources/framework/js/cmm/XitCmmnUtil.js" ></script>
|
|
|
|
|
<script type="text/javascript" src="${ctx}/resources/framework/js/cmm/XitExportUtil.js" ></script>
|
|
|
|
|
<script type="text/javascript" src="${ctx}/resources/framework/js/cmm/validator.js/js/framework/cmmn/validator.js"></script>
|
|
|
|
|
<script type="text/javascript" src="${ctx}/resources/framework/js/cmm/validator.js"></script>
|
|
|
|
|
<script type="text/javascript" src="${ctx}/resources/framework/js/cmm/cmmDateUtil.js"></script>
|
|
|
|
|
<script type="text/javascript" src="${ctx}/resources/framework/js/cmm/cmmUtil.js"></script>
|
|
|
|
|
<%-- <link rel="stylesheet" type="text/css" href="${ctx}/resources/css/framework/cmmn/common-style.css"/> --%>
|
|
|
|
|
<link rel="stylesheet" type="text/css" href="${ctx}/resources/css/framework/cmmn/xit-tui-grid.css" />
|
|
|
|
|
<%-- <link rel="stylesheet" type="text/css" href="${ctx}/resources/framework/css/cmmn/common-style.css"/> --%>
|
|
|
|
|
<link rel="stylesheet" type="text/css" href="${ctx}/resources/framework/css/cmmn/xit-tui-grid.css" />
|
|
|
|
|
|
|
|
|
|
<script type="text/javascript">
|
|
|
|
|
var Loading = new Object();
|
|
|
|
|
let Loading = new Object();
|
|
|
|
|
$(document).ready(function(){
|
|
|
|
|
var block = $('<div class="display-block"></div>').appendTo(document.body);
|
|
|
|
|
var loading = $('<img class="loading-bar" src="${ctx}/resources/images/framework/cmmn/ajax-loading.gif" alt="조회 프로그래스바"/>').appendTo(document.body).hide();
|
|
|
|
|
var openBar = function(){
|
|
|
|
|
var currentPosition = parseInt(loading.css("top")); //현재 포지션
|
|
|
|
|
var height = $(document).height();
|
|
|
|
|
var scroll = $(window).scrollTop();
|
|
|
|
|
var scrollPer = (scroll/height)*100;
|
|
|
|
|
var newPosition = parseInt(scrollPer)+currentPosition;
|
|
|
|
|
loading.show();
|
|
|
|
|
block.css('display','block');
|
|
|
|
|
const block = $('<div class="display-block"></div>').appendTo(document.body);
|
|
|
|
|
const loading = $('<img class="loading-bar" src="${ctx}/resources/framework/images/common/ajax-loading.gif" alt="조회 프로그래스바"/>').appendTo(document.body).hide();
|
|
|
|
|
const openBar = function(){
|
|
|
|
|
const currentPosition = parseInt(loading.css("top")); //현재 포지션
|
|
|
|
|
const height = $(document).height();
|
|
|
|
|
const scroll = $(window).scrollTop();
|
|
|
|
|
const scrollPer = (scroll/height)*100;
|
|
|
|
|
const newPosition = parseInt(scrollPer)+currentPosition;
|
|
|
|
|
loading.show();
|
|
|
|
|
block.css('display','block');
|
|
|
|
|
}
|
|
|
|
|
var closeBar = function(){
|
|
|
|
|
loading.hide(); block.css('display','none');
|
|
|
|
|
const closeBar = function(){
|
|
|
|
|
loading.hide();
|
|
|
|
|
block.css('display','none');
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
Loading = new Object();
|
|
|
|
@ -90,7 +91,7 @@
|
|
|
|
|
$(this).find('#sidebar_stts').val(sessionStorage.getItem("sidebar_stts"));
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
var frm_action = $(this).attr('action');
|
|
|
|
|
const frm_action = $(this).attr('action');
|
|
|
|
|
if(frm_action.indexOf('_list')>-1){
|
|
|
|
|
//프로그래스바
|
|
|
|
|
fn_ProgressbarByMenu(handler.target.action);
|
|
|
|
@ -109,9 +110,9 @@
|
|
|
|
|
*/
|
|
|
|
|
function fn_ProgressbarByMenu(url){
|
|
|
|
|
if(url.indexOf('/pro6/')>-1 && url.lastIndexOf('_list.do')>-1){
|
|
|
|
|
var br = '<br/>';
|
|
|
|
|
var msg = '조회 중 입니다.'+br+'통계는 다소 시간이 소요 될 수 있으니 잠시만 기다려주세요.';
|
|
|
|
|
var loading = '<img class="loading-bar" src="${ctx}/resources/images/common/ajax-loading.gif" style="margin-left: -20px;" alt="조회 프로그래스바" />';
|
|
|
|
|
const br = '<br/>';
|
|
|
|
|
const msg = '조회 중 입니다.'+br+'통계는 다소 시간이 소요 될 수 있으니 잠시만 기다려주세요.';
|
|
|
|
|
const loading = '<img class="loading-bar" src="${ctx}/resources/framework/images/common/ajax-loading.gif" style="margin-left: -20px;" alt="조회 프로그래스바" />';
|
|
|
|
|
$.blockUI({ message : br+msg+br+br+loading+br+br});
|
|
|
|
|
}else{
|
|
|
|
|
Loading.open();
|
|
|
|
|