tec_index.jsp
资源名称:NetOffice.rar [点击查看]
上传用户:guhaomin
上传日期:2007-06-10
资源大小:23203k
文件大小:7k
源码类别:
电子政务应用
开发平台:
Java
- <%@ taglib uri="/vnex.tld" prefix="vnex" %>
- <%@ taglib uri="/vnex_archive.tld" prefix="archive" %>
- <%@ page errorPage="/vnex/ErrorPage.jsp" %>
- <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/strUtil.js"></script>
- <script language=javascript>
- function checkAll(checkbox_select,checkbox_names)
- {
- var items=checkbox_names.length;
- if(items>1)
- {
- for(i=0;i<items;i++)
- if(!checkbox_names[i].disabled)
- checkbox_names[i].checked=checkbox_select.checked;
- }
- else
- {
- if(!checkbox_names.disabled)
- checkbox_names.checked=checkbox_select.checked;
- }
- }
- function toDelete(form)
- {
- if(form.check1 == null)
- {
- alert("目前尚未有数据可供删除");
- return;
- }
- var items=form.check1.length;
- var j = -1;
- var sign = 1;
- if (items>1)
- {
- for (i=0;i < items;i++)
- {
- if (form.check1[i].checked)
- j = i;
- }
- if (j == -1)
- {
- alert ("没有可供删除的选项!" );
- sign = 0;
- }
- }
- else
- {
- if (form.check1.checked)
- sign = 1;
- else
- {
- alert ("没有可供删除的选项!" );
- sign = 0
- }
- }
- if (sign == 1)
- {
- if(confirm("是否删除所选记录?"))
- {
- form.action= "/mainctrl/tecDel";
- form.submit();
- }
- }
- }
- </script>
- <DIV align=center>
- <form name="form1" method="get">
- <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/archiveFileIn"><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 width="100%" border="0" cellpadding="2" cellspacing="1">
- <tr>
- <td colspan="4" height="30" bgcolor="#fafafa">
- <input type="button" value="新增" class="file" onClick="location='/mainctrl/tecCreate'">
-
- <input type="button" value="删除" class="file" onClick="toDelete(form1)">
-
- <input type="button" value="查询" class="text" onClick="location='/mainctrl/tecSearch'">
-
- <input type="button" value="打印" class="text" onClick="location='/mainctrl/tecPrint'" name="button2">
- </td>
- </tr>
- <tr align="center">
- <td width="7%"><font class="strong">选择</font></td>
- <td><font class="strong">案卷号</font></td>
- <td><strong>内容摘要</strong></td>
- <td><font class="strong">形成日期</font></td>
- </tr>
- <archive:TecList>
- <vnex:items paging="true">
- <tr bgcolor="<vnex:itemsColor />" align="center">
- <td width="7%" >
- <input type=checkbox name=check1 value="<archive:TecAttribute attribute = "archive_id"/>">
- </td>
- <td >
- <div align="left">
- <archive:TecAttribute attribute = "docName"/></div></td>
- <td >
- <div align="left"><a href="/mainctrl/tecDetail?archiveId=<archive:TecAttribute attribute = "archive_id"/>"><archive:TecAttribute attribute = "title"/></a></div>
- </td>
- <td ><archive:TecAttribute attribute = "buildDate"/></td>
- </tr>
- </vnex:items>
- <tr>
- <td width="7%" align="center" bgcolor="#e0e0e0">
- <input type="checkbox" name="selectAll" value="checkbox" onClick= checkAll(selectAll,check1)>
- </td>
- <td colspan="3" bgcolor="#e0e0e0"> 全选</td>
- </tr>
- <tr>
- <td colspan="4" bgcolor="#fafafa"> <vnex:pagingTag pageName="/mainctrl/tecIndex?a" />
- </td>
- </tr>
- </archive:TecList>
- </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>