<table class="table" width="1169" layoutH="138">
<thead>
<tr> <th width="300" orderField="levelCode" <c:if test="${ pageModel.orderField=='levelCode'}">class="${pageModel.orderDirection}"</c:if>">层次代码</th>
<th width="300" orderField="levelName" <c:if test="${ pageModel.orderField=='levelName'}">class="${pageModel.orderDirection}"</c:if>">层次名称</th>
<th width="300" >备注</th>
<c:if test="${!empty(userId) and empty(loginUser.collegeId)}">
<th width="150">操作</th>
</c:if>
</tr>
</thead>
<tbody>
<c:forEach items="${pageModel.list}" var = "item">
<tr target="sid_level" rel="${item.id}">
<td>${item.levelCode}</td>
<td>${item.levelName}</td>
<td>${item.re}</td>
<c:if test="${!empty(userId) and empty(loginUser.collegeId)}">
<td>
<a class="btnDel" title="删除" href="${contextPath }/level/deleteLevelAction.do?level.id=${item.id}" target="ajaxTodo" ><span>删除</span></a>
<a title="编辑" class="btnEdit" target="dialog" mask="true" href="${contextPath }/level/showUpdateLevelAction.do?level.id=${item.id}"><span>修改</span></a>
</td>
</c:if>
</tr>
</c:forEach>
</tbody>
</table>直接上代码
<thead>
<tr> <th width="300" orderField="levelCode" <c:if test="${ pageModel.orderField=='levelCode'}">class="${pageModel.orderDirection}"</c:if>">层次代码</th>
<th width="300" orderField="levelName" <c:if test="${ pageModel.orderField=='levelName'}">class="${pageModel.orderDirection}"</c:if>">层次名称</th>
<th width="300" >备注</th>
<c:if test="${!empty(userId) and empty(loginUser.collegeId)}">
<th width="150">操作</th>
</c:if>
</tr>
</thead>
<tbody>
<c:forEach items="${pageModel.list}" var = "item">
<tr target="sid_level" rel="${item.id}">
<td>${item.levelCode}</td>
<td>${item.levelName}</td>
<td>${item.re}</td>
<c:if test="${!empty(userId) and empty(loginUser.collegeId)}">
<td>
<a class="btnDel" title="删除" href="${contextPath }/level/deleteLevelAction.do?level.id=${item.id}" target="ajaxTodo" ><span>删除</span></a>
<a title="编辑" class="btnEdit" target="dialog" mask="true" href="${contextPath }/level/showUpdateLevelAction.do?level.id=${item.id}"><span>修改</span></a>
</td>
</c:if>
</tr>
</c:forEach>
</tbody>
</table>直接上代码
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货