⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 neirong-zhoubao.jsp

📁 一个oa系统
💻 JSP
字号:
<%@ page language="java" import="java.util.*" pageEncoding="gbk"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'neirong-zhoubao.jsp' starting page</title>
 <style type="text/css">
<!--
body,td,th {
	font-size: 12px;
}
body {
	margin-left: 15px;
	margin-top: 15px;
}
.STYLE1 {
	color: #FFFFFF;
	font-weight: bold;
	font-size: 14px;
}
-->
</style>
<script>
  function change(){
     var all = document.getElementById("all");
     if(all.checked){//alert(document.getElementById("id").style.background);
         document.getElementById("id").readOnly=true;
         document.getElementById("id").style.background="#CCCCCC";
     }else{
         document.getElementById("id").readOnly=false;
         document.getElementById("id").style.background="#FFFFFF";
     }
  }
</script>
  </head>
<%int period = (Integer)request.getAttribute("period"); 
  Date first = (Date)request.getAttribute("begindate");
  Date end = (Date)request.getAttribute("enddate");
  java.text.SimpleDateFormat format = new java.text.SimpleDateFormat("yyyy-MM-dd");%>  
  <body>
    <table height="78" cellspacing="0" cellpadding="0" width="419" border="0">
  <tbody>
    <tr>
      <td height="26" bgcolor="#A4B5E3"><span class="STYLE1">&nbsp;周报管理</span></td>
    </tr>
    <tr>
      <td height="52" valign="top"><table width="850" border="0" cellpadding="0" cellspacing="1" bgcolor="#3868f8">
          <tbody>
          <tr>
              <td height="25" bgcolor="#FFFFFF">&nbsp;<span>[添加周期]</span></td>
          </tr>
          <form action="<%=request.getContextPath()%>/submitperiod.do" name="fr" method="post" style="display:inline">
            <tr>
              <td height="25" bgcolor="#FFFFFF"> &nbsp;当前第<input name="select" type="text" value="<%=period %>" size="4" maxlength="12" />期
              &nbsp;&nbsp;&nbsp;&nbsp;从<input name="first" type="text" value="<%=format.format(first) %>" size="12"/>至<input name="first" type="text" value="<%=format.format(end) %>" size="12"/>日
              &nbsp;&nbsp;&nbsp;&nbsp;添加第<input name="period" type="text" value="<%=period+1 %>" size="4" maxlength="12" />期&nbsp; 
               &nbsp;&nbsp;<input type="submit" name="Submit42" value="确 定" onclick="period()"/>
              
              </td>
           </tr>
          </form>
          <tr>
              <td height="25" bgcolor="#FFFFFF">&nbsp;<span>[产生周报]</span></td>
          </tr>
          <form action="<%=request.getContextPath()%>/submitzhoubao.do" name="fr" method="post" style="display:inline">
            <tr>
              <td height="25" bgcolor="#FFFFFF" colspan="2">&nbsp;期号:第<input name="period2" type="text" value="<%=period %>" size="4" maxlength="12" />期
                 指定员工编号: <input name="username" type="text" value="" size="12"  style="background:#CCCCCC" readOnly="readonly" maxlength="12" id="id"/>
                或<input type="checkbox" name="all" id="all" onclick="change()" checked/>
              全选 &nbsp;&nbsp;<input type="submit" name="Submit43" value="确 定" /></br>
               &nbsp;&nbsp;注意:指定员工编号或全选只能择其一
       </td>
            </tr>
            <tr>
              <td height="25" bgcolor="#FFFFFF"  colspan="2">&nbsp;</td>
            </tr>
          </form>
          </tbody>
      </table></td>
    </tr>
  </tbody>
</table>
</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -