task_pending_conference.jsp
上传用户:guhaomin
上传日期:2007-06-10
资源大小:23203k
文件大小:8k
源码类别:

电子政务应用

开发平台:

Java

  1. <%@ include file="/vnex/head.jsp"%>
  2. <%@ page errorPage="/vnex/ErrorPage.jsp" %>
  3. <%@ page import="java.util.*" %>
  4. <%@ page import="com.vnex.intranet.workflow.pub.value.*" %>
  5. <%@ page import="com.vnex.intranet.workflow.util.*" %>
  6. <HTML>
  7. <script language=JavaScript>
  8. function SelectAll(form)
  9. {
  10.   for (var i=0;i<form.elements.length;i++)
  11.   {
  12.     var e = form.elements[i];
  13.     if (e.name != 'C1')
  14.        e.checked = form.C1.checked;
  15.   }
  16. }
  17. </script>
  18. <jsp:useBean id="BusinessName" scope="session" class="com.vnex.intranet.pub.BusinessSession" />
  19. <jsp:useBean id="proxy" scope="session" class="com.vnex.intranet.workflow.taskpending.proxy.TaskPendingProxyBean" />
  20. <jsp:useBean id="taskPendingInfo" scope="session" class="com.vnex.intranet.workflow.taskpending.value.TaskPendingValueBean" />
  21. <jsp:useBean id="projectInfo" scope="session" class="com.vnex.intranet.workflow.projectmanagement.value.PmValueBean" />
  22. <jsp:useBean id="docInfo" scope="session" class="com.vnex.intranet.workflow.document.value.DocumentSendValueBean" />
  23. <jsp:useBean id="workflowFileInfo" scope="session" class="com.vnex.intranet.workflow.pub.value.WorkflowFileValueBean" />
  24. <jsp:useBean id="routeInfo" scope="session" class="com.vnex.intranet.workflow.pub.value.RouteValueBean" />
  25. <jsp:useBean id="confInfo" scope="session" class="com.vnex.intranet.conference.value.ConferenceValueBean" />
  26. <%
  27.     session.removeAttribute("routeInfo");
  28.     session.removeAttribute("click");
  29.     
  30.     int workflowId = Integer.parseInt(request.getParameter("workflowId"));
  31.     int subtaskId = Integer.parseInt(request.getParameter("subtaskId"));
  32.     
  33.     int workflowtypeId = Integer.parseInt(request.getParameter("workflowtypeId"));
  34.     int subtasktypeId = Integer.parseInt(request.getParameter("subtasktypeId"));
  35.     
  36.     int execId = Integer.parseInt(request.getParameter("execId"));
  37.     int querytype = Integer.parseInt(request.getParameter("querytype"));
  38.             
  39.     SubTaskValueBean sub = new SubTaskValueBean();        
  40.     
  41.     taskPendingInfo = proxy.getPretaskDetailInfo(workflowId,workflowtypeId);
  42.     confInfo = taskPendingInfo.getConferenceInfo();
  43.     
  44.     
  45.     //get the start date
  46.     java.sql.Timestamp dStartTime = confInfo.getBeginDate();
  47.     String sStartTime = dStartTime.toString();
  48.     String showStartTime = sStartTime.substring( 0 , sStartTime.lastIndexOf(":") );           
  49.     //get the end date
  50.     java.sql.Timestamp dEndTime = confInfo.getEndDate();
  51.     String sEndTime = dEndTime.toString();
  52.     String showEndTime = sEndTime.substring( 0 , sEndTime.lastIndexOf(":") ); 
  53.     // get the update date 
  54.     java.sql.Timestamp dUpdate = confInfo.getUpdateDate();
  55.     //if ( dUpdate != null )
  56.     String sUpdate = dUpdate.toString();
  57.     String showUpdateTime = sUpdate.substring( 0 , sUpdate.lastIndexOf(":") ); 
  58.     
  59. %>
  60. <jsp:include page="/vnex/page/FORM_HEAD.jsp" />
  61. <BODY text=#000000 vLink=#000000 aLink=#000000 link=#000000 bgColor=#ffffff topMargin=20 leftmargin="0" marginwidth="0" marginheight="0">
  62. <script language="JavaScript1.2" src="/vnex/menu/dockmenu_person.js"></script>
  63. <script language="JavaScript1.2" src="/vnex/menu/dockmenu.js"></script>
  64. <script language=JavaScript>
  65. function acceptor(form)
  66. {  
  67.   form.action="/mainctrl/taskpending/taskPendingConferenceSummary?workflowId=<%=workflowId%>&workflowtypeId=<%=workflowtypeId%>&subtaskId=<%=subtaskId%>&subtasktypeId=<%=subtasktypeId%>&execId=<%=execId%>&statusId=<%=ExecutorStatus.AGREE%>&querytype=<%=querytype%>";
  68.   form.submit();
  69. }
  70. function refuse(form)
  71. {
  72.   form.action="/mainctrl/taskpending/taskPendingConferenceSummary?workflowId=<%=workflowId%>&workflowtypeId=<%=workflowtypeId%>&subtaskId=<%=subtaskId%>&subtasktypeId=<%=subtasktypeId%>&execId=<%=execId%>&statusId=<%=ExecutorStatus.DISAGREE%>&querytype=<%=querytype%>";
  73.   form.submit();
  74. }
  75. function goback(form)
  76. {
  77.     form.action="/mainctrl/taskpending/taskPendingList?querytype=<%=querytype%>";
  78.     form.submit();
  79. }
  80. </script>
  81. <DIV align=center>
  82. <form name="form1" method="post" action=""><br>
  83.   <TABLE class=outter cellSpacing=0 cellPadding=0 width=600 border=0>
  84.     <TBODY> 
  85.        <jsp:include page="/vnex/page/TTOA_TABLE_TOP.jsp" />    
  86.     <TR> 
  87.         <TD colSpan=3 align="center" class="iframestyle" valign="top"> <br>
  88.           <table width="600" border="1" cellspacing="1" bordercolor="#666666">
  89.             <tr align="center"> 
  90.               <td bgcolor="#fafafa" >
  91.                  
  92.                 <table class=title cellpadding="2" cellspacing="1" border="0" width="600">
  93.                   <tr> 
  94.                      
  95.                     <td bgcolor="#666666" colspan=6><font class="strongw">&nbsp;<a href="/mainctrl/home/index"><font color="#FFFFFF">首页</font></a>&gt;&gt;<a href="/mainctrl/personal/main"><font color="#FFFFFF">个人办公</font></a>&gt;&gt;<a href="/mainctrl/taskpending/taskPendingList"><font color="#FFFFFF">待办事宜</font></a>&gt;&gt;会议通知</font></td>
  96.                   </tr>
  97.                   <tr bgcolor="#fafafa"> 
  98.                     <td width="162"> <font class="strong">&nbsp;会议主题:</font> </td>
  99.                     <td colspan="5" width="425"> <%=confInfo.getSubject()%> </td>
  100.                   </tr>
  101.                   <tr bgcolor="#e0e0e0"> 
  102.                     <td width="162"><font class="strong">&nbsp;会议地点:</font></td>
  103.                     <td colspan="5" width="425"> <%=confInfo.getBoardroomName()%> 
  104.                     </td>
  105.                   </tr>
  106.                   <tr> 
  107.                     <td bgcolor="#fafafa" width="162"><font class="strong">&nbsp;开始时间:</font></td>
  108.                     <td colspan="5" bgcolor="#fafafa" width="425"> <%=showStartTime%> 
  109.                     </td>
  110.                   </tr>
  111.                   <tr> 
  112.                     <td bgcolor="#e0e0e0" width="162"> <font class="strong">&nbsp;计划结束时间:</font></td>
  113.                     <td colspan="5" bgcolor="#e0e0e0" width="425"> <%=showEndTime%> 
  114.                     </td>
  115.                   </tr>
  116.                   <tr> 
  117.                     <td bgcolor="#fafafa" width="162"><font class="strong">&nbsp;发起人:</font> 
  118.                     </td>
  119.                     <td colspan="5" bgcolor="#fafafa" width="425"> <%=confInfo.getCreatorName()%> 
  120.                     </td>
  121.                   </tr>
  122.                   <tr bgcolor="#e0e0e0"> 
  123.                     <td width="162"><font class="strong">&nbsp;联系人:</font></td>
  124.                     <td colspan="5" width="425"> <%=confInfo.getContactWay()%> 
  125.                     </td>
  126.                   </tr>
  127.                   <tr> 
  128.                     <td bgcolor="#fafafa" width="162"><font class="strong">&nbsp;会议最后通知时间:</font> 
  129.                     </td>
  130.                     <td colspan="5" bgcolor="#fafafa" width="425"> <%=showUpdateTime%> 
  131.                     </td>
  132.                   </tr>                  
  133.                   <tr> 
  134.                     <td bgcolor="#e0e0e0" width="162"><font class="strong">&nbsp;描述:</font> 
  135.                     </td>
  136.                     <td colspan="5" bgcolor="#e0e0e0" width="425"> <%=confInfo.getDescription()%> 
  137.                     </td>
  138.                   </tr>
  139.                   <tr bgcolor="fafafa" align="center"> 
  140.                     <td colspan="6" height="30"> 
  141.                       <input type="button" name="Button" value="同意" onClick="acceptor(this.form)" class="text">&nbsp;&nbsp;
  142.                       <input type="button" name="Button2" style="width:60px" value="不能参加" onClick="refuse(this.form)" class="text">&nbsp;&nbsp;
  143.                       <input type="button" name="Button2" value="返回" onClick="goback(this.form)" class="text">
  144.                     </td>
  145.                   </tr>
  146.                 </table>
  147.                 
  148.               </td>
  149.             </tr>
  150.           </table>
  151.           <br>
  152.           <br>
  153. <jsp:include page="/vnex/page/TTOA_HELP.jsp" />
  154. </TD>
  155.     </TR>
  156.        <jsp:include page="/vnex/page/TTOA_TABLE_BOTTOM.jsp" />
  157.     </TABLE>
  158.   <BR>
  159.      <jsp:include page="/vnex/page/TTOA_PRODUCER_LOGO.jsp" />
  160. </form></DIV>
  161. </BODY></HTML>