38 lines
1.3 KiB
Plaintext
38 lines
1.3 KiB
Plaintext
|
|
<%@ page contentType="text/html;charset=UTF-8" %>
|
||
|
|
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
|
||
|
|
<c:choose>
|
||
|
|
<c:when test="${page.totalRecord > 0}">
|
||
|
|
<c:forEach items="${page.results}" var="dict">
|
||
|
|
<tr ondblclick="setChecked(${dict.id})">
|
||
|
|
<th style="width:5%" class="center">
|
||
|
|
<label>
|
||
|
|
<input type="checkbox" id="inp${dict.id}" value="${dict.id}" class="ace inp" >
|
||
|
|
<span class="lbl">
|
||
|
|
</span>
|
||
|
|
</label>
|
||
|
|
</th>
|
||
|
|
<th style="width:15%" class="center hidden-480">${dict.id}</th>
|
||
|
|
<th style="width:30%" class="center">${dict.name}</th>
|
||
|
|
<th style="width:20%" class='center hidden-480'>
|
||
|
|
<c:if test="${dict.isActive eq 1}">是</c:if>
|
||
|
|
<c:if test="${dict.isActive != 1}">否</c:if>
|
||
|
|
</th>
|
||
|
|
<th style="width:30%" class="center">
|
||
|
|
<a href='#' title='${dict.isActive != 1?"开启":"关闭"}' onclick='changeStatus(${dict.id},${dict.isActive})' class='aBtnNoTD' >
|
||
|
|
${dict.isActive != 1?"开启":"关闭"}
|
||
|
|
</a>
|
||
|
|
</th>
|
||
|
|
</tr>
|
||
|
|
</c:forEach>
|
||
|
|
<tr>
|
||
|
|
<td colspan="5" class="center" >
|
||
|
|
<%@include file="../paging.jsp" %>
|
||
|
|
</td>
|
||
|
|
</tr>
|
||
|
|
</c:when>
|
||
|
|
|
||
|
|
<c:otherwise>
|
||
|
|
<tr><td colspan='5' class='center'>没有相关数据</td></tr>
|
||
|
|
</c:otherwise>
|
||
|
|
|
||
|
|
</c:choose>
|