标签页使用及分页

来源:互联网 发布:淘宝宝贝没排名 编辑:程序博客网 时间:2024/04/29 06:02
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
${jquery_js }
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" type="text/css" href="../iunet/css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="../common/css/style/css.css">
<script type="text/javascript" src="../common/js/layer/1.9.3/layer.js"></script>
<title>团队查看</title>
</head>
<body>
    <div class="body_width">
             <table  width="60%" height="80" border="0" align="left" cellpadding="0" cellspacing="0">
                <input type="hidden" value="${page.key }" id="key">
              <tr>
                <td>
                <div class="btn-group" style="float:left;">
                  <button type="button" onclick="flag(1);" <c:if test="${page.key==1 }">class="btn btn-primary"</c:if> <c:if test="${page.key!=1 }">class="btn btn-default"</c:if>>未审核团队</button>
                  <button type="button" onclick="flag(2);" <c:if test="${page.key==2 }">class="btn btn-primary"</c:if> <c:if test="${page.key!=2 }">class="btn btn-default"</c:if>>已审核团队</button>
                </div>
                
                </td>
                
              </tr>
            </table>
            
            <!-- <div id="myTabContent" class="tab-content"> -->
                <c:if test="${page.key==1}">
                    <table class="table table-hover">
                        <thead>
                               <tr>
                                 <th>序号</th>
                                 <th>团队号</th>
                                 <th>申请人</th>
                                 <th>团队名称</th>
                                 <th>团队类型</th>
                                 <th>申请时间</th>
                                 <th>状态</th>
                                 <th>操作</th>     
                             </tr>
                        </thead>
                        <c:if test="${list== null || fn:length(list) == 0}">
                            <tr>
                                <td colspan='8'><img src="${ctx }/common/img/icon_notice.png" style="width: 20px;height: 20px;"> <label style="margin-top: 20px;">您目前没有审核的团队</label></td>
                            </tr>
                        </c:if>
                        <c:forEach items="${list}" var="group" varStatus="s">
                             <tbody>
                                 <tr>
                                     <td>${s.index + 1 }</td>
                                     <td>${group.id}</td>
                                    <td>${group.realName}</td>
                                    <td>${group.groupName}</td>
                                    <td><c:if test="${group.type=='1'}">医生团队</c:if></td>
                                    <td>${group.createTime}</td>
                                    <td><c:if test="${group.gpFlag=='0'}">未审核</c:if></td>
                                    <td>
                                        <button type="button" class="btn btn-info" onclick="info('${group.userLoginID}','${group.groupName}');">查看信息</button>
                                        <button type="button" class="btn btn-success" onclick="agree('${group.groupName}',1);">通过</button>
                                        <button type="button" class="btn btn-danger" onclick="refuse('${group.groupName}',2);">不通过</button>
                                    </td>
                                </tr>
                            </tbody>
                        </c:forEach>
                    </table>
                        <c:if test="${!empty list}">
                            <div id="pagerGroupType1" class="pages">
                                <%@ include file="/common/jsp/page.jsp"%>
                            </div>
                        </c:if>
                    </c:if>
                <c:if test="${page.key==2}">
                    <table class="table table-hover">
                        <thead>
                               <tr>
                                 <th>序号</th>
                                 <th>团队号</th>
                                 <th>申请人</th>
                                 <th>团队名称</th>
                                 <th>团队类型</th>
                                 <th>申请时间</th>
                                 <th>审核时间</th>
                                 <th>状态</th>
                                 <th>审核人</th>
                                 <th>操作</th>     
                             </tr>
                            </thead>
                        <c:if test="${list== null || fn:length(list) == 0}">
                            <tr>
                                <td colspan='10'><img src="${ctx }/common/img/icon_notice.png" style="width: 20px;height: 20px;"> <label style="margin-top: 20px;">没有查询已审核的团队记录</label></td>
                            </tr>
                        </c:if>
                        <c:forEach items="${list}" var="group" varStatus="s">
                            <tbody>
                                 <tr>
                                     <td>${s.index + 1 }</td>
                                     <td>${group.id}</td>
                                    <td>${group.realName}</td>
                                    <td>${group.groupName}</td>
                                    <td><c:if test="${group.type=='1'}">医生团队</c:if></td>
                                    <td>${group.createTime}</td>
                                    <td>${group.auditTime}</td>
                                    <td><c:if test="${group.gpFlag=='1'}"><span>已通过</span></c:if>
                                        <c:if test="${group.gpFlag=='2'}"><span style="color: red">未通过</span></c:if>
                                    </td>
                                    <td>${group.realName}</td>
                                    <td><button type="button" class="btn btn-info" onclick="info('${group.userLoginID}','${group.groupName}');">查看信息</button></td>
                                </tr>
                            </tbody>    
                        </c:forEach>
                    </table>
                        <c:if test="${!empty list}">
                            <div id="pagerGroupType1" class="pages">
                                <%@ include file="/common/jsp/page.jsp"%>
                            </div>
                        </c:if>
                </c:if>
            <!--     </div> -->
</body>

</html>


0 0
原创粉丝点击