2022-08-18 06:21:44 +00:00
|
|
|
function contentFade(action){
|
|
|
|
|
if(action === "in"){
|
|
|
|
|
$("#fadeDiv").show()
|
|
|
|
|
}else{
|
|
|
|
|
$("#fadeDiv").hide()
|
|
|
|
|
}
|
2022-08-22 09:35:33 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
function sessionReload(){
|
|
|
|
|
$.ajax({
|
|
|
|
|
url: '/refreshSession',
|
|
|
|
|
type: 'GET',
|
|
|
|
|
success: function(){location.reload();},
|
|
|
|
|
error:function(){}
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
$(document).on('click', '.allChk', function (){
|
|
|
|
|
$(this).parents('table').find('[type="checkbox"]').prop("checked", this.checked);
|
2022-08-24 08:27:30 +00:00
|
|
|
})
|
|
|
|
|
$(document).on('click', '.page-item', function (){
|
|
|
|
|
searchFormSubmit($(this).attr("data-pageindex"))
|
|
|
|
|
})
|
|
|
|
|
$(document).on('change', '#rowCnt', function (){
|
|
|
|
|
searchFormSubmit(1)
|
|
|
|
|
})
|
|
|
|
|
function searchFormSubmit(pageIndex){
|
|
|
|
|
$("#pageIndex").val(pageIndex);
|
|
|
|
|
$("#searchBtn").click();
|
2022-09-02 09:32:55 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$(document).on('mouseenter', '.firstMenuLink', function (event){
|
|
|
|
|
$(".secondMenu").hide();
|
|
|
|
|
const targetMenu = $(this).parent().find(".secondMenu");
|
|
|
|
|
targetMenu.show()
|
|
|
|
|
targetMenu.find("ul").css("padding-top",(event.clientY-20)+"px")
|
|
|
|
|
})
|
|
|
|
|
$(document).on('mouseenter', '.secondMenuLink', function (event){
|
|
|
|
|
$(".thirdMenu").hide();
|
|
|
|
|
const targetMenu = $(this).parent().find(".thirdMenu");
|
|
|
|
|
targetMenu.show()
|
|
|
|
|
targetMenu.find("ul").css("padding-top",(event.clientY-20)+"px")
|
|
|
|
|
})
|
|
|
|
|
$(document).on('mouseleave', '.menuDiv', function (){
|
|
|
|
|
$(".secondMenu").hide();
|
|
|
|
|
$(".thirdMenu").hide();
|
|
|
|
|
})
|