📄 list.jsp
字号:
<%@page contentType="text/html;charset=GBK"%>
<%@ taglib prefix="ww" uri="webwork" %>
<%@ include file="/include/header.inc"%>
<%@ page import="com.opensymphony.xwork.util.OgnlValueStack" %>
<%@ page import="com.wygl.xtgl.domain.Role" %>
<%@ page import="java.util.List" %>
<%@ page import="java.util.ArrayList" %>
<%@ page import="java.util.Iterator" %>
<script language="javascript">
<!--
function delUsersSub(){
if(hasChecked(delForm)==false){
alert("请选择要删除的用户");
return;
}
if(confirm("您确定要删除选中的人员吗?")==true){
document.delForm.submit();
}
}
function query(){
document.delForm.action="User!list.action";
document.delForm.submit();
}
//-->
</script>
<table cellspacing="0" cellpadding="0" align="center">
<tr><td class="topg"/></tr>
</table>
<table cellspacing="0" cellpadding="0" align="center" class="wukuang" >
<form name="delForm" action="User!delete.action">
<tr>
<td width="1%" align="left" ><img class="img" src="<%= request.getContextPath() %>/images/tleft.gif"></td>
<td width="20%" align="left">[用户管理]</td>
<td width="10%" align="right">用户名</td>
<td width="18%" align="right"><input class="inputt" size = "12" maxlength = "12" name="strName" value="<ww:property value="strName"/>"/></td></td>
<td width="50%" align="right">
<a href="javascript:query();"/><img class="imgd" src="<%= request.getContextPath() %>/images/button/find.gif"/></a>
<a href="javascript:delUsersSub();"/><img class="imgd" src="<%= request.getContextPath() %>/images/button/del.gif"></a>
</td>
<td width="1%" align="left" ><img class="img" src="<%= request.getContextPath() %>/images/tright.gif"></td>
</tr>
</table>
<table cellspacing="0" cellpadding="0" align="center">
<tr><td class="topg"/></tr>
</table>
<table width="98%" align="center" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><img class="img" src="<%= request.getContextPath() %>/images/result.gif" align="absmiddle"></td>
</tr>
</table>
<table border="1" cellspacing="1" cellpadding="2" align="center" class="bgtable" style="table-layout:fixed">
<tr align="center" class="henglan">
<td width="7%" align="center">操作</td>
<td width="5%"><div align="center">序号</div></td>
<td width="4%" align="center"><input type="checkbox" name="all" onclick="javascrpt:check(delForm,delForm.all);" class="wu"></td>
<td width="10%" align="center">用户名</td>
<td width="20%" align="center">邮箱地址</td>
<td width="10%" align="center">姓名</td>
<td width="25%" align="center">部门或班组</td>
<td width="20%" ><div align="center">岗位</div></td>
</tr>
<ww:iterator value="users" status="status">
<ww:if test="#status.odd == true">
<tr class="tabtd1" onMouseOver="MouseMoveIn(this);" onMouseOut="MouseMoveOut(this);">
</ww:if><ww:else>
<tr class="tabtd2" onMouseOver="MouseMoveIn(this);" onMouseOut="MouseMoveOut(this);">
</ww:else>
<td align="center"><a href="User!modifyuser.action?selectedUser=<ww:property value="id"/>"><img class="img" src="<%= request.getContextPath() %>/images/button/modify.gif" alt="分组编辑"></a></td>
<td align="center"><ww:property value="#status.count"/></td>
<td align="center"><input type="checkbox" name="userIds[<ww:property value="#status.count-1"/>]" value="<ww:property value="id"/>"></td>
<td title="<ww:property value="name"/>"><ww:property value="name"/> </td>
<td title="<ww:property value="email"/>"><ww:property value="email"/> </td>
<td title="<ww:property value="employee.name"/>"><ww:property value="employee.name"/> </td>
<td title="<ww:property value="employee.department.dwmc"/><ww:property value="employee.bzmc"/>"><ww:property value="employee.department.dwmc"/> <ww:property value="employee.bzmc"/> </td>
<td title="<ww:property value="employee.gw"/>"><ww:property value="employee.gw"/></td>
</tr>
</ww:iterator>
</form>
</table>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -