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

📄 leave.jsp

📁 tomcat最新安装程序
💻 JSP
字号:
<%@ page contentType="text/html;charset=GB2312"%>
<%@ page import="cn.com.aheadsoft.business.MeetingStaffBusiness"%>
<%@ page import="cn.com.aheadsoft.recordset.MeetingStaffRecordSet"%>
<%@ page import="cn.com.aheadsoft.business.PersonInfoBusiness"%>
<%@ page import="cn.com.aheadsoft.recordset.PersonInfoRecordSet"%>  
<%@ page import="cn.com.aheadsoft.business.MeetingInformBusiness"%>
<%@ page import="cn.com.aheadsoft.recordset.MeetingInformRecordSet "%>
<jsp:useBean id="userinfo" scope="session" class="cn.com.aheadsoft.util.UserInfo"/>
<jsp:useBean id="upm" scope="session" class="cn.com.aheadsoft.manage.UserPurviewManage"/>

<html>
<head>
<title>请假条</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" type="text/css" href="/krm/jsp/css/css.css">
</head>
<script language="JavaScript">
function atSubmit(){
     if(document.leaveform.reason.value.length<1) {
       document.leaveform.reason.focus();
       alert("您没有填写请假理由!请填写后提交。");
       return false;
     }
}
</script>
<%
String sInfoTime = request.getParameter("infoTime");
String sMeetID = request.getParameter("meetID");
String sUser = userinfo.GetUserID();

PersonInfoBusiness pib = new PersonInfoBusiness();
pib.setQueryWhere(sUser);
pib.execute("query");
PersonInfoRecordSet rd = pib.getRecordSet();
rd.next();
String sUserName = rd.getI_Name();


MeetingInformBusiness mibi1 = new MeetingInformBusiness();
MeetingInformRecordSet MeetingInfoRdSet = new MeetingInformRecordSet();
mibi1.setQueryWhereID(sMeetID, sInfoTime);
mibi1.execute("query");
MeetingInfoRdSet = mibi1.getMeetingInformRdset();
MeetingInfoRdSet.next();
String sValid = MeetingInfoRdSet.getMI_IsValid();
String sMeetName = MeetingInfoRdSet.getMI_MeetName();
String sMeetTime = MeetingInfoRdSet.getMI_MeetTime();
String sMeetAddress = MeetingInfoRdSet.getMI_MeetAddress();
%>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" >
<form name="leaveform" method="post" action="/krm/servlet/meetingstaffservlet?module=isleave&status=\"\"" onSubmit="return atSubmit()">
<input type="hidden" name="MMID" value="<%=sMeetID%>">
<input type="hidden" name="MSNoticeTime" value="<%=sInfoTime%>">
<input type="hidden" name="MSPerson" value="<%=sUser%>">
<input type="hidden" name="nexturl" value="notereturn.jsp">
<table width="100%" align="center" border="0" cellpadding="0" cellspacing="0"  >
  <tr  class="trA">
      <td>&nbsp;您的位置:行政管理 >> 会议管理 >> <font class="fontcolor">请假条</font></td>
  </tr>
  <tr height="8">   
	<td >
	</td>
  </tr>
  <tr align=center class=listtitle> 
    <td align="center">
      <table border="0" width="98%"  bordercolor="A1B7DB" class="collapse">
	  <tr>             
          <td class="tdA"  colspan="9" align="center"><div align="left">请假条</div></td>
      </tr>
	  <tr align=middle class=listtitle>  
            <td width="100" class="common bgcolor">会议名称</td>
        <td width="820"  class="common"> 
          <div align="left">
            <input type="text" name="T1" size="32" class="long" value="<%=sMeetName%>">
             </div>
        </td>
      </tr>
      <tr align=middle class=listtitle>  
            <td   class="common bgcolor"> 会议时间</td>
        <td width="820"  class="common"> 
          <div align="left"> 
            <input type="text" name="T2" size="32" class="middle" value="<%=sMeetTime%>">
             </div>
        </td>
      </tr>
      <tr align=middle class=listtitle>  
            <td   class="common bgcolor">请假理由</td>
        <td width="820"  class="common"> 
          <div align="left"> 
            <textarea name="reason" cols="31" rows="3" style="overflow:auto"></textarea>
             </div>
        </td>
      </tr>
      <tr align=middle class=listtitle>  
            <td  class="common bgcolor">请假人</td>
        <td width="820"  class="common"> 
          <div align="left"> 
            <input type="text" name="T4" size="30" class="middle" value="<%=sUserName%>">
             </div>
        </td>
      </tr>
      <tr >  
       <td align="center" colspan="4" class="tdC">
           <input name="imageField" type="submit"  onmouseover="this.className='button2'" onmouseout="this.className='button1'"  class="button1" value="提 交">    
		   <input name="imageField" type="reset"  onmouseover="this.className='button2'" onmouseout="this.className='button1'"  class="button1" value="重 置">   

	</td>
      </tr>
    </table>
   </td>
   </tr>
    </table>
  </form>
</body>
</html>

⌨️ 快捷键说明

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