affairdetail.jsp
上传用户:lm2018
上传日期:2015-12-12
资源大小:30449k
文件大小:4k
源码类别:

Jsp/Servlet

开发平台:

Java

  1. <%@ page language="java" pageEncoding="GBK"%>
  2. <%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %>
  3. <%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %>
  4. <%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic" %>
  5. <%@ taglib uri="http://struts.apache.org/tags-tiles" prefix="tiles" %>
  6. <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
  7. <%@ page import="java.text.SimpleDateFormat"%>
  8. <%@ page import="java.util.Date"%>
  9. <link href="<%=request.getContextPath()%>/Css_file/oa.css" rel="stylesheet" type="text/css" />
  10. <script src="<%=request.getContextPath()%>/Js_file/date.js"></script>
  11. <c:set var="step" value="${requestScope.affair.sprestep}"></c:set>
  12. <body <c:if test="${step+1!=requestScope.affair.tstep}">onload="init();"</c:if>>
  13. <html:form action="/affairReq" method="post" styleId="form1" enctype="multipart/form-data">
  14.  <table width="100%" border="1" cellspacing="0" class="myTable"> 
  15.   <tr>
  16.     <td colspan="4" align="center" class="tableHead"><strong>事务发起信息</strong></td>
  17. </tr> 
  18. <tr>
  19.       <td align="right" width="15%">事务等级</td>
  20.       <td colspan="3"><input name="text" type="text" style="width: 100%" disabled="disabled" value="<c:if test="${requestScope.req.rgrade==0}">一般</c:if><c:if test="${requestScope.req.rgrade==1}">重要</c:if><c:if test="${requestScope.req.rgrade==2}">紧急</c:if>"/>
  21.       </td>
  22.     </tr>
  23.     <tr>
  24.       <td align="right">事务标题</td>
  25.       <td colspan="3"><input name="text" type="text" style="width: 100%" maxlength="45" disabled="disabled" value="${requestScope.req.rtitle}"/></td>
  26.     </tr>
  27.     <tr>
  28.       <td align="right">事务详情</td>
  29.       <td colspan="3"><textarea name="text" cols="70" rows="3" disabled="disabled" value="">${requestScope.req.rdetail}</textarea></td>
  30.     </tr>
  31.     <tr>
  32.       <td align="right">希望下一环节完成时间</td>
  33.       <td colspan="3"><input type="text" name="text" style="width: 100%" disabled="disabled" value="${requestScope.req.rnexttime}"/></td>
  34.     </tr>
  35.     <tr>
  36.       <td align="right">事务发起人</td>
  37.       <td colspan="3">
  38.       <input type="text" name="text" style="width: 100%"  disabled="disabled" value="${requestScope.req.utruename}"/>
  39.       </td>
  40.     </tr>
  41.     <tr>
  42.       <td align="right">事务备注</td>
  43.       <td colspan="3"><textarea name="text" cols="70" rows="3" disabled="disabled" value="">${requestScope.req.rmemo}</textarea></td>
  44.     </tr>
  45.    
  46.   
  47.   <logic:iterate id="alist" name="audit" scope="request"> 
  48.    <c:if test="${requestScope.currentid!=null}">
  49.    <c:if test="${alist.scurrentid==requestScope.currentid}">
  50.     <tr class="tableHead">
  51.       <td  colspan="4" align="center" >       
  52.        <strong>事务第${alist.scurrentid}个环节处理信息</strong>      
  53.       </td>
  54.     </tr>
  55.     <tr>
  56.       <td align="right" width="15%">负责人</td>
  57.       <td colspan="3"><input name="text" type="text" style="width: 100%" disabled="disabled" value="${alist.utruename}"/>
  58.       </td>
  59.     </tr>
  60.     <tr>
  61.       <td align="right">处理时间</td>
  62.       <td colspan="3"><input name="text" type="text" style="width: 100%" maxlength="45" disabled="disabled" value="${alist.scurrenttime}"/></td>
  63.     </tr>
  64.     <tr>
  65.       <td align="right">希望下一环节完成时间</td>
  66.       <td colspan="3"><input type="text" name="text" style="width: 100%" disabled="disabled" value="${alist.snexttime}"/></td>
  67.     </tr>    
  68.     <tr>
  69.       <td align="right">附件</td>
  70.       <td colspan="3">
  71.        <logic:empty name="alist" property="sname">
  72.       该环节没有附件
  73.       </logic:empty>
  74.       <c:if test="${alist.sname==null}">
  75.        该环节没有附件
  76.       </c:if>
  77.       <c:if test="${alist.sname!=null}"><strong>【${alist.sname}】</strong>      
  78.       <a href="${pageContext.request.contextPath}/Jsp_file/affair/down.jsp?filename=${alist.sname}">点击下载</a>     
  79.       </c:if>  
  80.       </td>
  81.     </tr>
  82.  </c:if>     
  83.     </c:if>   
  84.     </logic:iterate>
  85.  </table>
  86.  <a href="<%=request.getContextPath()%>/login.do?method=main"><strong><< 返回首页 <strong></a>
  87. </html:form>
  88. </body>