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

电子政务应用

开发平台:

Java

  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
  2. <HTML>
  3. <jsp:include page="/vnex/page/FORM_HEAD.jsp" />
  4. <BODY text=#000000 vLink=#000000 aLink=#000000 link=#000000 bgColor=#ffffff 
  5. topMargin=20 leftmargin="0" marginwidth="0" marginheight="0">
  6. <%@ page contentType="text/html; charset=gb2312"%>
  7. <script Language="JavaScript" src="/vnex/intranet/calendar/Popup.js"></script>
  8. <script language="JavaScript" src="/vnex/validate.js"></script>
  9. <script language="JavaScript" src="/vnex/menu/dockmenu_hr.js"></script>
  10. <script language="JavaScript" src="/vnex/menu/dockmenu.js"></script>
  11. <jsp:useBean id="hrProxyBean" class="com.vnex.intranet.hr.employer_info.proxy.MemberInfoProxyBean" scope="application" />
  12. <script language = "JavaScript">
  13. function do_submit()
  14. {
  15.    var sDate = document.form1.sDate.value;
  16.    var eDate = document.form1.eDate.value;
  17.    if( sDate == "" || eDate == "" ) 
  18.    {
  19.        
  20.        alert("请您选择统计起止日期.");   
  21.        return false;
  22.    }
  23.    if( document.form1.sDate.value > document.form1.eDate.value )
  24.    {
  25.       alert("您选择的起始时间晚于结束时间,请重新选择统计起止日期.");
  26.       return false;
  27.    }
  28.    
  29.    
  30.    form1.action="/mainctrl/attendance/statistic/statisticAttendanceResult";
  31.    form1.submit();
  32. }
  33. </script>
  34. <%@ page contentType="text/html; charset=gb2312"%>
  35. <%@ page language="java" %>
  36. <% String empId = request.getParameter("empId");
  37. %>
  38. <DIV align=center>
  39. <form name="form1" >
  40. <input type = "hidden" name = "empId" value = "<%=empId%>" >
  41.   <TABLE class=outter cellSpacing=0 cellPadding=0 width=600 border=0>
  42.     <jsp:include page="/vnex/page/TTOA_TABLE_TOP.jsp" />
  43.     <TR> 
  44.         <TD colSpan=3 align="center"> 
  45.           <!--菜单开始 -->
  46.           <!--菜单结束 -->
  47.           <table width="400" border="0">
  48.             <tr> 
  49.               <td align="center">&nbsp;</td>
  50.             </tr>
  51.           </table>
  52.           <!--个人信息开始 -->
  53.           <table width="600" border="1" cellspacing="1" bordercolor="#666666">
  54.             <tr>
  55.               <td bgcolor="#fafafa"> 
  56.                 <table class=title cellspacing=1 cellpadding=2 width="600" border=0>
  57.                   <tr bgcolor="#666666"> 
  58.                     <td><font class="strongw"><a href="/mainctrl/home/index"><font color="#FFFFFF">首页</font></a>&gt;&gt;<a href="/mainctrl/hr/main"><font color="#FFFFFF">人力资源</font></a>&gt;&gt;<a href="/mainctrl/intranet/hr/search_result"><font color="#FFFFFF">员工信息</font></a>&gt;&gt;<font color="#FFFFFF">考勤统计</font></td>
  59.                   </tr>
  60.                   <tr> 
  61.                     <td bgcolor="#fafafa">&nbsp;<font class=strong>选择统计日期区间:</font>
  62.                       <input type="text" name="sDate" readonly class=text size="20" value="">
  63.                       &nbsp;<img src="/vnex/intranet/calendar/datetime.gif" style="cursor:hand;" align="absmiddle" alt="弹出日历下拉菜单" onClick="fPopUpCalendarDlg(sDate);return false"> 
  64.                       至
  65.                       <input type="text" name="eDate" readonly class=text size="20" value="">
  66.                       &nbsp;<img src="/vnex/intranet/calendar/datetime.gif" style="cursor:hand;" align="absmiddle" alt="弹出日历下拉菜单" onClick="fPopUpCalendarDlg(eDate);return false">
  67.                     </td>
  68.                   </tr>
  69.                   <tr bgcolor="#fafafa"> 
  70.                     <td height="30" align="center"> 
  71.                       <input  type="button" value="查找" name="Submit2" onClick = "do_submit()" class=text>
  72.                     </td>
  73.                   </tr>
  74.                 </table>
  75.                 </td>
  76.             </tr>
  77.           </table>
  78.           <!--个人信息结束 -->
  79.          <jsp:include page="/vnex/page/TTOA_HELP.jsp" />
  80.          
  81. </TD>
  82.     </TR>
  83.     <jsp:include page="/vnex/page/TTOA_TABLE_BOTTOM.jsp" />
  84.     </TABLE>
  85.   <BR>
  86.     <jsp:include page="/vnex/page/TTOA_PRODUCER_LOGO.jsp" />
  87.   </form></DIV>
  88. </BODY></HTML>