123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121 |
- <%@ page contentType="text/html;charset=UTF-8" %>
- <%@ include file="/WEB-INF/views/include/taglib.jsp" %>
- <html>
- <head>
- <title>美博会用户管理</title>
- <meta name="decorator" content="default"/>
- <style type="text/css">
- .table th {
- text-align: center;
- }
- .table td {
- text-align: center;
- }
- </style>
- <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}/cibe/cibeUser/">美博会用户列表</a></li>
- <shiro:hasPermission name="cibe:cibeUser:edit">
- <li><a href="${ctx}/cibe/cibeUser/form">美博会用户添加</a></li>
- </shiro:hasPermission>
- </ul>
- <form:form id="searchForm" modelAttribute="cibeUser" action="${ctx}/cibe/cibeUser/" 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}"/>
- <div class="ul-form">
- <label>userID:</label>
- <form:input path="userId" htmlEscape="false" maxlength="11" class="input-small"/>
- <label>用户姓名:</label>
- <form:input path="userName" htmlEscape="false" maxlength="20" class="input-medium"/>
- <label>联系方式:</label>
- <form:input path="mobile" htmlEscape="false" maxlength="20" class="input-medium"/>
- <%--<br>--%>
- <label>中奖类型:</label>
- <form:select path="prizeType" cssClass="input-medium">
- <form:option value="" label=" "></form:option>
- <form:options items="${fns:getDictList('cibe_prizeType')}" itemLabel="label" itemValue="value" htmlEscape="false"/>
- </form:select>
- <input id="btnSubmit" class="btn btn-primary" type="submit" value="查询"/>
- <div class="clearfix"></div>
- </div>
- </form:form>
- <sys:message content="${message}"/>
- <table id="contentTable" class="table table-striped table-bordered table-condensed">
- <thead>
- <tr>
- <th>userID</th>
- <th>用户姓名</th>
- <th>联系方式</th>
- <th>用户类型</th>
- <th>地址</th>
- <th>奖券ID</th>
- <th>中奖类型</th>
- <th>兑奖码</th>
- <th>抽奖时间</th>
- <shiro:hasPermission name="cibe:cibeUser:edit">
- <th>操作</th>
- </shiro:hasPermission>
- </tr>
- </thead>
- <tbody>
- <c:forEach items="${page.list}" var="cibeUser">
- <tr>
- <td>
- <%--<a href="${ctx}/cibe/cibeUser/form?id=${cibeUser.id}">--%>
- ${cibeUser.userId}
- <%--</a>--%>
- </td>
- <td>
- ${cibeUser.userName}
- </td>
- <td>
- ${cibeUser.mobile}
- </td>
- <td>
- ${fns:getDictLabel(cibeUser.userType, "cibe_userType","4" )}
- </td>
- <td>
- ${cibeUser.address}
- </td>
- <td>
- ${cibeUser.prizeId}
- </td>
- <td>
- ${fns:getDictLabel(cibeUser.prizeType, "cibe_prizeType","0" )}
- </td>
- <td>
- ${cibeUser.prizeCode}
- </td>
- <td>
- <fmt:formatDate value="${cibeUser.prizeTime}" pattern="yyyy-MM-dd HH:mm:ss"/>
- </td>
- <shiro:hasPermission name="cibe:cibeUser:edit">
- <td>
- <a href="${ctx}/cibe/cibeUser/form?id=${cibeUser.id}">编辑</a>
- <shiro:hasPermission name="cibe:cibeUser:delete">
- <a href="${ctx}/cibe/cibeUser/delete?id=${cibeUser.id}"
- onclick="return confirmx('确认要删除该美博会用户吗?', this.href)">删除</a>
- </shiro:hasPermission>
- </td>
- </shiro:hasPermission>
- </tr>
- </c:forEach>
- </tbody>
- </table>
- <div class="pagination">${page}</div>
- </body>
- </html>
|