Commit 23b29a54 by guanzhenshan

更新角色的删除按钮

parent 13ffa463
......@@ -58,7 +58,7 @@
{ field: 'lastupdatetime', title: '更新时间', width: '130', sortable: true, iscount: true },
{
field: 'option', title: '操作', width: '110', formatter: function (idx, data) {
return '<a class="btn btn-success btn-xs" onclick="ShowDetail(' + data.id + ')">编辑</a>' + (data.id != 1 ? '<a class="btn btn-danger btn-xs" style="margin-left:3px" onclick="DelDetail(' + data.id +')">编辑</a>':"");
return '<a class="btn btn-success btn-xs" onclick="ShowDetail(' + data.id + ')">编辑</a>' + (data.id != 1 ? '<a class="btn btn-danger btn-xs" style="margin-left:3px" onclick="DelDetail(' + data.id +')">删除</a>':"");
}
}
];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment