邮件 配置描述列不显示问题
This commit is contained in:
@@ -320,28 +320,34 @@ function filterActionInit() {
|
|||||||
$("#isFilterAction").val("true");
|
$("#isFilterAction").val("true");
|
||||||
fiterPanleShow();
|
fiterPanleShow();
|
||||||
}
|
}
|
||||||
//调整滚动条div的高度
|
|
||||||
var he=document.getElementsByClassName("filter-action-select-panle")[0].offsetHeight;
|
|
||||||
var height=document.documentElement.clientHeight;
|
|
||||||
if(he>0){
|
|
||||||
he+=5;
|
|
||||||
}
|
|
||||||
if($('.table-responsive')){
|
|
||||||
$('.table-responsive').css({'height':height-105-he+'px'});
|
|
||||||
}
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function tzheight(){
|
||||||
|
var hei=document.documentElement.clientHeight;
|
||||||
|
hei=hei-71;
|
||||||
|
var rowheigth=0;
|
||||||
|
if($('.row')){
|
||||||
|
rowheigth=$('.row').height();
|
||||||
|
hei=hei-rowheigth;
|
||||||
|
}
|
||||||
|
if($('.table-responsive')){
|
||||||
|
$('.table-responsive').css({'height':hei+'px'});
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
function fiterPanleShow() {
|
function fiterPanleShow() {
|
||||||
$("#filter-btn").find("i").removeClass("fa-angle-double-down").addClass("fa-angle-double-up");
|
$("#filter-btn").find("i").removeClass("fa-angle-double-down").addClass("fa-angle-double-up");
|
||||||
//$(".btn-search").addClass("hide");
|
//$(".btn-search").addClass("hide");
|
||||||
$(".filter-action-select-panle").removeClass("hide");
|
$(".filter-action-select-panle").removeClass("hide");
|
||||||
|
tzheight();
|
||||||
}
|
}
|
||||||
|
|
||||||
function fiterPanleHide() {
|
function fiterPanleHide() {
|
||||||
$("#filter-btn").find("i").removeClass("fa-angle-double-up").addClass("fa-angle-double-down");
|
$("#filter-btn").find("i").removeClass("fa-angle-double-up").addClass("fa-angle-double-down");
|
||||||
//$(".btn-search").removeClass("hide");
|
//$(".btn-search").removeClass("hide");
|
||||||
$(".filter-action-select-panle").addClass("hide");
|
$(".filter-action-select-panle").addClass("hide");
|
||||||
|
tzheight();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -377,9 +383,9 @@ function customColumnClick(){
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if($(this).hasClass("cfgDesc")){
|
/*if($(this).hasClass("cfgDesc")){
|
||||||
return true;
|
return true;
|
||||||
}
|
}*/
|
||||||
var checked = ($(this).is(":visible") ? "checked='checked'":"");
|
var checked = ($(this).is(":visible") ? "checked='checked'":"");
|
||||||
var ckbox_html = "<input type='checkbox' "+checked+" value='"+colIndex+"'/>";
|
var ckbox_html = "<input type='checkbox' "+checked+" value='"+colIndex+"'/>";
|
||||||
html+="<div class='col-md-6'><label>"+ckbox_html+" "+$(this).html()+"</label></div>";
|
html+="<div class='col-md-6'><label>"+ckbox_html+" "+$(this).html()+"</label></div>";
|
||||||
@@ -404,9 +410,7 @@ function customColumnInit() {
|
|||||||
//选中则显示
|
//选中则显示
|
||||||
showColumn(indexCol);
|
showColumn(indexCol);
|
||||||
}else {
|
}else {
|
||||||
if($(".table tr th[class='cfgDesc']").index()!=indexCol){
|
hideColumn(indexCol);
|
||||||
hideColumn(indexCol);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}else {
|
}else {
|
||||||
|
|||||||
Reference in New Issue
Block a user