增加表格行高及各项细节风格优化

This commit is contained in:
thinkgem
2022-02-21 12:05:58 +08:00
parent 630b28f452
commit 3aef4ad672
7 changed files with 25 additions and 19 deletions

View File

@@ -62,7 +62,7 @@ $('#dataGrid').dataGrid({
searchForm: $("#searchForm"),
dataGridPage: $('#dataGridPage'),
autoGridHeight: function(){
return $('#searchForm').parent().height() - $('#dataGridPage').height() - 45;
return $('#searchForm').parent().height() - $('#dataGridPage').height() - 58;
},
columnModel: [
{header:'${text("岗位名称")}', name:'postName', index:'a.post_name', width:200, align:"center"},
@@ -91,7 +91,7 @@ $('#dataGrid2').dataGrid({
searchForm: $("#searchForm2"),
dataGridPage: $('#dataGrid2Page'),
autoGridHeight: function(){
return $('#searchForm2').parent().height() - $('#dataGrid2Page').height() - 45;
return $('#searchForm2').parent().height() - $('#dataGrid2Page').height() - 58;
},
columnModel: [
{header:'${text("登录账号")}', name:'loginCode', index:'a.login_code', width:200, align:"center"},

View File

@@ -150,7 +150,7 @@ $('#dataGrid').dataGrid({
return js.getDictLabel(${@DictUtils.getDictListJson('sys_search_status')}, val, '${text("未知")}', true);
}},
{header:'${text("创建时间")}', name:'createDate', index:'a.create_date', firstsortorder:'desc', width:150, align:"center"},
{header:'${text("备注信息")}', name:'remarks', index:'a.remarks', width:150, align:"left"},
{header:'${text("备注")}', name:'remarks', index:'a.remarks', width:150, align:"left"},
{header:'${text("操作")}', name:'actions', width:100, formatter: function(val, obj, row, act){
var actions = [];
<% if(hasPermi('test:testData:edit')){ %>