a_audit.jsp
资源名称:(J2EE)oa.rar [点击查看]
上传用户:lm2018
上传日期:2015-12-12
资源大小:30449k
文件大小:3k
源码类别:
Jsp/Servlet
开发平台:
Java
- <%@ page language="java" pageEncoding="GBK" import="java.util.*"%>
- <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
- <%@ 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"%>
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html>
- <head>
- <style type="text/css">
- .tableHead{ /*表头*/
- font-size:12px;
- font-weight:bold;
- height:20pt;
- background:url(img/bg.bmp);
- text-align:buttom;
- }
- .myTable{
- border:#00A8FF 1px solid;
- border-collapse:collapse;
- /*padding:0px 0px 0px 0px;*/
- }
- .myTable TD{
- border:#00A8FF 1px solid;
- font-family:"宋体";
- font-size:10pt;
- /*height:22px;*/
- padding:0px 0px 0px 0px;
- }
- .text{
- font-family:"宋体";
- font-size:10pt;
- /*height:22px;*/
- padding:0px 0px 0px 0px;
- width:200px;
- height:22px;
- }
- </style>
- </head>
- <body>
- <table width="100%" border="1" class="myTable">
- <tr class="tableHead">
- <td colspan="2" align="center">公告信息</td>
- </tr>
- <tr>
- <td align="right" width="10%">标题: </td>
- <td align="center">${affiche.atitle}</td>
- </tr>
- <tr>
- <td align="right" width="10%">内容: </td>
- <td align="center">${affiche.acontent}</td>
- </tr>
- <tr>
- <td align="right" width="10%">发布时间: </td>
- <td align="center">${affiche.asend_time}</td>
- </tr>
- <tr>
- <td align="right" width="10%">有效时间:</td>
- <td align="center">${affiche.areal_time} </td>
- </tr>
- <tr>
- <td align="right" width="10%">发布人:</td>
- <td align="center">${affiche.fname} </td>
- </tr>
- <tr>
- <td align="right" width="10%">备注:</td>
- <td align="center">${affiche.amemo} </td>
- </tr>
- <c:if test="${affiche.affixpath!=null}">
- <%
- Map map = (Map)request.getAttribute("affiche");
- String path = (String)map.get("affixpath");
- String name = (String)map.get("affixname");
- String[] names = name.split(",");
- for(int i=0;i<names.length;i++){
- %>
- <tr>
- <td align="right" width="10%">附件<%=i+1%></td>
- <td align="center">
- <a href ="${pageContext.request.contextPath}/Jsp_file/affiche/down.jsp?filename=<%=names[i]%>"><%=names[i]%></a>
-
- </td>
- </tr>
- <%
- }
- %>
- </c:if>
- <tr>
- <td> </td>
- <td><input type="button" value="审核通过" onclick="javascript:location.href='${pageContext.request.contextPath}/affiche.do?method=audit&flag=ok&id=${affiche.aid}';""/>
-
- <input type="button" value="审核不通过" onclick="javascript:location.href='${pageContext.request.contextPath}/affiche.do?method=audit&flag=no&id=${affiche.aid}';""/>
-
- <input type="button" value="取消" onclick="javascript:history.back();"/>
- </td>
- </tr>
- </table>
- </body>
- </html>