| | |
| | | <a class="btn btn-success" onclick="$.operate.add()" shiro:hasPermission="exam:test_package:add"> |
| | | <i class="fa fa-plus"></i> [[#{basis.create}]] |
| | | </a> |
| | | <a style="background-color: #7b76b7;border-color: #7b76b7;color: #FFFFFF" |
| | | class="btn single disabled" onclick="$.operate.edit()" |
| | | <a class="btn btn-primary single disabled" onclick="$.operate.edit()" |
| | | shiro:hasPermission="exam:test_package:edit"> |
| | | <i class="fa fa-edit"></i> [[#{basis.edit}]] |
| | | </a> |
| | |
| | | shiro:hasPermission="exam:test_package: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="exam:test_package:export"> |
| | | <a class="btn btn-warning" onclick="$.table.exportExcel()" shiro:hasPermission="exam:test_package:export"> |
| | | <i class="fa fa-download"></i> [[#{basis.export}]] |
| | | </a> |
| | | <a style="background-color: #6fcef3;border-color: #6fcef3;color: #FFFFFF" |
| | | class="btn" onclick="javascript:recover()" shiro:hasPermission="exam:test_package:recover"> |
| | | <a class="btn btn-default" onclick="javascript:recover()" shiro:hasPermission="exam:test_package:recover"> |
| | | <i class="fa fa-address-book"></i> [[#{jsp.exam.test_package.006}]] |
| | | </a> |
| | | <a style="background-color: #7b76b7;border-color: #7b76b7;color: #FFFFFF" |
| | | class="btn" onclick="javascript:testReport()" shiro:hasPermission="exam:test_package:testreport"> |
| | | <a class="btn btn-warning" onclick="javascript:testReport()" shiro:hasPermission="exam:test_package:testreport"> |
| | | <i class="fa fa-download"></i> [[#{jsp.exam.test_package.007}]] |
| | | </a> |
| | | </div> |
| | |
| | | align: 'center', |
| | | formatter: function (value, row, index) { |
| | | var actions = []; |
| | | // actions.push('<a class="btn btn-info btn-xs ' + editFlag + '" href="javascript:void(0)" onclick="$.operate.edit(\'' + row.id + '\')"><i class="fa fa-edit"></i>'+[[#{basis.edit}]]+'</a> '); |
| | | // actions.push('<a class="btn btn-danger btn-xs ' + removeFlag + '" href="javascript:void(0)" onclick="$.operate.remove(\'' + row.id + '\')"><i class="fa fa-remove"></i>'+[[#{basis.del}]]+'</a>'); |
| | | actions.push('<a class="btn btn-success btn-xs ' + editFlag + '" href="javascript:void(0)" onclick="$.operate.edit(\'' + row.id + '\')"><i class="fa fa-edit"></i>'+[[#{basis.edit}]]+'</a> '); |
| | | actions.push('<a class="btn btn-danger btn-xs ' + removeFlag + '" href="javascript:void(0)" onclick="$.operate.remove(\'' + row.id + '\')"><i class="fa fa-remove"></i>'+[[#{basis.del}]]+'</a>'); |
| | | return actions.join(''); |
| | | } |
| | | }] |