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

电子政务应用

开发平台:

Java

  1. <%@ page errorPage="/vnex/ErrorPage.jsp" %>
  2. <%@ page import="com.vnex.intranet.calendar.value.*"%>
  3. <%@ page import="com.vnex.intranet.calendar.proxy.*"%>
  4. <%@ page import="com.vnex.intranet.system.loader.ConfigParaLoader"%>
  5. <%@ page import="com.vnex.intranet.util.*"%>
  6. <%@ page import="com.vnex.intranet.upload.*"%>
  7. <%@ page import="java.util.*" %>
  8. <%@ page import="java.sql.*" %>
  9. <%@ taglib uri="/vnex.tld" prefix="vnex" %>
  10. <%@ taglib uri="/vnex_organization.tld" prefix="org" %>
  11. <jsp:useBean id="calendarProxy" class="com.vnex.intranet.calendar.proxy.CalendarProxyBean" scope="application" />
  12. <jsp:useBean id="BusinessName" scope="session" class="com.vnex.intranet.pub.BusinessSession" />
  13. <jsp:useBean id="myUpload" scope="page" class="com.vnex.intranet.upload.SmartUpload" />
  14. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
  15. <HTML>
  16. <jsp:include page="/vnex/page/FORM_HEAD.jsp" />
  17. <BODY text=#000000 vLink=#000000 aLink=#000000 link=#000000 bgColor=#ffffff topMargin=20 leftmargin="0" marginwidth="0" marginheight="0">
  18. <script Language="JavaScript" src="/vnex/intranet/calendar/Popup.js"></script>
  19. <script language="javascript" src="/vnex/validate.js" ></script>
  20. <script language=JavaScript>
  21. function check()
  22. {
  23.   if (!stripWhitespace(document.myform.taskName.value) || document.myform.taskName.value=="" || document.myform.taskName.value.length>50)
  24. {
  25.   alert("主题不能为空,并且少于50个字。");
  26.   document.myform.taskName.focus();
  27.   return false;
  28. }
  29. if(document.myform.StartDate.value=="" || document.myform.EndDate.value=="")
  30. {
  31.   alert("开始日期和截止日期不能为空。");
  32.   return false;
  33. }
  34.   var startDate = document.myform.StartDate.value+document.myform.sHour.value+document.myform.sMinute.value;
  35. var endDate = document.myform.EndDate.value+document.myform.eHour.value+document.myform.eMinute.value;
  36. if(startDate>=endDate)
  37. {
  38.   alert("截止日期必须大于开始日期。");
  39.   return false;
  40. }
  41. if (document.myform.coadjutant.value.length>50)
  42. {
  43.   alert("协助者应少于50个字。");
  44.   document.myform.coadjutant.focus();
  45.   return false;
  46. }
  47. if (document.myform.taskContent.value.length>500)
  48. {
  49.   alert("详细内容应少于500个字。");
  50.   document.myform.taskContent.focus();
  51.   return false;
  52. }
  53.   else
  54.     return true;
  55. }
  56. function backTask()
  57. {
  58.   myform.action = "/mainctrl/calendar/detailCalendar?own=true";
  59.   myform.submit();
  60. }
  61. function modifyTask()
  62. {
  63.   if( !check() )
  64.   {
  65.     return false;
  66.   }
  67.  myform.action= "/mainctrl/calendar/modifyCalendarSuccess";
  68.   myform.submit();
  69. }
  70. function addkey()
  71. {
  72.     var opt = new Option();
  73.     var opt2 = new Option();
  74.        
  75.     if(!document.myform.file.value=="")
  76.     {
  77.       opt.value = document.myform.file.value;
  78.       opt.text = document.myform.file.value;
  79.       var flag1 = 1;
  80.       for(var i=0;i<document.myform.attachments.length;i++)
  81.       {
  82.         if(document.myform.attachments.options[i].text==opt.text)
  83.         {
  84.           flag1 = 0;
  85.           break;
  86.         }
  87.       }
  88.       if(flag1==1)
  89.       {
  90.         document.myform.attachments.options[document.myform.attachments.length] = opt;
  91.       }
  92.     }
  93. }
  94. function delAllSelOpts()
  95. {
  96.     
  97.     for( var i = 0; i < document.myform.attachments.options.length; i++ )
  98.     {
  99.        var oriLen = document.myform.attachments.options.length;
  100.        if ( document.myform.attachments.options[i].selected )
  101.        {
  102.          document.myform.attachments.options[i] = null;
  103.          if(i < oriLen-1) i--;
  104.        }
  105.     }
  106. }
  107. function deleteDoc() 
  108. {      
  109.     myform.action="/mainctrl/calendar/modifyCalendar?type=2";   
  110.     myform.submit();     
  111. }
  112. function uploadDoc() 
  113. {      
  114.     myform.action="/mainctrl/calendar/modifyCalendar?type=1"; 
  115.     myform.encoding="multipart/form-data"; 
  116.     myform.submit();     
  117. }
  118. </script>
  119. <script language="JavaScript1.2" src="/vnex/menu/dockmenu_person.js"></script>
  120. <script language="JavaScript1.2" src="/vnex/menu/dockmenu.js"></script>
  121. <DIV align=center>
  122. <form name="myform" method="post" action="">
  123. <%
  124.   int calendarId = -1;
  125.   String str = "";
  126.   CalendarValueBean calendarBean = null;
  127.   
  128.   if(session.getAttribute( "calendarBean" )!=null)
  129.   {
  130.     calendarBean = ( CalendarValueBean )session.getAttribute( "calendarBean" );
  131.   }
  132.   
  133. if( request.getParameter("type") !=null && request.getParameter("type").equals("0") )
  134. {
  135.   if(request.getParameter("calendarIds")!=null && !request.getParameter("calendarIds").equals(""))
  136.     calendarId = Integer.parseInt(request.getParameter("calendarIds"));
  137.   calendarBean = calendarProxy.getCalendarDetail(calendarId);
  138.   session.setAttribute( "calendarBean", calendarBean );
  139. }
  140. %>
  141. <%
  142.   int sYear = 0;
  143.   int sMonth = 0;
  144.   int sDay = 0;
  145.   int sHour = 0;
  146.   int sMinute = 0;
  147.   
  148.   int eYear = 0;
  149.   int eMonth = 0;
  150.   int eDay = 0;
  151.   int eHour = 0;
  152.   int eMinute = 0;
  153.   
  154.   String taskName = null;
  155.   String taskImport = null;
  156.   String taskContent = null;
  157.   String taskVisible = null;
  158.   String coadjutant = null;
  159.   
  160.   String ssd = "";
  161.   String sed = "";
  162.   Timestamp startDate = null;
  163.   Timestamp endDate = null;
  164.   
  165.    String root = ConfigParaLoader.getParameter("rootUrl");
  166.    String attachURL = ConfigParaLoader.getParameter("calendarAttachmentUrl");
  167.    
  168. if( request.getParameter("type") !=null && request.getParameter("type").equals("1") ) //上载 
  169. {              
  170.    
  171.    calendarBean = ( CalendarValueBean )session.getAttribute( "calendarBean" );
  172.    attachURL += SubPathGenerater.getSubPath( root + SubPathGenerater.getSeperator() + attachURL);
  173.    
  174. // Initialization 
  175.    myUpload.initialize( pageContext ); 
  176.    myUpload.setTotalMaxFileSize( Integer.parseInt(ConfigParaLoader.getParameter("attachmentSize")) );
  177. // Upload        
  178.   myUpload.upload(); 
  179.   myUpload.save( root + attachURL ); 
  180.                
  181.                
  182.     //保存已有信息( 以下代码, 要根据自己的情况写) 
  183.   com.vnex.intranet.upload.Request multi = myUpload.getRequest();
  184.   
  185.   if(multi.getParameter("taskId")!=null && !multi.getParameter("taskId").equals(""))
  186.     calendarId = Integer.parseInt(multi.getParameter("taskId"));
  187.   if(multi.getParameter("StartDate")!=null && !multi.getParameter("StartDate").equals(""))
  188.   {
  189.     ssd = multi.getParameter("StartDate");
  190.     ssd = ssd + " " + multi.getParameter("sHour") + ":" + multi.getParameter("sMinute") + ":00";
  191.     startDate = TimeStamp.toTimestamp(ssd);
  192.   }
  193.   if(multi.getParameter("EndDate")!=null && !multi.getParameter("EndDate").equals(""))
  194.   {
  195.     sed = multi.getParameter("EndDate");
  196.     sed = sed + " " + multi.getParameter("eHour") + ":" + multi.getParameter("eMinute") + ":00";
  197.     endDate = TimeStamp.toTimestamp(sed);
  198.   }
  199.   if(multi.getParameter("taskName")!=null && !multi.getParameter("taskName").equals(""))
  200.   {
  201.     taskName = multi.getParameter("taskName");
  202.     calendarBean.setTaskName(taskName);
  203.   }
  204.   if(multi.getParameter("taskImport")!=null && !multi.getParameter("taskImport").equals(""))
  205.   {
  206.     taskImport = multi.getParameter("taskImport");
  207.     calendarBean.setTaskImport(taskImport);
  208.   }
  209.   if(multi.getParameter("taskContent")!=null && !multi.getParameter("taskContent").equals(""))
  210.   {
  211.     taskContent = multi.getParameter("taskContent");
  212.     calendarBean.setTaskContent(taskContent);
  213.   }
  214.   if(multi.getParameter("taskVisible")!=null && !multi.getParameter("taskVisible").equals(""))
  215.   {
  216.     taskVisible = multi.getParameter("taskVisible");
  217.     if(taskVisible.equals("true"))
  218.     {
  219.       calendarBean.setTaskVisible(true);
  220.     }
  221.   }
  222.   else
  223.   {
  224.     calendarBean.setTaskVisible(false);
  225.   }
  226.   
  227.   if(multi.getParameter("coadjutant")!=null && !multi.getParameter("coadjutant").equals(""))
  228.   {
  229.     coadjutant = multi.getParameter("coadjutant");
  230.     calendarBean.setCoadjutant(coadjutant);
  231.   }
  232.   calendarBean.setStartDate(startDate);
  233.   calendarBean.setEndDate(endDate);
  234.   calendarBean.setCreatorId(BusinessName.getEmpId());
  235.   
  236.       
  237.   Collection coll = calendarBean.getAttachments();
  238.   
  239.   com.vnex.intranet.upload.File myFile = myUpload.getFiles().getFile(0); 
  240.   if (!myFile.isMissing())   
  241.   { 
  242.     String url = attachURL +SubPathGenerater.getSeperator()+ myFile.getFileName();
  243.     if( !coll.contains(url) )
  244.     {
  245.       coll.add(url);
  246.     }
  247.   }
  248.   calendarBean.setAttachments(coll);
  249.   
  250.   if(multi.getParameter("ssempId")!=null)
  251.   {
  252.     out.println("<input type=hidden name=ssempId value=""+multi.getParameter("ssempId")+"">");
  253.   }
  254.   if(multi.getParameter("ssStartDate")!=null)
  255.   {
  256.     out.println("<input type=hidden name=ssStartDate value=""+multi.getParameter("ssStartDate")+"">");
  257.   }
  258.   if(multi.getParameter("ssEndDate")!=null)
  259.   {
  260.     out.println("<input type=hidden name=ssEndDate value=""+multi.getParameter("ssEndDate")+"">");
  261.   }
  262.   if(multi.getParameter("start")!=null)
  263.   {
  264.     out.println("<input type=hidden name=start value=""+multi.getParameter("start")+"">");
  265.   }
  266. //删除文件时的代码.
  267. if( request.getParameter("type")!=null && request.getParameter("type").equals("2") ) 
  268.    calendarBean = ( CalendarValueBean )session.getAttribute( "calendarBean" );
  269.    
  270.       //保存已有信息( 以下代码, 要根据自己的情况写) 
  271.       
  272.   if(request.getParameter("taskId")!=null && !request.getParameter("taskId").equals(""))
  273.     calendarId = Integer.parseInt(request.getParameter("taskId"));
  274.   if(request.getParameter("StartDate")!=null && !request.getParameter("StartDate").equals(""))
  275.   {
  276.     ssd = request.getParameter("StartDate");
  277.     ssd = ssd + " " + request.getParameter("sHour") + ":" + request.getParameter("sMinute") + ":00";
  278.     startDate = TimeStamp.toTimestamp(ssd);
  279.   }
  280.   if(request.getParameter("EndDate")!=null && !request.getParameter("EndDate").equals(""))
  281.   {
  282.     sed = request.getParameter("EndDate");
  283.     sed = sed + " " + request.getParameter("eHour") + ":" + request.getParameter("eMinute") + ":00";
  284.     endDate = TimeStamp.toTimestamp(sed);
  285.   }
  286.   if(request.getParameter("taskName")!=null && !request.getParameter("taskName").equals(""))
  287.   {
  288.     taskName = request.getParameter("taskName");
  289.     calendarBean.setTaskName(taskName);
  290.   }
  291.   if(request.getParameter("taskImport")!=null && !request.getParameter("taskImport").equals(""))
  292.   {
  293.     taskImport = request.getParameter("taskImport");
  294.     calendarBean.setTaskImport(taskImport);
  295.   }
  296.   if(request.getParameter("taskContent")!=null && !request.getParameter("taskContent").equals(""))
  297.   {
  298.     taskContent = request.getParameter("taskContent");
  299.     calendarBean.setTaskContent(taskContent);
  300.   }
  301.   if(request.getParameter("taskVisible")!=null && !request.getParameter("taskVisible").equals(""))
  302.   {
  303.     taskVisible = request.getParameter("taskVisible");
  304.     if(taskVisible.equals("true"))
  305.     {
  306.       calendarBean.setTaskVisible(true);
  307.     }
  308.   }
  309.   else
  310.   {
  311.     calendarBean.setTaskVisible(false);
  312.   }
  313.   calendarBean.setStartDate(startDate);
  314.   calendarBean.setEndDate(endDate);
  315.   calendarBean.setCreatorId(BusinessName.getEmpId());
  316.    Collection dcoll = new ArrayList();
  317.    if( request.getParameter("attachments")!=null && !request.getParameter("attachments").equals("") )
  318.    {
  319.      String url = request.getParameter("attachments");
  320.      Collection coll = calendarBean.getAttachments();
  321.      
  322.      if(coll != null && coll.size() != 0)
  323.      {
  324.        Iterator it = coll.iterator();
  325.        while( it.hasNext() )
  326.        {
  327.          str = (String)it.next();
  328.          if( url.equals(str) )
  329.          {
  330.            //SubPathGenerater.deleteFile(root+str);
  331.            dcoll.add(str);
  332.            coll.remove(str);
  333.            break;
  334.          }
  335.        }//end while
  336.      }//end if
  337.    }
  338.    
  339.    session.setAttribute( "delCalAtta", dcoll );
  340. }
  341. %> 
  342.   <TABLE class=outter cellSpacing=0 cellPadding=0 width=600 border=0>
  343.     <TBODY> 
  344.     <jsp:include page="/vnex/page/TTOA_TABLE_TOP.jsp" />
  345.     <TR> 
  346.         <TD colSpan=3 align="center" class="iframestyle" valign="top"> <!--菜单开始 --> 
  347.           <!--分隔线结束 --> <!--个人信息开始 --> <br>
  348.           <table width="600" border="1" cellspacing="1" bordercolor="#666666" class="iframestyle">
  349.             <tr valign="top"> 
  350.               <td bgcolor="#fafafa"> 
  351.                 <table width="600" border="0" cellspacing="0" cellpadding="0">
  352.                   <tr valign="top" bgcolor="#666666"> 
  353.                     <td colspan="2"><font class="strongw"><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/calendar/getCalendarList"><font color="#FFFFFF">日程安排</font></a>&gt;&gt;修改任务</font>
  354.                     </td>
  355.                   </tr>
  356.                       <table cellpadding="2" width="100%" cellspacing="1" align="center" class="title">
  357.                         <tbody> 
  358.                         <tr bgcolor="#fafafa"> 
  359.                           <td width="17%"><font class="strong">&nbsp;主题:</font></td>
  360.                           <td width="83%"><input type="text" name="taskName" class="text" size="20" value="<%= FieldUtil.filterQuotTag(calendarBean.getTaskName())%>">&nbsp;*&nbsp;(注:带*为必填内容)</td>
  361.                         </tr>
  362.                         <%
  363.                           startDate = calendarBean.getStartDate();
  364.                           endDate = calendarBean.getEndDate();
  365.                           
  366.                           ssd = MyDateFormat.myDate(startDate);
  367.                           Calendar cd = Calendar.getInstance();
  368.                           if(startDate!=null)
  369.                           {
  370.                             cd = TimeStamp.convertTimestampToCalendar(startDate);
  371.                           }
  372.                           sHour = cd.get(Calendar.HOUR_OF_DAY);
  373.                           sMinute = cd.get(Calendar.MINUTE);
  374.                           sed = MyDateFormat.myDate(endDate);
  375.                           if(endDate!=null)
  376.                           {
  377.                             cd = TimeStamp.convertTimestampToCalendar(endDate);
  378.                           }
  379.                           eHour = cd.get(Calendar.HOUR_OF_DAY);
  380.                           eMinute = cd.get(Calendar.MINUTE);
  381.                         %>
  382.                         <tr bgcolor="#e0e0e0"> 
  383.                           <td width="17%"><font class="strong">&nbsp;开始时间:</font></td>
  384.                           <td width="83%" >日期:       
  385.                             <input type="text" name="StartDate" class=text size="20" value="<%= ssd%>" readonly>&nbsp;<img src="/vnex/intranet/calendar/datetime.gif" style="cursor:hand;" align="absmiddle" alt="弹出日历下拉菜单" onClick="fPopUpCalendarDlg(StartDate);return false">
  386.                             &nbsp;时刻:       
  387.                             <select name="sHour" size="1">
  388.                             <%
  389.                               for(int i=0; i<=23; i++)
  390.                               {
  391.                                 if( sHour==i )
  392.                                 {
  393.                                   if(i<=9)
  394.                                   {
  395.                                     out.println("<option selected value=0"+i+">"+i+"</option>");
  396.                                   }
  397.                                   else
  398.                                   {
  399.                                     out.println("<option selected value="+i+">"+i+"</option>");
  400.                                   }
  401.                                 }
  402.                                 else
  403.                                 {
  404.                                   if(i<=9)
  405.                                   {
  406.                                     out.println("<option value=0"+i+">"+i+"</option>");
  407.                                   }
  408.                                   else
  409.                                   {
  410.                                     out.println("<option value="+i+">"+i+"</option>");
  411.                                   }
  412.                                 }
  413.                               }
  414.                             %>
  415.                             </select>
  416.                             :       
  417.                             <select name="sMinute" size="1">
  418.                               <option value="00" <% if(sMinute==0) out.print("selected"); %>>00</option>
  419.                               <option value="15" <% if(sMinute==15) out.print("selected"); %>>15</option>
  420.                               <option value="30" <% if(sMinute==30) out.print("selected"); %>>30</option>
  421.                               <option value="45" <% if(sMinute==45) out.print("selected"); %>>45</option>
  422.                             </select>&nbsp;*
  423.                           </td>
  424.                         </tr>
  425.                         <tr bgcolor="#fafafa">
  426.                           <td width="17%"><font class="strong">&nbsp;截止时间:</font></td>
  427.                           <td width="83%">日期:       
  428.                             <input type="text" name="EndDate" class=text size="20" value="<%= sed%>" readonly>&nbsp;<img src="/vnex/intranet/calendar/datetime.gif" style="cursor:hand;" align="absmiddle" alt="弹出日历下拉菜单" onClick="fPopUpCalendarDlg(EndDate);return false">
  429.                             &nbsp;时刻: <select name="eHour" size="1">   
  430.                             <%
  431.                               for(int i=0; i<=23; i++)
  432.                               {
  433.                                 if( eHour==i )
  434.                                 {
  435.                                   if(i<=9)
  436.                                   {
  437.                                     out.println("<option selected value=0"+i+">"+i+"</option>");
  438.                                   }
  439.                                   else
  440.                                   {
  441.                                     out.println("<option selected value="+i+">"+i+"</option>");
  442.                                   }
  443.                                 }
  444.                                 else
  445.                                 {
  446.                                   if(i<=9)
  447.                                   {
  448.                                     out.println("<option value=0"+i+">"+i+"</option>");
  449.                                   }
  450.                                   else
  451.                                   {
  452.                                     out.println("<option value="+i+">"+i+"</option>");
  453.                                   }
  454.                                 }
  455.                               }
  456.                             %>
  457.                             </select>
  458.                             :       
  459.                             <select name="eMinute" size="1">
  460.                               <option value="00" <% if(eMinute==0) out.print("selected"); %>>00</option>
  461.                               <option value="15" <% if(eMinute==15) out.print("selected"); %>>15</option>
  462.                               <option value="30" <% if(eMinute==30) out.print("selected"); %>>30</option>
  463.                               <option value="45" <% if(eMinute==45) out.print("selected"); %>>45</option>
  464.                             </select>&nbsp;*
  465.                           </td>
  466.                         </tr>
  467.                         <tr bgcolor="#e0e0e0">
  468.                           <td width="17%"><font class="strong">&nbsp;重要度:</font></td>
  469.                           <td width="83%">
  470.                             <select name="taskImport" class="button" size="1">
  471.                             <%
  472.                                str = calendarBean.getTaskImport();
  473.                             %>
  474.                               <option value="0"<% if( str.equals("0") ) out.print("selected"); %>>不指定</option>
  475.                               <option value="1" <% if( str.equals("1") ) out.print("selected"); %>>低</option>
  476.                               <option value="2" <% if( str.equals("2") ) out.print("selected"); %>>中</option>
  477.                               <option value="3" <% if( str.equals("3") ) out.print("selected"); %>>高</option>
  478.                             </select>
  479.                          </td>
  480.                         </tr>
  481.                         <tr bgcolor="#fafafa">
  482.                           <td width="17%"><font class="strong">&nbsp;公开:</font></td>
  483.                           <td width="83%"><input type="checkbox" name="taskVisible" value="true" <% if( calendarBean.getTaskVisible() ) out.print("checked"); %>></td>
  484.                         </tr>
  485.                         <tr bgcolor="#e0e0e0">
  486.                           <td>
  487.                             <font class="strong">&nbsp;协助者:</font>
  488.                           </td>
  489.                           <td>
  490.                             <input type="text" name="coadjutant" class="text" size="24" value="<%= calendarBean.getCoadjutant()%>">
  491.                           </td>
  492.                         </tr>
  493.                         <tr bgcolor="#fafafa"> 
  494.                           <td width="17%"><font class="strong">&nbsp;详细内容:</font></td>
  495.                           <td width="83%"> 
  496.                             <textarea name="taskContent" cols="50" rows="5"><%= calendarBean.getTaskContent()%></textarea>
  497.                           </td>
  498.                         </tr>
  499.                         <tr bgcolor="#e0e0e0"> 
  500.                           <td width="17%"><font class="strong">&nbsp;附件:</font></td>
  501.                           <td width="83%" > 
  502.                               <select size="3" name="attachments" style="width:300" class="text">
  503.                               <%
  504.                                 Collection coll = calendarBean.getAttachments();
  505.                                 if(coll != null && coll.size() != 0)
  506.                               {
  507.                                 Iterator it = coll.iterator();
  508.                                 while( it.hasNext() )
  509.                                 {
  510.                                   str = (String)it.next();
  511.                                   int s = str.lastIndexOf(SubPathGenerater.getSeperator());
  512.                                   String filename = str.substring(s+1);
  513.                                   out.println( "<option value=""+str+"">"+filename+"</option>" );
  514.                                 }
  515.                               }
  516.                               %>
  517.                               </select>
  518.                               <input type="button" value="删除附件" name="B29" class="text" onClick="deleteDoc()" style="width:60px">
  519.                           </td>
  520.                         </tr>
  521.                         <tr bgcolor="#fafafa"> 
  522.                           <td width="17%" height="15"><font class="strong">&nbsp;上传附件:</font></td>
  523.                           <td width="83%"> 
  524.                               <input type="file" name="file" size="30" class="text">
  525.                               &nbsp;   
  526.                               <input type="button" value="上传" name="B28" class="text" onClick="uploadDoc()">
  527.                           </td>
  528.                         </tr>
  529.                         <tr align="middle" bgcolor="#fafafa">
  530.                           <td colspan="2" height="30">
  531.                             <input type="button" name="Submit2" value="保存" onClick="return modifyTask()" class="text">
  532.                             &nbsp;&nbsp;<input type="reset" name="Reset" value="重置" class="text">
  533.                             &nbsp;&nbsp;<input type="button" name="submit121" value="放弃" class="text" onClick="backTask()">
  534.                           </td>
  535.                         </tr>
  536.                         </tbody> 
  537.                       </table>
  538.                     </td>
  539.                   </tr>
  540.                 </table>
  541.           <input type="hidden" name=taskId value="<%=calendarId %>">
  542. <%
  543.   if(request.getParameter("ssempId")!=null)
  544.   {
  545.     out.println("<input type=hidden name=ssempId value=""+request.getParameter("ssempId")+"">");
  546.   }
  547.   if(request.getParameter("ssStartDate")!=null)
  548.   {
  549.     out.println("<input type=hidden name=ssStartDate value=""+request.getParameter("ssStartDate")+"">");
  550.   }
  551.   if(request.getParameter("ssEndDate")!=null)
  552.   {
  553.     out.println("<input type=hidden name=ssEndDate value=""+request.getParameter("ssEndDate")+"">");
  554.   }
  555.   if(request.getParameter("start")!=null)
  556.   {
  557.     out.println("<input type=hidden name=start value=""+request.getParameter("start")+"">");
  558.   }
  559. %>
  560.           <!--个人信息结束 --> 
  561.           <br>
  562.           <br>
  563.          <jsp:include page="/vnex/page/TTOA_HELP.jsp" />
  564.        </TD>
  565.     </TR>
  566.     <jsp:include page="/vnex/page/TTOA_TABLE_BOTTOM.jsp" />
  567.     </TBODY> 
  568.   </TABLE>
  569.   <BR>
  570.   <jsp:include page="/vnex/page/TTOA_PRODUCER_LOGO.jsp" />
  571. </form></DIV>
  572. </BODY></HTML>