📄 cfgemprole.jsp
字号:
<%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"%>
<%@page import="ms.hibernate.*" %>
<%@taglib uri="/WEB-INF/struts-html.tld" prefix="html"%>
<%@taglib uri="/WEB-INF/struts-bean.tld" prefix="bean"%>
<%@taglib uri="/WEB-INF/struts-logic.tld" prefix="logic"%>
<%@taglib uri="/WEB-INF/struts-tiles.tld" prefix="titles"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html:html>
<head>
<script type="text/javascript" src="mains/ts.js">
</script>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>人员配置列表</title>
</head>
<body>
</br>
</br>
<logic:present name="map">
<bean:define id="curpage" name="map" property="curpage"></bean:define>
<bean:define id="currow" name="map" property="currow"></bean:define>
<bean:define id="prepage" name="map" property="prepage"></bean:define>
<bean:define id="allpages" name="map" property="allpages"></bean:define>
<bean:define id="list" name="map" property="list" />
</logic:present>
<form action="RManager.do?control=addRole" method="post" name="form">
<table align="center" width="60%" >
<tr>
<th colspan="4">角色列表</th>
</tr>
<tr bgcolor="33CC66">
<th>人员ID</th><th>人员姓名</th><th></th>
</tr>
<logic:present name="list">
<logic:iterate id="list" name="list" indexId="index" type="Emp"
length="prepage" offset="currow">
<tr bgcolor="66CCFF">
<td align="center">${list.empid}</td>
<td align="center">${list.ename}</td>
<td align="center">
<a href="RManager.do?control=cfgEmpRole&empid=${list.empid}">配置角色</a>
</td>
</tr>
</logic:iterate>
</logic:present>
<tr bgcolor="ffffff">
<td colspan="4">
<p align="center">
<logic:equal name="curpage" value="0">
无记录
</logic:equal> <logic:notEqual name="curpage" value="0">
<logic:notEqual name="curpage" value="1">
<html:link page="/RManager.do?control=cfgEmpRoleList&curpage=1">首页</html:link>
<html:link page="/RManager.do?control=cfgEmpRoleList&curpage=${curpage-1}">上一页</html:link>
</logic:notEqual>
<logic:notEqual name="curpage" value="${allpages}">
<html:link page="/RManager.do?control=cfgEmpRoleList&curpage=${allpages}">最后一页</html:link>
<html:link page="/RManager.do?control=cfgEmpRoleList&curpage=${curpage+1}">下一页</html:link>
</logic:notEqual>
页数:${curpage}/${allpages}
</logic:notEqual></p>
</td>
<tr>
<tr>
<td colspan="3" align="center"> <input type="button" value="返    回" onclick="javascript:history.back();"></td>
</tr>
</table>
</form>
</body>
</html:html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -