📄 user_list.jsp
字号:
<%@page contentType="text/html; charset=GBK"%>
<%@taglib uri="/WEB-INF/struts-html.tld" prefix="html"%>
<%@taglib uri="/WEB-INF/struts-logic.tld" prefix="logic"%>
<%@taglib uri="/WEB-INF/struts-bean.tld" prefix="bean"%>
<%@taglib uri="/WEB-INF/tops.tld" prefix="tops"%>
<html:html>
<head>
<tops:includeCSS fileName="style"/>
<tops:includeCSS fileName="headstyle"/>
<tops:includeJs fileName="common"/>
<tops:includeJs fileName="Table"/>
<script type="text/javascript">
function search(){
if(window.event.keyCode==13){
if(document.all.userName.value!=''){
document.all.method.value='search';
document.forms[0].submit();
}else{
window.event.keyCode=null;
}
}
}
</script>
</head>
<body onload="document.all.userName.select()">
<html:form action="/actTopsSystemUser.do" method="POST">
<input type="hidden" name="method"/>
<tops:showPageFunction pageFunction="系统维护——用户管理 "/>
<tops:toolbar>
<tops:toolbutton caption="新增" method="add" image="page_add"/>
<tops:toolbutton caption="删除" confirm="确定删除这些用户吗,一旦删除不可恢复!!!" method="delete" image="page_delete"/>
<tops:checkPower action="actTopsSystemUser" method="search">
<td>
<html:text property="userName" onkeydown="search()"/>
</td>
<tops:toolbutton caption="查询" image="application_form_magnify" method="search" onClick="search()" checkAtClient="false"/>
</tops:checkPower>
</tops:toolbar>
<table cellpadding="0" cellspacing="1" border="0" width="100%" id="PowerTable">
<tr align="center">
<td height="20" width="5%" nowrap class="title">
<tops:selectAllCheckBox/>
</td>
<td width="5%" nowrap class="title">序号</td>
<td width="10%" nowrap class="title">登录号</td>
<td width="8%" nowrap class="title">姓名</td>
<td width="8%" nowrap class="title">员工编号</td>
<td width="10%" nowrap class="title">最近登录时间</td>
<td width="10%" nowrap class="title">用户创建时间</td>
<td width="8%" nowrap class="title">创建者</td>
<td width="10%" nowrap class="title">停用时间</td>
<td width="8%" nowrap class="title">停用人</td>
<td width="15%" nowrap class="title">操作</td>
</tr>
<logic:notEmpty name="pagedata" property="pageData">
<logic:iterate id="obj" name="pagedata" property="pageData" indexId="index">
<tr align="center">
<td height="20">
<tops:selectCheckBox/>
</td>
<td>
<tops:tableOrd/>
</td>
<td>
<tops:link action="actTopsSystemUser" caption="" method="modify" argname1="id" argbeanproperty1="page-obj-id" captionbeanproperty="page-obj-loginId"/>
</td>
<td>
<bean:write name="obj" property="userName"/>
</td>
<td>
<bean:write name="obj" property="emId"/>
</td>
<td>
<bean:write name="obj" property="sd_RecentLoginTime"/>
</td>
<td>
<bean:write name="obj" property="sd_ZzCreateDate"/>
</td>
<td>
<bean:write name="obj" property="zzCreateUser"/>
</td>
<td>
<bean:write name="obj" property="sd_ZzRemoveDate"/>
</td>
<td>
<bean:write name="obj" property="zzRemoveUser"/>
</td>
<td>
<logic:empty name="obj" property="zzRemoveDate">
<tops:link action="actTopsSystemUser" confirm="确定停用该用户吗?一旦停用该用户不能再登陆系统" caption="停用" method="stop" argname1="id" argbeanproperty1="page-obj-id"/>
</logic:empty>
<logic:notEmpty name="obj" property="zzRemoveDate">
<tops:link action="actTopsSystemUser" confirm="确定重新启用该用户吗?" caption="重新启用" method="reuse" argname1="id" argbeanproperty1="page-obj-id"/>
</logic:notEmpty>
</td>
</tr>
</logic:iterate>
</logic:notEmpty>
<logic:empty name="pagedata" property="pageData">
<tr>
<td colspan="11" height="20" align="center">没有数据</td>
</tr>
</logic:empty>
</table>
</html:form>
<bean:write name="pagedata" property="pageStr" scope="request" filter="false"/>
</body>
</html:html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -