deptlist.jsp
资源名称:(J2EE)oa.rar [点击查看]
上传用户:lm2018
上传日期:2015-12-12
资源大小:30449k
文件大小:2k
源码类别:
Jsp/Servlet
开发平台:
Java
- <%@ page language="java" pageEncoding="GBK"%>
- <%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %>
- <%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %>
- <%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic" %>
- <%@ taglib uri="http://struts.apache.org/tags-tiles" prefix="tiles" %>
- <div align="center"><FONT color="red">${msg}</FONT></div>
- <table width="100%" border="1" cellpadding="0" cellspacing="0" bordercolor="#66CCFF">
- <tr class="tableHead" height="50" style="font-size: 20px">
- <td colspan="6" align="center">部门信息编辑</td>
- </tr>
- <tr align="center">
- <td>部门名称</td>
- <td>部门功能</td>
- <td>部门负责人</td>
- <td>部门备注</td>
- <td>状态</td>
- <td>操作<html:link action="/dept.do?method=add">[添加]</html:link></td>
- </tr>
- <logic:empty name="deptpage" property="list" scope="request">
- <TR>
- <TD colspan="12"><FONT color="red">提示:没有数据。。。。</FONT></TD>
- </TR>
- </logic:empty>
- <logic:present name="deptpage" scope="request">
- <logic:present name="deptpage" property="list" scope="request">
- <logic:notEmpty name="deptpage" property="list" scope="request">
- <logic:iterate id="dept" name="deptpage" property="list" scope="request">
- <tr align="center">
- <td>${dept.dname}</td>
- <td>${dept.dfunction}</td>
- <td>${dept.uname}</td>
- <td>${dept.dmemo}</td>
- <td><FONT color="red">${dept.dflag=='0'?'可用':'已锁'}</FONT></td>
- <td><html:link action="/dept.do?method=update&did=${dept.did}">修改</html:link>
-
- <html:link action="/dept.do?method=${dept.dflag=='0'?'close':'open'}&did=${dept.did}">
- ${dept.dflag=='0'?'删除':'恢复'}</html:link>
- </td>
- </tr>
- </logic:iterate>
- </logic:notEmpty>
- </logic:present>
- </logic:present>
- </table>
- ${deptpage.pageBar}