📄 view.jsp
字号:
<%@ page contentType="text/html; charset=gb2312" language="java" errorPage="" %>
<%@ include file="../hear/hear.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>员工状态查看</title>
<link href="../css/work.css" rel="stylesheet" type="text/css" />
<script src="../js/oa.js"></script>
<style type="text/css">
<!--
.style1 {
color: #000000;
font-family: "宋体";
font-weight: bold;
font-size: 16px;
}
.style8 {font-family: "宋体"; font-weight: bold; color: #0060BF; font-size: 14px; }
.style9 {
color: #003366;
font-weight: bold;
}
-->
</style>
</head>
<body bgcolor="#ECF1FF">
<table width="49%" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
<tr >
<td height="22" background="../image/zs.gif" colspan="3" align="center" class="title style1">员工状态信息一览表</td>
</tr>
<tr align="center" class="column">
<td width="205" height="30"><span class="style8">员工状态序号</span></td>
<td width="289"><span class="style8">员工状态名称</span></td>
<td width="284" height="30"><span class="style8">大概工作描述</span></td>
</tr>
<%
Collection coll=(Collection)request.getAttribute("msg");
if(coll==null){
%>
<tr align="center">
<td height="30" colspan="3" class="advise"><span class="style9">没有添加员工状态</span></td>
</tr>
<%
}else{
Iterator it=coll.iterator();
while(it.hasNext()){
Department dep=(Department)it.next();
%>
<tr align="center">
<td height="22"><%= dep.getId() %></td>
<td><%= dep.getName() %></td>
<td height="22" align="center"><%= dep.getExplain() %></td>
</tr>
<%
}
}
request.removeAttribute("msg");
%>
<tr align="right" bgcolor="#ECF1FF">
<td colspan="3"><span class="return" onclick="javascript:history.go(-1);">返回</span> </td>
</tr>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -