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

电子政务应用

开发平台:

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.     //int statusId = Integer.parseInt(request.getParameter("statusId"));
  39.             
  40.     SubTaskValueBean sub = new SubTaskValueBean();        
  41.     
  42.     taskPendingInfo = proxy.getPretaskDetailInfo(workflowId,workflowtypeId);
  43.     confInfo = taskPendingInfo.getConferenceInfo();
  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. <jsp:include page="/vnex/page/FORM_HEAD.jsp" />
  60. <BODY text=#000000 vLink=#000000 aLink=#000000 link=#000000 bgColor=#ffffff topMargin=20 leftmargin="0" marginwidth="0" marginheight="0">
  61. <script language="JavaScript1.2" src="/vnex/menu/dockmenu_person.js"></script>
  62. <script language="JavaScript1.2" src="/vnex/menu/dockmenu.js"></script>
  63. <script language=JavaScript>
  64. function acceptor(form)
  65. {  
  66.   form.action="/mainctrl/taskpending/taskPendingConferenceSummary?workflowId=<%=workflowId%>&workflowtypeId=<%=workflowtypeId%>&subtaskId=<%=subtaskId%>&subtasktypeId=<%=subtasktypeId%>&execId=<%=execId%>&statusId=<%=ExecutorStatus.AGREE%>&querytype=<%=querytype%>";
  67.   form.submit();
  68. }
  69. function refuse(form)
  70. {
  71.   form.action="/mainctrl/taskpending/taskPendingConferenceSummary?workflowId=<%=workflowId%>&workflowtypeId=<%=workflowtypeId%>&subtaskId=<%=subtaskId%>&subtasktypeId=<%=subtasktypeId%>&execId=<%=execId%>&statusId=<%=ExecutorStatus.DISAGREE%>&querytype=<%=querytype%>";
  72.   form.submit();
  73. }
  74. function goback(form)
  75. {
  76.     form.action="/mainctrl/taskpending/taskPendingList?querytype=<%=querytype%>";
  77.     form.submit();
  78. }
  79. </script>
  80. <DIV align=center>
  81. <form name="form1" method="post" action=""><br>
  82.   <TABLE class=outter cellSpacing=0 cellPadding=0 width=600 border=0>
  83.     <TBODY> 
  84.        <jsp:include page="/vnex/page/TTOA_TABLE_TOP.jsp" />    
  85.     <TR> 
  86.         <TD colSpan=3 align="center" class="iframestyle" valign="top"> <br>
  87.           <table width="600" border="1" cellspacing="1" bordercolor="#666666">
  88.             <tr align="center"> 
  89.               <td bgcolor="#fafafa" >
  90.                  
  91.                 <table class=title cellpadding="2" cellspacing="1" border="0" width="600">
  92.                   <tr> 
  93.                      
  94.                     <td bgcolor="#666666" colspan=6 width="590"><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>
  95.                   </tr>
  96.                   <tr bgcolor="#fafafa"> 
  97.                     <td width="146"> <font class="strong">&nbsp;会议主题:</font> </td>
  98.                     <td colspan="5" width="436">
  99.                     <%=confInfo.getSubject()%> 
  100.                     </td>
  101.                   </tr>
  102.                   <tr bgcolor="#e0e0e0"> 
  103.                     <td width="146"><font class="strong">&nbsp;会议地点:</font></td>
  104.                     <td colspan="5" width="436">
  105.                     <%=confInfo.getBoardroomName()%> 
  106.                     </td>
  107.                   </tr>
  108.                   <tr> 
  109.                     <td bgcolor="#fafafa" width="146"><font class="strong">&nbsp;开始时间:</font></td>
  110.                     <td colspan="5" bgcolor="#fafafa" width="436">
  111.                     <%=showStartTime%> 
  112.                     </td>
  113.                   </tr>
  114.                   <tr> 
  115.                     <td bgcolor="#e0e0e0" width="146"> <font class="strong">&nbsp;计划结束时间:</font></td>
  116.                     <td colspan="5" bgcolor="#e0e0e0" width="436">
  117.                     <%=showEndTime%> 
  118.                     </td>
  119.                   </tr>
  120.                   <tr> 
  121.                     <td bgcolor="#fafafa" width="146"><font class="strong">&nbsp;发起人:</font> 
  122.                     </td>
  123.                     <td colspan="5" bgcolor="#fafafa" width="436">
  124.                     <%=confInfo.getCreatorName()%> 
  125.                     </td>
  126.                   </tr>
  127.                   <tr bgcolor="#e0e0e0"> 
  128.                     <td width="146"><font class="strong">&nbsp;联系人:</font></td>
  129.                     <td colspan="5" width="436">
  130.                     <%=confInfo.getContactWay()%> 
  131.                     </td>
  132.                   </tr>
  133.                   <tr> 
  134.                     <td bgcolor="#fafafa" width="146"><font class="strong">&nbsp;会议最后通知时间:</font> 
  135.                     </td>
  136.                     <td colspan="5" bgcolor="#fafafa" width="436">
  137.                     <%=showUpdateTime%> 
  138.                     </td>
  139.                   </tr>                  
  140.                   <tr> 
  141.                     <td bgcolor="#e0e0e0" width="146"><font class="strong">&nbsp;描述:</font> 
  142.                     </td>
  143.                     <td colspan="5" bgcolor="#e0e0e0" width="436">
  144.                     <%=confInfo.getDescription()%> 
  145.                     </td>
  146.                   </tr>
  147. <!--
  148.                   <tr bgcolor="e0e0e0"> 
  149.                     <td width="111" bgcolor="e0e0e0"><font class="strong">&nbsp;不能参加原因: 
  150.                       </font> </td>
  151.                     <td colspan="5" width="476">                        
  152.                       <textarea name="textfield" cols="59" rows="4">我将外出</textarea>
  153.                     </td>
  154.                   </tr>
  155. -->
  156.                   <tr bgcolor="fafafa" align="center"> 
  157.                     <td colspan="6" height="30" width="590"> 
  158.                       <input type="button" name="Button" value="知道" onClick="acceptor(this.form)" class="text">&nbsp;&nbsp;
  159.                       <input type="hidden" name="cancleConference" value="true" > 
  160. <!--
  161.                       <input type="button" name="Button2" style="width:60px" value="不能参加" onClick="refuse(this.form)" class="text">&nbsp;&nbsp;
  162. -->
  163.                       <input type="button" name="Button2" value="返回" onClick="goback(this.form)" class="text"> 
  164.                     </td>
  165.                   </tr>
  166.                 </table>
  167.                 
  168.               </td>
  169.             </tr>
  170.           </table>
  171.           <br>
  172.           <br>
  173. <jsp:include page="/vnex/page/TTOA_HELP.jsp" />
  174. </TD>
  175.     </TR>
  176.        <jsp:include page="/vnex/page/TTOA_TABLE_BOTTOM.jsp" />
  177.     </TABLE>
  178.   <BR>
  179.      <jsp:include page="/vnex/page/TTOA_PRODUCER_LOGO.jsp" />
  180. </form></DIV>
  181. </BODY></HTML>