优化表单内表格的行高和边距

This commit is contained in:
thinkgem
2024-10-28 21:27:36 +08:00
parent ba077ecd41
commit 481246f52e
4 changed files with 10 additions and 1 deletions

View File

@@ -256,7 +256,7 @@ $("#empOfficeGrid").dataGrid({
}
}
},
{header:'${text("操作")}', name:'actions', width:80, sortable:false, fixed:true, formatter: function(val, obj, row, act){
{header:'${text("操作")}', name:'actions', width:80, align:"center", sortable:false, fixed:true, formatter: function(val, obj, row, act){
var actions = [];
actions.push('<a href="#" onclick="js.confirm(\'${text("你确认要删除这条数据吗?")}\', function(){$(\'#empOfficeGrid\').dataGrid(\'delRowData\',\''+obj.rowId+'\')});return false;"><i class="fa fa-trash-o"></i></a>&nbsp;');
return actions.join('');