<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>
<html>
<head>
	<title>签名管理管理</title>
	<meta name="decorator" content="default"/>
	<script type="text/javascript">
		$(document).ready(function() {
			
		});
		function page(n,s){
			$("#pageNo").val(n);
			$("#pageSize").val(s);
			$("#searchForm").submit();
        	return false;
        }
	</script>
</head>
<body>
	<ul class="nav nav-tabs">
		<li class="active"><a href="${ctx}/bizSign/">签名管理列表</a></li>
		<shiro:hasPermission name="bizSign:bizSignList:edit"><li><a href="${ctx}/bizSign/form">签名管理添加</a></li></shiro:hasPermission>
	</ul>
	<form:form id="searchForm" modelAttribute="bizSign" action="${ctx}/bizSign/list" method="post" class="breadcrumb form-search">
		<input id="pageNo" name="pageNo" type="hidden" value="${page.pageNo}"/>
		<input id="pageSize" name="pageSize" type="hidden" value="${page.pageSize}"/>
		<%--<ul class="ul-form">
			<li class="btns"><input id="btnSubmit" class="btn btn-primary" type="submit" value="查询"/></li>
			<li class="clearfix"></li>
		</ul>--%>
	</form:form>
	<sys:message content="${message}"/>
	<table id="contentTable" class="table table-striped table-bordered table-condensed">
		<thead>
			<tr>
				<th>应用ID</th>
				<th>用户ID</th>
				<th>签名状态</th>
				<th>创建时间</th>
				<shiro:hasPermission name="bizSign:bizSignList:edit"><th>操作</th></shiro:hasPermission>
			</tr>
		</thead>
		<tbody>
		<c:forEach items="${page.list}" var="bizSign">
			<tr>
				<td><a href="${ctx}/bizSign/form?id=${bizSign.id}">
					${bizSign.appId}
				</a></td>
				<td>
					${bizSign.userId}
				</td>
				<td>
				    ${fns:getDictLabel(bizSign.signStatus, 'sign_status', '')}
				</td>
				<td>
					<fmt:formatDate value="${bizSign.createdAt}" pattern="yyyy-MM-dd HH:mm:ss"/>
				</td>
				<shiro:hasPermission name="bizSign:bizSignList:edit"><td>
    				<a href="${ctx}/bizSign/form?id=${bizSign.id}">修改</a>
					<a href="${ctx}/bizSign/delete?id=${bizSign.id}" onclick="return confirmx('确认要删除该签名管理吗？', this.href)">删除</a>
				</td></shiro:hasPermission>
			</tr>
		</c:forEach>
		</tbody>
	</table>
	<div class="pagination">${page}</div>
</body>
</html>