| | |
| | | <a class="btn btn-info" onclick="importExcel()" shiro:hasPermission="exam:librarycode:import"> |
| | | <i class="fa fa-upload"></i> [[#{basis.import}]] |
| | | </a> |
| | | <a class="btn btn-default" onclick="$.table.exportExcel()" shiro:hasPermission="exam:librarycode:export"> |
| | | <a class="btn btn-warning" onclick="$.table.exportExcel()" shiro:hasPermission="exam:librarycode:export"> |
| | | <i class="fa fa-download"></i> [[#{basis.export}]] |
| | | </a> |
| | | </div> |
| | |
| | | }, |
| | | { |
| | | field: 'englistContent', |
| | | title: [[#{jsp.exam.librarycode.englishdictionarycontent}]] |
| | | title: [[#{jsp.exam.template.reportdict}]] |
| | | }, |
| | | { |
| | | field: 'chineseContent', |
| | |
| | | field: 'remark', |
| | | title: [[#{basis.remark}]] |
| | | }, |
| | | // { |
| | | // title: [[#{basis.operate}]], |
| | | // 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.editTab(\'' + row.id + '\')"><i class="fa fa-edit"></i>[[#{menu.exam.distributor.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>[[#{menu.exam.distributor.remove}]]</a>'); |
| | | // return actions.join(''); |
| | | // } |
| | | // } |
| | | ] |
| | | { |
| | | title: [[#{basis.operate}]], |
| | | 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.editTab(\'' + row.id + '\')"><i class="fa fa-edit"></i>[[#{menu.exam.distributor.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>[[#{menu.exam.distributor.remove}]]</a>'); |
| | | return actions.join(''); |
| | | } |
| | | }] |
| | | }; |
| | | |
| | | $.table.init(options); |