<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>secondary</title> <mce:script type="text/javascript" src="/ngtradebackend2/js/jquery-1.3.2.min.js" mce_src="ngtradebackend2/js/jquery-1.3.2.min.js"></mce:script> <mce:script type="text/javascript" src="/ngtradebackend2/js/jquery.tablesorter.min.js" mce_src="ngtradebackend2/js/jquery.tablesorter.min.js"></mce:script> <mce:script type="text/javascript"><!-- window.οnlοad=function(){ var otable=document.getElementById("myTable"); var otbody=otable.tBodies[0]; var otrows=otbody.rows; for(var i=0;i<otrows.length;i++){ if(i%2==0){ otrows[i].className="even"; } else{ otrows[i].className="odd"; } } } $(document).ready(function() { $("table").tablesorter({ headers: { 1: {sorter: false },5: {sorter: false},8: {sorter: false} } }); }); // --></mce:script> </head> <body> <table id="myTable" class="tablesorter"> <thead> <tr> <th>ID</th> <th>名称</th> <th>游戏/类型</th> <th>线上/线下</th> <th>购买时间</th> <th>状态</th> <th>价格</th> <th>操作</th> </tr> </thead> <tbody> <c:forEach items="${model.list}" var="order"> <tr> <td>${order.id}</td> <td>${order.name}</td> <td>${order.gameName}/${order.gameTypeName}</td> <td><c:if test="${order.retrieveAccount == null}">线上</c:if><c:if test="${order.retrieveAccount != null}">线下</c:if></td> <td><fmt:formatDate value="${order.createdDate}" pattern="yyyy-MM-dd HH:mm:ss"/></td> <td> <c:if test="${model.isAllocate!=null and model.isAllocate == false}">未分配</c:if> <c:if test="${model.isAllocate!=null and model.isAllocate == true}">已分配(${order.username})</c:if> <c:if test="${model.isDeal!=null and model.isDeal == true}">已处理(${order.username})/ <c:if test="${order.tradeStatus == 1}">等待备货</c:if> <c:if test="${order.tradeStatus == 2}">备货完成</c:if> <c:if test="${order.tradeStatus == 3}">已查看账号</c:if> <c:if test="${order.tradeStatus == 4}">交易完成</c:if> <c:if test="${order.tradeStatus == 5}">交易失败</c:if> <c:if test="${order.tradeStatus == 6}">已差异备货</c:if> <c:if test="${order.tradeStatus == 7}">差异确认</c:if> <c:if test="${order.tradeStatus == 8}">已申请仲裁</c:if> </c:if> </td> <td><fmt:parseNumber value="${order.amount}" type="number"/></td> <td><c:if test="${model.isAllocate!=null and order.isLock == 0}"><input name="submit" type="submit" οnclick="showUsers(${order.id})" value="分配" class="rb1" /></c:if></td> </tr> </c:forEach> </tbody> </table> </body> </html>