⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 rolelistview.jsp

📁 这是一个用java三层框架做的ISS学员管理系统
💻 JSP
字号:
<%--
  Created by IntelliJ IDEA.
  User: Songzou
  Date: 2007-04-08
  Time: 11:48:00
--%>
<%@ page language="java" pageEncoding="GBK"%>
<%@ include file="/WEB-INF/jsp/inc/taglib.jsp"%>
<%@ include file="/WEB-INF/jsp/inc/css.jsp"%>
<%@ include file="/WEB-INF/jsp/inc/js.jsp"%>
<script type="text/javascript" src="js/system/usercode.js"></script>
<html>
<head>
<meta http-equiv="Pragma" content="no-cache">
<title>角色选择</title>
<base target="_self"/>
</head>
<body >
<br>
<div align="center">
  <table width="590">
    <form action="roleAction.do?method=roleListView" name="rolelistform" method="post" id="pageform">
    <tr>
      <td style="width:80px;">角色名称</td>
      <td style="width:140px;"><input type="text" name="rolename" class="char" value="<c:out value="${pageInfo.rolename}"/>"></td>
      <td style="width:80px;">角色状态</td>
      <td>
        <select name="state" class="select" style="width:80px;">
          <option value="">--请选择--</option>
          <option value="0" <c:if test="${pageInfo.state=='0'}">selected</c:if>>未启用</option>
          <option value="1" <c:if test="${pageInfo.state=='1'}">selected</c:if>>已启用</option>
          <option value="2" <c:if test="${pageInfo.state=='2'}">selected</c:if>>已禁用</option>
        </select>
      </td><td><input type="submit" class="btn" imageType="find" value="查询" style="width:70"></td>
      <td>&nbsp;</td>
      <td><input type="button" class="btn" imageType="refresh" value="刷新" style="width:70" onclick="clearForm('rolelistform');postForm('rolelistform');"></td>
      <td>&nbsp;</td>
    </tr>
    </form>
  </table>
  </div>
  <table class="table" width="590" align="center">
  <thead class="thead">
    <tr>
      <td align="center">序号</td>
      <td width="200">角色名称</td>
      <td align="center">角色状态</td>
      <td align="center">操作</td>
    </tr>
  </thead>
  <tbody class="tbody" fixRow="${pageInfo.perPageRows}">
    <c:forEach var="role" items="${pageInfo.pageList}" varStatus="status">
    <tr>
      <td align="center"><c:out value="${status.index+1}"/></td>
      <td onclick="selectrole('${role.roleid}','${role.rolename}','${role.state}')" style="cursor: hand;"><c:out value="${role.rolename}"/></td>
      <td align="center"><c:choose>
	        <c:when test="${role.state=='0'}"><font color="#999999">未启用</font></c:when>
	        <c:when test="${role.state=='1'}">已启用</c:when>
	        <c:when test="${role.state=='2'}"><font color="#FF0000">已禁用</font></c:when>
        </c:choose>
      </td>
      <td align="center"><a href="javascript:void(0);" onClick="selectrole('${role.roleid}','${role.rolename}','${role.state}')">选择</a></td>
    </tr>
    </c:forEach>
  </tbody>
   <tfoot class="tfoot">
   	<tr><td colspan="4" align="right"><c:out value="${pageInfo.html}" escapeXml="false"/></td></tr>
   </tfoot>
</table>
</div>
<br>
	<p align="center"><input type="button" class="btn" imageType="cancel" style="width:80" value="关闭" onClick="window.close()"></p>
<br>
&nbsp;
&nbsp;
<br>
</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -