⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 line.jsp

📁 这是一个在线办公自动化系统
💻 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-weight: bold;
	font-family: "宋体";
	font-size: 16px;
}
.style2 {
	color: #0060BF;
	font-family: "宋体";
	font-size: 16px;
	font-weight: bold;
}
.style3 {
	color: #003366;
	font-weight: bold;
}
-->
</style>
</head>
<body bgcolor="#ECF1FF">
<table width="59%" height="451" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
<form name="form2" id="form2" method="post" action=""> 
 <tr>
    <td height="21" colspan="4" align="center" background="../image/zs.gif" class="style1" >在线信息</td>
  </tr>
  <tr>
    <td height="27" colspan="3" align="center" class="style4 style3 style2 column"><strong class="style2"> 在线列表 </strong></td>
    <td width="198" rowspan="2" align="center">&nbsp;</td>
  </tr>
  <tr>
    <td width="121" height="30" align="center" class="style4 style3 style2 column"><strong class="style2">员工序号</strong></td>
    <td width="121" align="center" class="style4 style3 style2 column"><strong class="style2">员工姓名</strong></td>
    <td width="138" align="center" class="style4 style3 style2 column"><strong class="style2">员工部门</strong></td>
    </tr>
  <tr>
    <td colspan="3" rowspan="4" align="center">
	<textarea name="textarea" cols="50" rows="20" disabled>
<% 	
	int delid=0,temp=0;
	UserList list=UserList.getInstance();
	try{
		delid=Integer.parseInt((String)request.getParameter("delid"));
	}catch(Exception e){
		delid=-1;
	}
	if(delid!=-1){
		temp=list.removeUser(delid);
		if(temp>0){
		}
	}
	Vector  vector=list.getList();
	if(!vector.isEmpty()&&vector!=null){
	Enumeration em=vector.elements();
		while(em.hasMoreElements()){
			Eminfo emin=(Eminfo)em.nextElement();
			if(emin.getId()!=-1){
				out.print(emin.getId()+"            ");
				out.print(emin.getName()+"            ");
				out.print(emin.getDepartment()+"            ");
			}
		}
	}
%>	</textarea></td>
    <td height="80" align="center" class="advise"><span class="style3">删除在线人员</span></td>
  </tr>
  <tr>
    <td height="80" align="center">
	<input type="submit" name="Submit2" value="删除" /> &nbsp;&nbsp;
	<input type="text" name="delid" /></td>
  </tr>
</form>
  <tr>
<form name="form2" id="form2" action=""> 
    <td height="80" align="center"><input type="submit" name="Submit" value="刷新" /></td>
</form>
  </tr>
</table>
</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -