📄 ryxx.jsp
字号:
<%@ page language="java" contentType="text/html;charset=GBK"%>
<%@ include file="/include/header.inc"%>
<%@ page import="com.opensymphony.xwork.util.OgnlValueStack" %>
<%
OgnlValueStack st= (OgnlValueStack)request.getAttribute("webwork.valueStack");
%>
<html>
<head>
<title>人员信息</title>
</head>
<script language="javascript">
function subxzr(){
var xzrname="";
var empty = '<ww:property value="empty"/>';
if(empty=="true"){
alert("请选择人员!");
}else{
var len = listForm.xzr.length;
if(len!=undefined){
for(i=0;i<listForm.xzr.length;i++){
if(listForm.xzr[i].checked){
xzrname = listForm.xzr[i].value;
}
}
}else{
xzrname = document.listForm.xzr.value;
}
if(xzrname==""){
alert("请选择人员!");
}else{
var returnArray= new Array();
returnArray = xzrname.split(",");
window.returnValue = returnArray;
window.close();
}
}
}
function close(){
top.close();
}
</script>
<body>
<form name="listForm" method="POST">
<table cellspacing="0" cellpadding="0" align="center">
<tr><td class="topg"/></tr>
</table>
<table cellspacing="0" cellpadding="0" align="center" class="wukuang" >
<tr>
<td width="1%" align="left" ><img class="img" src="<%= request.getContextPath() %>/images/tleft.gif"></td>
<td width="40%" align="left" >[员工信息]</td>
<td width="58%" align="right"><a href="javascript:subxzr()"><img class="imgd" src="<%= request.getContextPath() %>/images/button/qd.gif"></a>
<a href="javascript:close()"><img class="imgd" src="<%= request.getContextPath() %>/images/button/close.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 border="1" cellspacing="1" cellpadding="2" class="bgtable" align="center" style="table-layout:fixed">
<tr align="center" class="henglan">
<td width="20%">选择</td>
<td width="50%">姓名</td>
<td width="30%">任职时间</td>
</tr>
<ww:iterator value="ryxxList" 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"><input type="radio" name="xzr" value="<ww:property value="EmployeeId"/>,<ww:property value="ygbh"/>,<ww:property value="name"/>"></td>
<td align = "left" nowrap title="<ww:property value="name"/>"><ww:property value="name"/></td>
<td align = "center" nowrap title="<ww:property value="rzsj"/>"><ww:property value="rzsj"/></td>
</tr>
</ww:iterator>
</form>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -