<%@include file="/WEB-INF/common/layouts/common.jsp" %>
<%@ page language="java" pageEncoding="UTF-8" %>
<html>
<head>
    <title>邀请记录二级菜单</title>
</head>
<body>

<!-- 面包屑 begin -->
<div class="row-fluid">
    <div class="span12">
        <ul class="breadcrumb">
            <li class="active"><span class="divider" style="color:#26a0da;font-weight:bold;">/</span>邀请记录二级菜单
            </li>
        </ul>
    </div>
</div>
<!-- 面包屑 begin -->

<div class="page-container">
    <div class="row${fluid}">
        <div class="span12">
            <form id="filterForm" class="form-inline filterForm" action="${ctx}/invitereport/stepList/${inviteCode}"
                  method="get">
                <input type="hidden" id="inviteCode" name="inviteCode" value="${inviteCode}">
                <input type="hidden" id="city" name="city" value="${city}">
                <input type="hidden" id="startTime" name="startTime" value="${startTime}">
                <input type="hidden" id="endTime" name="endTime" value="${endTime}">

                <div class="buttons pull-right" style="margin:3px 40px 0 0;">
                    <button type="button"
                            onclick="$('#filterForm').attr('action','${ctx}/invitereport/exportStepList');$('#filterForm').submit();
                            $('#filterForm').attr('action','${ctx}/invitereport/stepList/${inviteCode}');"
                            style="margin-left: 10px;">
                        导出Excel
                    </button>
                </div>
            </form>
        </div>
    </div>
    <table class="table table-striped table-advance table-hover">
        <thead>
        <tr>
            <th width="100">编号</th>
            <th width="100">手机号</th>
            <th width="100">邀请时间</th>
        </tr>
        </thead>
        <c:forEach items="${dataList}" var="item">
            <tr>
                <td nowrap="nowrap">
                        ${item.id}
                </td>
                <td nowrap="nowrap">
                        ${item.phoneNumber}
                </td>
                <td nowrap="nowrap">
                    <c:if test="${null ne item.createTime && '' ne item.createTime}">
                        <f:formatDate value='${item.createTime}' pattern='yyyy-MM-dd HH:mm:ss'/>
                    </c:if>
                </td>
            </tr>
        </c:forEach>
    </table>
    <div class="row${fluid}">
        <house365:pagination page="${page}"/>
    </div>
</div>
<script type="text/javascript">

    var goUrl = function (){
        alert(111);
    };
</script>
</body>
</html>
