| | |
| | | <a class="btn btn-success" onclick="$.operate.add()" shiro:hasPermission="system:role:add"> |
| | | <i class="fa fa-plus"></i>[[#{basis.add}]] |
| | | </a> |
| | | <a style="background-color: #7b76b7;border-color: #7b76b7;color: #FFFFFF" |
| | | class="btn single disabled" onclick="$.operate.edit()" shiro:hasPermission="system:role:edit"> |
| | | <a class="btn btn-primary single disabled" onclick="$.operate.edit()" shiro:hasPermission="system:role:edit"> |
| | | <i class="fa fa-edit"></i> [[#{basis.edit}]] |
| | | </a> |
| | | <a class="btn btn-danger multiple disabled" onclick="$.operate.removeAll()" shiro:hasPermission="system:role:remove"> |
| | | <i class="fa fa-remove"></i> [[#{basis.del}]] |
| | | </a> |
| | | <a style="background-color: #a87242;border-color: #a87242;color: #FFFFFF" |
| | | class="btn" onclick="$.table.exportExcel()" shiro:hasPermission="system:role:export"> |
| | | <a class="btn btn-warning" onclick="$.table.exportExcel()" shiro:hasPermission="system:role:export"> |
| | | <i class="fa fa-download"></i> [[#{basis.export}]] |
| | | </a> |
| | | </div> |
| | |
| | | align: 'center', |
| | | formatter: function(value, row, index) { |
| | | var actions = []; |
| | | // actions.push('<a class="btn btn-success btn-xs ' + editFlag + '" href="javascript:void(0)" onclick="$.operate.edit(\'' + row.roleId + '\')"><i class="fa fa-edit"></i>'+[[#{basis.edit}]]+'</a> '); |
| | | actions.push('<a class="btn btn-success btn-xs ' + editFlag + '" href="javascript:void(0)" onclick="$.operate.edit(\'' + row.roleId + '\')"><i class="fa fa-edit"></i>'+[[#{basis.edit}]]+'</a> '); |
| | | actions.push('<a class="btn btn-primary btn-xs ' + editFlag + '" href="javascript:void(0)" onclick="authDataScope(\'' + row.roleId + '\')"><i class="fa fa-check-square-o"></i>'+[[#{data.permission}]]+'</a> '); |
| | | actions.push('<a class="btn btn-info btn-xs ' + editFlag + '" href="javascript:void(0)" onclick="authUser(\'' + row.roleId + '\')"><i class="fa fa-user"></i>'+[[#{jsp.system.role.015}]]+'</a> '); |
| | | // actions.push('<a class="btn btn-danger btn-xs ' + removeFlag + '" href="javascript:void(0)" onclick="$.operate.remove(\'' + row.roleId + '\')"><i class="fa fa-remove"></i>'+[[#{basis.del}]]+'</a> '); |
| | | actions.push('<a class="btn btn-danger btn-xs ' + removeFlag + '" href="javascript:void(0)" onclick="$.operate.remove(\'' + row.roleId + '\')"><i class="fa fa-remove"></i>'+[[#{basis.del}]]+'</a> '); |
| | | return actions.join(''); |
| | | } |
| | | }] |