优化账户、功能等页面的样式
This commit is contained in:
@@ -120,18 +120,18 @@
|
||||
pageList: initPageNum,
|
||||
columns: [[
|
||||
{field: 'id', width: 35, align: "center", checkbox: true},
|
||||
{title: '姓名', field: 'name', width: 180},
|
||||
{title: '类型', field: 'type', width: 180},
|
||||
{
|
||||
title: '操作', field: 'op', align: "center", width: 130, formatter: function (value, rec, index) {
|
||||
title: '操作', field: 'op', align: "center", width: 60, formatter: function (value, rec, index) {
|
||||
var str = '';
|
||||
str += '<img src="/js/easyui/themes/icons/pencil.png" style="cursor: pointer;" onclick="editPerson(\'' + index + '\');"/> <a onclick="editPerson(\'' + index + '\');" style="text-decoration:none;color:black;" href="javascript:void(0)">编辑</a> ';
|
||||
str += '<img title="编辑" src="/js/easyui/themes/icons/pencil.png" style="cursor: pointer;" onclick="editPerson(\'' + index + '\');"/> ';
|
||||
if(isShowOpFun()) {
|
||||
str += '<img src="/js/easyui/themes/icons/edit_remove.png" style="cursor: pointer;" onclick="deletePerson(' + rec.id + ');"/> <a onclick="deletePerson(' + rec.id + ');" style="text-decoration:none;color:black;" href="javascript:void(0)">删除</a> ';
|
||||
str += '<img title="删除" src="/js/easyui/themes/icons/edit_remove.png" style="cursor: pointer;" onclick="deletePerson(' + rec.id + ');"/>';
|
||||
}
|
||||
return str;
|
||||
}
|
||||
}
|
||||
},
|
||||
{title: '姓名', field: 'name', width: 180},
|
||||
{title: '类型', field: 'type', width: 180}
|
||||
]],
|
||||
toolbar: [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user