<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
				<c:forEach var="list" items="${list}" varStatus="status">
					<li>
					<a class="jinduli" href="web/mgmOrder/getOrderProgressDeteails.cs?type=recommend&orderId=${list.ID}">
						<div class="left jindule">
							<h3>客户：${list.CUSTOMER_NAME}</h3>
							<p>跟单：${list.SALER_NAME}</p>
						</div>
						<div class="left jinduri">
							<h3><span class="left">联系电话：</span><span class="blutxt right">${list.CUSTOMER_PHONE}</span></h3>
							<div class="clear">
								<p class="redtxt left">
									<c:if test="${list.ORDER_TYPE=='1' }">
											<c:choose>
											<c:when test="${list.ORDER_STATE=='0'}">备案成功</c:when>
											<c:when test="${list.ORDER_STATE=='1'}">受理成功</c:when>
											<c:when test="${list.ORDER_STATE=='2'}">邀约成功</c:when>
											<c:when test="${list.ORDER_STATE=='3'}">到访成功</c:when>
											<c:when test="${list.ORDER_STATE=='4'}">认购成功</c:when>
											<c:when test="${list.ORDER_STATE=='5'}">签约成功</c:when>
											<c:when test="${list.ORDER_STATE=='6'}">确认签约</c:when>
											<c:otherwise>
												交房
											</c:otherwise>
										</c:choose>
									</c:if>
									<c:if test="${list.ORDER_TYPE=='2' }">
										<c:choose>
											<c:when test="${list.ORDER_STATE=='0'}">备案成功</c:when>
											<c:when test="${list.ORDER_STATE=='1'}">订单推进中</c:when>
											<c:when test="${list.ORDER_STATE=='2'}">签约成功</c:when>
											<c:when test="${list.ORDER_STATE=='3'}">确认签约</c:when>
										</c:choose>
									</c:if>
								
								</p>
								<p class="graytxt right"><fmt:formatDate value="${list.CREATE_DATE}" pattern="yyyy-MM-dd" /></p>
							</div>
						</div>
						<img class="jinduimg right" src="app/img/fanh3@2x.png" alt="">
					</a>
				</li>
				</c:forEach>
