<div ng-controller="PswSettingCtrl" class="wrapper">
	<div class="panel panel-default">
		<div class="panel-body">
			<button ui-sref="pswSettingAdd" class="btn btn-default"><i class="glyphicon glyphicon-plus">生成密码本</i></button>
			<a href="examSetting/downPasswordExcel" class="btn btn-default"><i class="glyphicon glyphicon-download">导出密码本</i></a>

			<table class="table table-striped">
				<thead>
					<tr>
						<th>序号</th>
						<th>生成密码条数</th>
						<th>可用密码条数</th>
						<th>生成日期</th>
						<th>操作人</th>
					</tr>										
				</thead>
				<tbody>
					<tr ng-repeat="row in array | filter:search">
						<td>{{$index+1}}</td>
						<td>{{row.codeNum}}</td>
						<td>{{row.surplus}}</ td>
						<td>{{row.createTime | date:'yyyy-MM-dd hh:mm:ss'}}</ td>
						<td>{{row.createBy}}</td>
					</tr>
				</tbody>

			</table>
		</div>
	</div>
</div>