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

电子政务应用

开发平台:

Java

  1. <HTML>
  2. <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
  3. <jsp:include page="/vnex/page/FORM_HEAD.jsp" />
  4. <BODY text=#000000 vLink=#000000 aLink=#000000 link=#000000 bgColor=#ffffff topMargin=20 leftmargin="0" marginwidth="0" marginheight="0">
  5. <script language="JavaScript1.2" src="/vnex/menu/dockmenu_archives.js"></script>
  6. <script language="JavaScript1.2" src="/vnex/menu/dockmenu.js"></script>
  7. <script Language="JavaScript" src="/vnex/util/Popup.js"></script>
  8. <script language="javascript" src="/vnex/util/strUtil.js"></script>
  9. <script language="javascript" src="/vnex/validate.js"></script>
  10. <script language=javascript>
  11. function createArchive(form)
  12. {
  13.   if(checkIt(form))
  14.   {
  15.     form.buildDate.value=form.buildDate.value.replace("-","");
  16.     form.buildDate.value=form.buildDate.value.replace("-","");
  17.     form.action="/mainctrl/elcCreateProcess";
  18.     form.encoding="multipart/form-data";
  19.     form.submit();
  20.   }  
  21. }
  22. function checkIt(form)
  23. {
  24.   if(isEmpty(form.docName.value))
  25.   {
  26.       alert("请输入所属卷号!");
  27.   form.docName.focus();
  28.       return false;
  29.   }
  30.   if(isEmpty(form.title.value))
  31.   {
  32.       alert("请输入内容摘要!");
  33.   form.title.focus();
  34.       return false;
  35.   }
  36.   if(isEmpty(form.buildDate.value))
  37.   {
  38.       alert("请选择文件日期!");
  39.   form.buildDate.focus();
  40.       return false;
  41.   }
  42.   if(!isEmpty(form.remark.value))
  43.   {
  44.      if(isInvalidateLen(form.remark.value, 400))
  45.      {
  46.         alert("内容概要不要超过250个汉字或1000个英文字符!");
  47. form.remark.focus();
  48.         return false;
  49.      }
  50.   }
  51.   return true;
  52. }
  53. </script>
  54. <DIV align=center>
  55. <form name="form1" method="post" >
  56.   <TABLE class=outter cellSpacing=0 cellPadding=0 width=600 border=0>
  57.     <TBODY> 
  58.       <jsp:include page="/vnex/page/TTOA_TABLE_TOP.jsp" />
  59.       <TR> 
  60.         <TD colSpan=3 align="center" class="iframestyle" valign="top"><br>
  61.           <table width="600" border="1" cellspacing="1" bordercolor="#666666">
  62.             <tr valign="top"> 
  63.               <td bgcolor="#fafafa" > 
  64.                 <table width="600" border="0" cellspacing="0" cellpadding="0">
  65.                   <tr valign="top" bgcolor="#cccccc"> 
  66.                     <td> 
  67.                       <table width="600" border="0" cellpadding="2" cellspacing="0">
  68.                         <tr bgcolor="#666666"> 
  69.                             
  70.                           <td><font class="strongw"> <a href="/mainctrl/home/index"><font color="#ffffff">首页</font></a>&gt;&gt; 
  71.                             <a href="/mainctrl/archive/todayArchives"><font color="#ffffff">档案管理</font></a>&gt;&gt;<a href="/mainctrl/elcIndex"><font color="#ffffff">电子档案</font></a>&gt;&gt; 
  72.                             新建电子档案</font> </td>
  73.                         </tr>
  74.                       </table>
  75.                 <table border="0" cellpadding="2" cellspacing="0" width="600">
  76.                   <tr bgcolor="#e0e0e0"> 
  77.                           <td colspan="4"> 
  78.                             <table class=title border="0" cellpadding="2" cellspacing="1" width="600">
  79.                               <!--
  80.   <tr bgcolor="#fafafa"> 
  81.                                 <td width="24%" > 
  82.                                   <div align="left"><strong>全综号:</strong></div>
  83.                                 </td>
  84.                                 <td width="76%" > 
  85.                                   <div align="left"> 
  86.                                     <input type="text" name="topName" size="30" class="text" value="铁通总公司" maxlength="30">
  87.                                     *&nbsp;(注:带*为必填内容) </div>
  88.                                 </td>
  89.                               </tr>
  90.   -->
  91.                               <tr bgcolor="#e0e0e0"> 
  92.                                 <td width="26%"><strong>案卷号:</strong></td>
  93.                                 <td width="74%"> 
  94.                                   <input type="hidden" name="topName" size="30" class="text" value="铁通总公司" maxlength="30">
  95.                                   <input type="hidden" name="archiveId">
  96.                                   <input type="text" name="docName" size="30" class="text" maxlength="30">
  97.                                   * (注:带*为必填内容) </td>
  98.                               </tr>
  99.                               <tr bgcolor="#fafafa"> 
  100.                                 <td width="26%" bgcolor="#fafafa"><strong>电子文档类型:</strong></td>
  101.                                 <td width="74%"> 
  102.                                   <input type="text" name="fileBef" size="30" class="text" maxlength="30">
  103.                                 </td>
  104.                               </tr>
  105.                               <tr bgcolor="#e0e0e0"> 
  106.                                 <td width="26%"><strong>上载电子档案:</strong></td>
  107.                                 <td width="74%"> 
  108.                                   <input type="file" name="attachment" class="text">
  109.                                 </td>
  110.                               </tr>
  111.                               <tr bgcolor="#fafafa"> 
  112.                                 <td width="26%"><strong>电子文档标题:</strong></td>
  113.                                 <td width="74%"> 
  114.                                   <input type="text" name="title" size="30" class="text" maxlength="30">
  115.                                   * </td>
  116.                               </tr>
  117.                               <tr bgcolor="#e0e0e0"> 
  118.                                 <td width="26%"><strong>文件作者:</strong></td>
  119.                                 <td width="74%"> 
  120.                                   <input type="text" name="dep" size="30" class="text" maxlength="30">
  121.                                 </td>
  122.                               </tr>
  123.                               <tr bgcolor="#fafafa"> 
  124.                                 <td width="26%"> 
  125.                                   <div align="left"><strong>文件日期:</strong></div>
  126.                                 </td>
  127.                                 <td width="74%"> 
  128.                                   <div align="left"> 
  129.                                     <input type="text" name="buildDate" readonly size="10" class="text">
  130.                                     &nbsp; <img src="/vnex/util/datetime.gif" style="cursor:hand;" align="absmiddle" alt="选择借阅档案日期" onClick="fPopUpCalendarDlg(buildDate);return false"> 
  131.                                     * </div>
  132.                                 </td>
  133.                               </tr>
  134.                               <tr bgcolor="#e0e0e0"> 
  135.                                 <td width="26%"><strong>保管期限:</strong></td>
  136.                                 <td width="74%"> 
  137.                                   <select name="saveDate" size="1">
  138.                                     <option value="1">短期</option>
  139.                                     <option value="2">长期</option>
  140.                                     <option value="3">永久</option>
  141.                                   </select>
  142.                                 </td>
  143.                               </tr>
  144.                               <tr bgcolor="#fafafa"> 
  145.                                 <td width="26%"> 
  146.                                   <div align="left"><strong>密级:</strong></div>
  147.                                 </td>
  148.                                 <td width="74%"> 
  149.                                   <select name="secret" size="1">
  150.                                     <option value="1">一般</option>
  151.                                     <option value="2">秘密</option>
  152.                                     <option value="3">机密</option>
  153.                                     <option value="4">绝密</option>
  154.                                   </select>
  155.                                 </td>
  156.                               </tr>
  157.                               <tr bgcolor="#e0e0e0"> 
  158.                                 <td width="26%"><strong>主题词:</strong></td>
  159.                                 <td width="74%"> 
  160.                                   <input type="text" name="wordKey" size="30" class="text" maxlength="30">
  161.                                 </td>
  162.                               </tr>
  163.                               <tr bgcolor="#fafafa"> 
  164.                                 <td width="26%"> 
  165.                                   <div align="left"><strong>年度:</strong></div>
  166.                                 </td>
  167.                                 <td width="74%"> 
  168.                                   <select style="WIDTH: 65px" name="buildYear" class="button">
  169.                                     <option value="1996"><b>1996</b></option>
  170.                                     <option value="1997"><b>1997</b></option>
  171.                                     <option value="1998"><b>1998</b></option>
  172.                                     <option value="1999"><b>1999</b></option>
  173.                                     <option value="2000"><b>2000</b></option>
  174.                                     <option value="2001" selected><b>2001</b></option>
  175.                                     <option value="2002"><b>2002</b></option>
  176.                                     <option value="2003"><b>2003</b></option>
  177.                                     <option value="2004"><b>2004</b></option>
  178.                                     <option value="2005"><b>2005</b></option>
  179.                                     <option value="2006"><b>2006</b></option>
  180.                                     <option value="2007"><b>2007</b></option>
  181.                                     <option value="2008"><b>2008</b></option>
  182.                                     <option value="2009"><b>2009</b></option>
  183.                                     <option value="2010"><b>2010</b></option>
  184.                                     <option value="2011"><b>2011</b></option>
  185.                                     <option value="2012"><b>2012</b></option>
  186.                                     <option value="2013"><b>2013</b></option>
  187.                                     <option value="2014"><b>2014</b></option>
  188.                                     <option value="2015"><b>2015</b></option>
  189.                                     <option value="2016"><b>2016</b></option>
  190.                                     <option value="2017"><b>2017</b></option>
  191.                                     <option value="2018"><b>2018</b></option>
  192.                                     <option value="2019"><b>2019</b></option>
  193.                                     <option value="2020"><b>2020</b></option>
  194.                                     <option value="2021"><b>2021</b></option>
  195.                                     <option value="2022"><b>2022</b></option>
  196.                                     <option value="2023"><b>2023</b></option>
  197.                                     <option value="2024"><b>2024</b></option>
  198.                                     <option value="2025"><b>2025</b></option>
  199.                                     <option value="2026"><b>2026</b></option>
  200.                                     <option value="2027"><b>2027</b></option>
  201.                                     <option value="2028"><b>2028</b></option>
  202.                                     <option value="2029"><b>2029</b></option>
  203.                                     <option value="2030"><b>2030</b></option>
  204.                                     <option value="2031"><b>2031</b></option>
  205.                                     <option value="2032"><b>2032</b></option>
  206.                                     <option value="2033"><b>2033</b></option>
  207.                                     <option value="2034"><b>2034</b></option>
  208.                                     <option value="2035"><b>2035</b></option>
  209.                                     <option value="2036"><b>2036</b></option>
  210.                                     <option value="2037"><b>2037</b></option>
  211.                                     <option value="2038"><b>2038</b></option>
  212.                                     <option value="2039"><b>2039</b></option>
  213.                                     <option value="2040"><b>2040</b></option>
  214.                                     <option value="2041"><b>2041</b></option>
  215.                                     <option value="2042"><b>2042</b></option>
  216.                                     <option value="2043"><b>2043</b></option>
  217.                                     <option value="2044"><b>2044</b></option>
  218.                                     <option value="2045"><b>2045</b></option>
  219.                                     <option value="2046"><b>2046</b></option>
  220.                                     <option value="2047"><b>2047</b></option>
  221.                                     <option value="2048"><b>2048</b></option>
  222.                                     <option value="2049"><b>2049</b></option>
  223.                                   </select>
  224.                                   年 </td>
  225.                               </tr>
  226.                               <tr bgcolor="#e0e0e0"> 
  227.                                 <td width="26%" bgcolor="#e0e0e0"> 
  228.                                   <div align="left"><strong>备注:</strong></div>
  229.                                 </td>
  230.                                 <td width="74%"> 
  231.                                   <div align="left"> 
  232.                                     <input type="text" name="remark"  class="text" size="10" value="" maxlength="10">
  233.                                   </div>
  234.                                 </td>
  235.                               </tr>
  236.                               <tr bgcolor="#fafafa"> 
  237.                                 <td colspan="2" align="center" height="30"> 
  238.                                   <input onClick="createArchive(this.form)" type="button" value="保存"  class="text">
  239.                                   &nbsp;&nbsp; 
  240.                                   <input type="reset" value="重置"  class="text">
  241.                                   &nbsp;&nbsp; 
  242.                                   <input type="button" value="放弃"  class="text" onClick="history.back()">
  243.                                 </td>
  244.                               </tr>
  245.                             </table>
  246.                             </td>
  247.                   </tr>
  248.                 </table>
  249.                     </td>
  250.                     </tr>
  251.                   </table>
  252.                 </td>
  253.              </tr>
  254.           </table>
  255.           <jsp:include page="/vnex/page/TTOA_HELP.jsp" />
  256.        </TD>
  257.      </TR>
  258.      <jsp:include page="/vnex/page/TTOA_TABLE_BOTTOM.jsp" />
  259.     </TBODY> 
  260.   </TABLE>
  261.     <BR>
  262.   <jsp:include page="/vnex/page/TTOA_PRODUCER_LOGO.jsp" />
  263. </form>
  264. </DIV>
  265. </BODY>
  266. </HTML>