细节微调
This commit is contained in:
@@ -62,7 +62,7 @@ $('#dataGrid').dataGrid({
|
|||||||
searchForm: $("#searchForm"),
|
searchForm: $("#searchForm"),
|
||||||
dataGridPage: $('#dataGridPage'),
|
dataGridPage: $('#dataGridPage'),
|
||||||
autoGridHeight: function(){
|
autoGridHeight: function(){
|
||||||
return $('#searchForm').parent().height() - $('#dataGridPage').height() - 45;
|
return $('#searchForm').parent().height() - $('#dataGridPage').height() - 50;
|
||||||
},
|
},
|
||||||
columnModel: [
|
columnModel: [
|
||||||
{header:'${text("岗位名称")}', name:'postName', index:'a.post_name', width:200, align:"center"},
|
{header:'${text("岗位名称")}', name:'postName', index:'a.post_name', width:200, align:"center"},
|
||||||
@@ -91,7 +91,7 @@ $('#dataGrid2').dataGrid({
|
|||||||
searchForm: $("#searchForm2"),
|
searchForm: $("#searchForm2"),
|
||||||
dataGridPage: $('#dataGrid2Page'),
|
dataGridPage: $('#dataGrid2Page'),
|
||||||
autoGridHeight: function(){
|
autoGridHeight: function(){
|
||||||
return $('#searchForm2').parent().height() - $('#dataGrid2Page').height() - 45;
|
return $('#searchForm2').parent().height() - $('#dataGrid2Page').height() - 50;
|
||||||
},
|
},
|
||||||
columnModel: [
|
columnModel: [
|
||||||
{header:'${text("登录账号")}', name:'loginCode', index:'a.login_code', width:200, align:"center"},
|
{header:'${text("登录账号")}', name:'loginCode', index:'a.login_code', width:200, align:"center"},
|
||||||
|
|||||||
@@ -39,7 +39,7 @@
|
|||||||
var windowHeight = $(window).height(),
|
var windowHeight = $(window).height(),
|
||||||
headerHeight = $('.box-header').outerHeight() || 0,
|
headerHeight = $('.box-header').outerHeight() || 0,
|
||||||
footerHeight = $('.box-footer').outerHeight() || 0,
|
footerHeight = $('.box-footer').outerHeight() || 0,
|
||||||
height = windowHeight - headerHeight - footerHeight - 13;
|
height = windowHeight - headerHeight - footerHeight - 20;
|
||||||
return height < 300 ? 300 : height;
|
return height < 300 ? 300 : height;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
@@ -59,7 +59,7 @@
|
|||||||
var windowHeight = $(window).height(),
|
var windowHeight = $(window).height(),
|
||||||
headerHeight = $('.box-header').outerHeight() || 0,
|
headerHeight = $('.box-header').outerHeight() || 0,
|
||||||
footerHeight = $('.box-footer').outerHeight() || 0,
|
footerHeight = $('.box-footer').outerHeight() || 0,
|
||||||
height = windowHeight - headerHeight - footerHeight - 13;
|
height = windowHeight - headerHeight - footerHeight - 20;
|
||||||
return height < 300 ? 300 : height;
|
return height < 300 ? 300 : height;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user