elc_create.jsp
资源名称:NetOffice.rar [点击查看]
上传用户:guhaomin
上传日期:2007-06-10
资源大小:23203k
文件大小:14k
源码类别:
电子政务应用
开发平台:
Java
- <HTML>
- <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
- <jsp:include page="/vnex/page/FORM_HEAD.jsp" />
- <BODY text=#000000 vLink=#000000 aLink=#000000 link=#000000 bgColor=#ffffff topMargin=20 leftmargin="0" marginwidth="0" marginheight="0">
- <script language="JavaScript1.2" src="/vnex/menu/dockmenu_archives.js"></script>
- <script language="JavaScript1.2" src="/vnex/menu/dockmenu.js"></script>
- <script Language="JavaScript" src="/vnex/util/Popup.js"></script>
- <script language="javascript" src="/vnex/util/strUtil.js"></script>
- <script language="javascript" src="/vnex/validate.js"></script>
- <script language=javascript>
- function createArchive(form)
- {
- if(checkIt(form))
- {
- form.buildDate.value=form.buildDate.value.replace("-","");
- form.buildDate.value=form.buildDate.value.replace("-","");
- form.action="/mainctrl/elcCreateProcess";
- form.encoding="multipart/form-data";
- form.submit();
- }
- }
- function checkIt(form)
- {
- if(isEmpty(form.docName.value))
- {
- alert("请输入所属卷号!");
- form.docName.focus();
- return false;
- }
- if(isEmpty(form.title.value))
- {
- alert("请输入内容摘要!");
- form.title.focus();
- return false;
- }
- if(isEmpty(form.buildDate.value))
- {
- alert("请选择文件日期!");
- form.buildDate.focus();
- return false;
- }
- if(!isEmpty(form.remark.value))
- {
- if(isInvalidateLen(form.remark.value, 400))
- {
- alert("内容概要不要超过250个汉字或1000个英文字符!");
- form.remark.focus();
- return false;
- }
- }
- return true;
- }
- </script>
- <DIV align=center>
- <form name="form1" method="post" >
- <TABLE class=outter cellSpacing=0 cellPadding=0 width=600 border=0>
- <TBODY>
- <jsp:include page="/vnex/page/TTOA_TABLE_TOP.jsp" />
- <TR>
- <TD colSpan=3 align="center" class="iframestyle" valign="top"><br>
- <table width="600" border="1" cellspacing="1" bordercolor="#666666">
- <tr valign="top">
- <td bgcolor="#fafafa" >
- <table width="600" border="0" cellspacing="0" cellpadding="0">
- <tr valign="top" bgcolor="#cccccc">
- <td>
- <table width="600" border="0" cellpadding="2" cellspacing="0">
- <tr bgcolor="#666666">
- <td><font class="strongw"> <a href="/mainctrl/home/index"><font color="#ffffff">首页</font></a>>>
- <a href="/mainctrl/archive/todayArchives"><font color="#ffffff">档案管理</font></a>>><a href="/mainctrl/elcIndex"><font color="#ffffff">电子档案</font></a>>>
- 新建电子档案</font> </td>
- </tr>
- </table>
- <table border="0" cellpadding="2" cellspacing="0" width="600">
- <tr bgcolor="#e0e0e0">
- <td colspan="4">
- <table class=title border="0" cellpadding="2" cellspacing="1" width="600">
- <!--
- <tr bgcolor="#fafafa">
- <td width="24%" >
- <div align="left"><strong>全综号:</strong></div>
- </td>
- <td width="76%" >
- <div align="left">
- <input type="text" name="topName" size="30" class="text" value="铁通总公司" maxlength="30">
- * (注:带*为必填内容) </div>
- </td>
- </tr>
- -->
- <tr bgcolor="#e0e0e0">
- <td width="26%"><strong>案卷号:</strong></td>
- <td width="74%">
- <input type="hidden" name="topName" size="30" class="text" value="铁通总公司" maxlength="30">
- <input type="hidden" name="archiveId">
- <input type="text" name="docName" size="30" class="text" maxlength="30">
- * (注:带*为必填内容) </td>
- </tr>
- <tr bgcolor="#fafafa">
- <td width="26%" bgcolor="#fafafa"><strong>电子文档类型:</strong></td>
- <td width="74%">
- <input type="text" name="fileBef" size="30" class="text" maxlength="30">
- </td>
- </tr>
- <tr bgcolor="#e0e0e0">
- <td width="26%"><strong>上载电子档案:</strong></td>
- <td width="74%">
- <input type="file" name="attachment" class="text">
- </td>
- </tr>
- <tr bgcolor="#fafafa">
- <td width="26%"><strong>电子文档标题:</strong></td>
- <td width="74%">
- <input type="text" name="title" size="30" class="text" maxlength="30">
- * </td>
- </tr>
- <tr bgcolor="#e0e0e0">
- <td width="26%"><strong>文件作者:</strong></td>
- <td width="74%">
- <input type="text" name="dep" size="30" class="text" maxlength="30">
- </td>
- </tr>
- <tr bgcolor="#fafafa">
- <td width="26%">
- <div align="left"><strong>文件日期:</strong></div>
- </td>
- <td width="74%">
- <div align="left">
- <input type="text" name="buildDate" readonly size="10" class="text">
- <img src="/vnex/util/datetime.gif" style="cursor:hand;" align="absmiddle" alt="选择借阅档案日期" onClick="fPopUpCalendarDlg(buildDate);return false">
- * </div>
- </td>
- </tr>
- <tr bgcolor="#e0e0e0">
- <td width="26%"><strong>保管期限:</strong></td>
- <td width="74%">
- <select name="saveDate" size="1">
- <option value="1">短期</option>
- <option value="2">长期</option>
- <option value="3">永久</option>
- </select>
- </td>
- </tr>
- <tr bgcolor="#fafafa">
- <td width="26%">
- <div align="left"><strong>密级:</strong></div>
- </td>
- <td width="74%">
- <select name="secret" size="1">
- <option value="1">一般</option>
- <option value="2">秘密</option>
- <option value="3">机密</option>
- <option value="4">绝密</option>
- </select>
- </td>
- </tr>
- <tr bgcolor="#e0e0e0">
- <td width="26%"><strong>主题词:</strong></td>
- <td width="74%">
- <input type="text" name="wordKey" size="30" class="text" maxlength="30">
- </td>
- </tr>
- <tr bgcolor="#fafafa">
- <td width="26%">
- <div align="left"><strong>年度:</strong></div>
- </td>
- <td width="74%">
- <select style="WIDTH: 65px" name="buildYear" class="button">
- <option value="1996"><b>1996</b></option>
- <option value="1997"><b>1997</b></option>
- <option value="1998"><b>1998</b></option>
- <option value="1999"><b>1999</b></option>
- <option value="2000"><b>2000</b></option>
- <option value="2001" selected><b>2001</b></option>
- <option value="2002"><b>2002</b></option>
- <option value="2003"><b>2003</b></option>
- <option value="2004"><b>2004</b></option>
- <option value="2005"><b>2005</b></option>
- <option value="2006"><b>2006</b></option>
- <option value="2007"><b>2007</b></option>
- <option value="2008"><b>2008</b></option>
- <option value="2009"><b>2009</b></option>
- <option value="2010"><b>2010</b></option>
- <option value="2011"><b>2011</b></option>
- <option value="2012"><b>2012</b></option>
- <option value="2013"><b>2013</b></option>
- <option value="2014"><b>2014</b></option>
- <option value="2015"><b>2015</b></option>
- <option value="2016"><b>2016</b></option>
- <option value="2017"><b>2017</b></option>
- <option value="2018"><b>2018</b></option>
- <option value="2019"><b>2019</b></option>
- <option value="2020"><b>2020</b></option>
- <option value="2021"><b>2021</b></option>
- <option value="2022"><b>2022</b></option>
- <option value="2023"><b>2023</b></option>
- <option value="2024"><b>2024</b></option>
- <option value="2025"><b>2025</b></option>
- <option value="2026"><b>2026</b></option>
- <option value="2027"><b>2027</b></option>
- <option value="2028"><b>2028</b></option>
- <option value="2029"><b>2029</b></option>
- <option value="2030"><b>2030</b></option>
- <option value="2031"><b>2031</b></option>
- <option value="2032"><b>2032</b></option>
- <option value="2033"><b>2033</b></option>
- <option value="2034"><b>2034</b></option>
- <option value="2035"><b>2035</b></option>
- <option value="2036"><b>2036</b></option>
- <option value="2037"><b>2037</b></option>
- <option value="2038"><b>2038</b></option>
- <option value="2039"><b>2039</b></option>
- <option value="2040"><b>2040</b></option>
- <option value="2041"><b>2041</b></option>
- <option value="2042"><b>2042</b></option>
- <option value="2043"><b>2043</b></option>
- <option value="2044"><b>2044</b></option>
- <option value="2045"><b>2045</b></option>
- <option value="2046"><b>2046</b></option>
- <option value="2047"><b>2047</b></option>
- <option value="2048"><b>2048</b></option>
- <option value="2049"><b>2049</b></option>
- </select>
- 年 </td>
- </tr>
- <tr bgcolor="#e0e0e0">
- <td width="26%" bgcolor="#e0e0e0">
- <div align="left"><strong>备注:</strong></div>
- </td>
- <td width="74%">
- <div align="left">
- <input type="text" name="remark" class="text" size="10" value="" maxlength="10">
- </div>
- </td>
- </tr>
- <tr bgcolor="#fafafa">
- <td colspan="2" align="center" height="30">
- <input onClick="createArchive(this.form)" type="button" value="保存" class="text">
-
- <input type="reset" value="重置" class="text">
-
- <input type="button" value="放弃" class="text" onClick="history.back()">
- </td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- <jsp:include page="/vnex/page/TTOA_HELP.jsp" />
- </TD>
- </TR>
- <jsp:include page="/vnex/page/TTOA_TABLE_BOTTOM.jsp" />
- </TBODY>
- </TABLE>
- <BR>
- <jsp:include page="/vnex/page/TTOA_PRODUCER_LOGO.jsp" />
- </form>
- </DIV>
- </BODY>
- </HTML>