123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384 |
- <%@ 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}/project/projectAppointment/">项目预约列表</a></li>
- <shiro:hasPermission name="project:projectAppointment:edit"><li><a href="${ctx}/project/projectAppointment/form">项目预约添加</a></li></shiro:hasPermission>
- </ul>
- <form:form id="searchForm" modelAttribute="projectAppointment" action="${ctx}/project/projectAppointment/" 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>会所名称:</label>
- <form:input path="appointmentClubName" htmlEscape="false" maxlength="100" class="input-medium"/>
- <label>联系方式:</label>
- <form:input path="contactWay" htmlEscape="false" maxlength="50" class="input-medium"/>
- <label>openid:</label>
- <form:input path="openid" htmlEscape="false" maxlength="100" class="input-medium"/>
- <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>会所名称</th>
- <th>联系方式</th>
- <th>openid</th>
- <th>预约时间</th>
- <th>备注</th>
- <shiro:hasPermission name="project:projectAppointment:edit"><th>操作</th></shiro:hasPermission>
- </tr>
- </thead>
- <tbody>
- <c:forEach items="${page.list}" var="projectAppointment">
- <tr>
- <td><a href="${ctx}/project/projectAppointment/form?id=${projectAppointment.id}">
- ${projectAppointment.appointmentClubName}
- </a></td>
- <td>
- ${projectAppointment.contactWay}
- </td>
- <td>
- ${projectAppointment.openid}
- </td>
- <td>
- <fmt:formatDate value="${projectAppointment.createDate}" pattern="yyyy-MM-dd HH:mm:ss"/>
- </td>
- <td>
- ${projectAppointment.remarks}
- </td>
- <shiro:hasPermission name="project:projectAppointment:edit"><td>
- <a href="${ctx}/project/projectAppointment/form?id=${projectAppointment.id}">编辑</a>
- <shiro:hasPermission name="project:projectAppointment:delete">
- <a href="${ctx}/project/projectAppointment/delete?id=${projectAppointment.id}" onclick="return confirmx('确认要删除该预约项目吗?', this.href)">删除</a>
- </shiro:hasPermission>
- </td></shiro:hasPermission>
- </tr>
- </c:forEach>
- </tbody>
- </table>
- <div class="pagination">${page}</div>
- </body>
- </html>
|