boardroom_apply_show.jsp
上传用户:jhtang88
上传日期:2014-01-27
资源大小:28528k
文件大小:4k
源码类别:

Jsp/Servlet

开发平台:

Java

  1. <%@ page contentType="text/html; charset=utf-8"%>
  2. <%@ page import = "java.net.URLEncoder"%>
  3. <%@ page import = "java.util.*"%>
  4. <%@ page import = "cn.js.fan.util.*"%>
  5. <%@ page import = "cn.js.fan.web.*"%>
  6. <%@ page import = "com.redmoon.oa.meeting.*"%>
  7. <html xmlns="http://www.w3.org/1999/xhtml">
  8. <head>
  9. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  10. <title>无标题文档</title>
  11. <link href="../common.css" rel="stylesheet" type="text/css">
  12. <style type="text/css">
  13. <!--
  14. .style2 {font-size: 14px}
  15. -->
  16. </style>
  17. <script language="JavaScript" type="text/JavaScript">
  18. <!--
  19. function findObj(theObj, theDoc)
  20. {
  21.   var p, i, foundObj;
  22.   
  23.   if(!theDoc) theDoc = document;
  24.   if( (p = theObj.indexOf("?")) > 0 && parent.frames.length)
  25.   {
  26.     theDoc = parent.frames[theObj.substring(p+1)].document;
  27.     theObj = theObj.substring(0,p);
  28.   }
  29.   if(!(foundObj = theDoc[theObj]) && theDoc.all) foundObj = theDoc.all[theObj];
  30.   for (i=0; !foundObj && i < theDoc.forms.length; i++) 
  31.     foundObj = theDoc.forms[i][theObj];
  32.   for(i=0; !foundObj && theDoc.layers && i < theDoc.layers.length; i++) 
  33.     foundObj = findObj(theObj,theDoc.layers[i].document);
  34.   if(!foundObj && document.getElementById) foundObj = document.getElementById(theObj);
  35.   
  36.   return foundObj;
  37. }
  38. //-->
  39. </script>
  40. </head>
  41. <body>
  42. <%@ include file="boardroom_inc_apply_top.jsp"%>
  43. <%
  44. String strFlowId = ParamUtil.get(request, "flowId");
  45. int flowId = Integer.parseInt(strFlowId);
  46. BoardroomApplyDb bad = new BoardroomApplyDb();
  47. bad = bad.getBoardroomApplyDb(flowId);
  48. String beginDate = "";
  49. if(bad.getStart_date() == null){
  50.   beginDate = "";
  51. }else{
  52.   beginDate = DateUtil.format(bad.getStart_date(), "yy-MM-dd HH:mm");
  53. }
  54. String endDate = "";
  55. if(bad.getEnd_date() == null){
  56.   endDate = "";
  57. }else{
  58.   endDate = DateUtil.format(bad.getEnd_date(), "yy-MM-dd HH:mm");
  59. }
  60. String applyDate = "";
  61. if(bad.getApply_date() == null){
  62.   applyDate = "";
  63. }else{
  64.   applyDate = DateUtil.format(bad.getApply_date(), "yy-MM-dd HH:mm");
  65. }
  66. String hyshi = "";
  67. if(!bad.getHyshi().equals("")){
  68. BoardroomDb bd = new BoardroomDb();
  69. bd = bd.getBoardroomDb(Integer.parseInt(bad.getHyshi()));
  70. hyshi = bd.getName();
  71. }
  72. %>
  73. <form action="vehicle_maintenance_do.jsp?op=modify" method="post" name="form1">
  74. <table  width="840" border="0" align="center" cellpadding="2" cellspacing="1" bgcolor="#FFFFFF" class="tableframe">
  75.     <tbody>
  76.       <tr>
  77.         <td height="23" valign="middle" class="right-title" colspan="4"><span>&nbsp;会议详细信息</span></td>
  78.       </tr>
  79.       <tr>
  80.         <td nowrap width="103">申&nbsp;&nbsp;请&nbsp;&nbsp;人:</td>
  81.         <td width="344"><%=bad.getSqren()%></td>
  82.         <td width="78">参会人数:</td>
  83.         <td width="292"><%=bad.getChrs()%></td>
  84.       </tr>
  85.       <tr>
  86.         <td nowrap width="103">会议名称:</td>
  87.         <td colspan="3"><%=bad.getMeetingTitle()%></td>
  88.       </tr>
  89.       <tr>
  90.         <td nowrap>会&nbsp;&nbsp;议&nbsp;&nbsp;室:</td>
  91.         <td colspan="3"><%=hyshi%></td>
  92.       </tr>
  93.       <tr>
  94.         <td nowrap>申请日期:</td>
  95.         <td colspan="3"><%=applyDate%></td>
  96.       </tr>
  97.       <tr>
  98.         <td nowrap>开始日期:</td>
  99.         <td colspan="3"><%=beginDate%></td>
  100.       </tr>
  101.       <tr>
  102.         <td nowrap>结束日期:</td>
  103.         <td colspan="3"><%=endDate%></td>
  104.       </tr>
  105.       <tr>
  106.         <td nowrap width="103">会议内容:</td>
  107.         <td colspan="3"><%=bad.getHycontent()%></td>
  108.       </tr>
  109.       <tr>
  110.         <td nowrap width="103">参会人员:</td>
  111.         <td colspan="3"><%=bad.getChrenyuan()%></td>
  112.       </tr>
  113.       <tr>
  114.         <td nowrap>审批意见</td>
  115.         <td colspan="3"><%=bad.getSpyjian()%></td>
  116.       </tr>
  117.       <tr>
  118.         <td nowrap width="103">审批结果:</td>
  119.         <td colspan="3"><%=bad.getResult()%></td>
  120.       </tr>
  121.     </tbody>
  122.   </table>
  123. </form>
  124. </body>
  125. </html>