tec_create.jsp
资源名称:NetOffice.rar [点击查看]
上传用户:guhaomin
上传日期:2007-06-10
资源大小:23203k
文件大小:12k
源码类别:
电子政务应用
开发平台:
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.buildYear.value=form.buildYear.value.replace("-","");
- form.buildYear.value=form.buildYear.value.replace("-","");
- form.action="/mainctrl/tecCreateProcess";
- 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.buildYear.value))
- {
- alert("请选择归档时间!");
- form.buildYear.focus();
- return false;
- }
- if(!isEmpty(form.fileNum.value))
- {
- if(!isInteger(form.fileNum.value))
- {
- alert("蓝图只能是数字!");
- form.fileNum.focus();
- return false;
- }
- }
- if(!isEmpty(form.topName.value))
- {
- if(!isInteger(form.topName.value))
- {
- alert("文字只能是数字!");
- form.topName.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/tecIndex"><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="#e0e0e0">
- <td width="24%"><strong>案卷号</strong>:</td>
- <td width="76%">
- <input type="hidden" name="archiveId">
- <input type="text" name="docName" size="30" class="text" maxlength="30">
- *(注:带*为必填内容) </td>
- </tr>
- <tr bgcolor="#fafafa">
- <td width="24%"><strong>图号:</strong></td>
- <td width="76%">
- <input type="text" name="fileBef" size="30" class="text" maxlength="30">
- </td>
- </tr>
- <tr bgcolor="#e0e0e0">
- <td width="24%"><strong>内容摘要:</strong></td>
- <td width="76%">
- <input type="text" name="title" size="30" class="text" maxlength="30">
- * </td>
- </tr>
- <tr bgcolor="#fafafa">
- <td width="24%"><strong>形成单位:</strong></td>
- <td width="76%">
- <input type="text" name="dep" size="30" class="text" maxlength="30">
- </td>
- </tr>
- <tr bgcolor="#e0e0e0">
- <td width="24%">
- <div align="left"><strong>排架:</strong></div>
- </td>
- <td width="76%" bgcolor="#e0e0e0">
- <div align="left">
- <input type="text" name="shelf" size="30" class="text" maxlength="30">
- </div>
- </td>
- </tr>
- <tr bgcolor="#fafafa">
- <td width="24%"><strong>图别:</strong></td>
- <td width="76%">
- <input type="text" name="wordKey" size="30" class="text" maxlength="30">
- </td>
- </tr>
- <tr bgcolor="#e0e0e0">
- <td width="24%"><strong>卷数:</strong></td>
- <td width="76%">
- <input type="text" name="buildMan" size="30" class="text" maxlength="30">
- </td>
- </tr>
- <tr bgcolor="#fafafa">
- <td width="24%">
- <div align="left"><strong>密级:</strong></div>
- </td>
- <td width="76%">
- <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="24%" >
- <div align="left"><strong>文字(本):</strong></div>
- </td>
- <td width="76%" >
- <div align="left">
- <input type="text" name="topName" size="5" class="text" maxlength="5">
- </div>
- </td>
- </tr>
- <tr bgcolor="#fafafa">
- <td width="24%"><strong>蓝图(张):</strong></td>
- <td width="76%" bgcolor="#fafafa">
- <input type="text" name="fileNum" size="5" class="text" maxlength="5">
- </td>
- </tr>
- <tr bgcolor="#e0e0e0">
- <td width="24%"><strong>保管期限:</strong></td>
- <td width="76%">
- <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="24%">
- <div align="left"><strong>形成日期:</strong></div>
- </td>
- <td width="76%">
- <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="24%">
- <div align="left"><strong>归档日期:</strong></div>
- </td>
- <td width="76%" bgcolor="#e0e0e0">
- <input type="text" name="buildYear" readonly size="10" class="text">
- <img src="/vnex/util/datetime.gif" style="cursor:hand;" align="absmiddle" alt="选择借阅档案日期" onClick="fPopUpCalendarDlg(buildYear);return false">
- * </td>
- </tr>
- <tr bgcolor="#fafafa">
- <td width="24%"><strong>附件:</strong></td>
- <td width="76%">
- <input type="file" name="attachment" class="text">
- </td>
- </tr>
- <tr bgcolor="#e0e0e0">
- <td width="24%">
- <div align="left"><strong>备注:</strong></div>
- </td>
- <td width="76%">
- <div align="left">
- <input type="text" class="text" name="remark" 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>