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

📄 dept.jsp

📁 一个oa系统
💻 JSP
字号:
<%@ page language="java" pageEncoding="gbk"%>
<jsp:include page="islogin.jsp" flush="true"/> 
<jsp:directive.page import="java.util.List"/>
<jsp:directive.page import="com.oa.db.Department;"/>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-bean"
	prefix="bean"%>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-html"
	prefix="html"%>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-logic"
	prefix="logic"%>	
<html>
	<head>
		<title>部门信息列表</title>
		<style type="text/css">
<!--
body,td,th {
	font-size: 12px;
}
body {
	margin-left: 2px;
	margin-top: 2px;
	margin-right: 0px;
	margin-bottom: 0px;
}
a:link {
	color: #000000;
	text-decoration: none;
}
a:visited {
	text-decoration: none;
	color: #000000;
}
a:hover {
	text-decoration: underline;
	color: #333333;
}
a:active {
	text-decoration: none;
	color: #333333;
}
-->
</style>
		<link href="../css/css.css" rel="stylesheet" type="text/css" />
	</head>
	<body>
	
<table width="738" border="0" align="center" cellpadding="0" cellspacing="1">
  <tr>
    <td height="25">&nbsp;以下显示的是所有部门列表。</td>
    <td width="160">&nbsp;</td>
    <td><a href="deptoffice/adddept.jsp">添加新部门</a></td>
  </tr>
</table>

<table width="740" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#3868f8">
  <tr bgcolor="#B5B5FF">
    <td width="38" bgcolor="#CCCCCC"><div align="center">序号</div></td>
    <td width="122" bgcolor="#CCCCCC"><div align="center">部门名称</div></td>
    <td width="332" height="25" bgcolor="#CCCCCC"><div align="center">部门职责</div></td>
    <td width="108" bgcolor="#CCCCCC"><div align="center">操 作</div></td>
  </tr>
 <logic:notEmpty name="department">
 <logic:iterate id="dept" name="department">
  <tr bgcolor="#B5B5FF">
    <td bgcolor="#FFFFFF"><div align="center"><bean:write name="dept" property="id"/></div></td>
    <td bgcolor="#FFFFFF"><div align="center"><bean:write name="dept" property="department"/></div></td>
    <td height="25" bgcolor="#FFFFFF" style="padding-top:4px; padding-bottom:3px; padding-left:4px; padding-right:4px;">
    &nbsp;<bean:write name="dept" property="deptintro"/></td>
    <td bgcolor="#FFFFFF"><div align="center">
  	<html:link page="/updateDept.do" paramId="id" paramName="dept" paramProperty="id">修改</html:link>
    <html:link page="/deleteDept.do" paramId="id" paramName="dept" paramProperty="id">删除</html:link>
    </div></td>
  </tr>
  </logic:iterate>
  </logic:notEmpty>
</table>
	</body>
</html>

⌨️ 快捷键说明

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