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

📄 wsjy.jsp

📁 一套完整的档案管理系统
💻 JSP
📖 第 1 页 / 共 2 页
字号:
					scope="request"	filter="true"/>
	</td>
  </tr>
  <html:hidden property="title"/>
  <tr> 
	   <td width="20%" align="right" >
			档号:   </td>
		<td width="30%" align="left" >
			<bean:write name="jyForm" property="archivalcode"
						scope="request"	filter="true"/>
		</td>
  </tr>
    <html:hidden property="archivalcode"/>
  </tr>
   <td width="20%" align="right" >
		申请人:
    </td>
	<td width="30%" align="left" >
	<html:text value="<%=userInfo.getUserName()%>" property="applicant" readonly="true"/>   
	</td>
	</td>
  </tr>
   <td width="20%" align="right" >
		申请时间:
    </td>
	<td width="30%" align="left" >
		<html:text  property="applytime" readonly="true"/>
	 <img align=absMiddle
 		  alt="日期选择" border=0 height=13 id=daysOfMonth2Pos name=daysOfMonth2Pos
 		  onMouseUp="toggleDatePicker('daysOfMonth2','jyForm.ret',document.jyForm.applytime)"
 		  src="../js/calendaricon.gif" width=13>
                  <div id=daysOfMonth2 style="POSITION: absolute"></div>
	</td>
	</td>
  </tr>
   <td width="20%" align="right" >
		理由:
    </td>
	<td width="30%" align="left" >
		<html:textarea  property="reason"/>
	</td>
  </tr>
     <html:hidden property="borrowapplyid"/>
	<td align="right">
	<input type="submit"   name="sb"  value="保存" onClick="return submitApplyCheck()">
	</td>
	<td align="left">
	    <logic:notEqual name="jyForm" property="action"
                scope="request" value="Edit">
			  <html:reset>
				<bean:message key="button.reset"/>
			  </html:reset>
        </logic:notEqual>
       <logic:equal name="jyForm" property="action"
                scope="request" value="Edit">
	   <input type="submit"  name="sb" value="提交" onClick="return submitApplyCheck()">    
	   </logic:equal>	

		<input type="button" value="返回" onClick="javascript:history.go(-1);">
    </td>
  </tr>
</logic:equal>



<!-- 网上申请查看页面   -->
<logic:equal name="jyForm" property="action"
                scope="request" value="See">
<tr>
		<td width="20%" align="right" >
			文号:
		</td>
		<td width="30%" align="left" >
			<bean:write name="jyForm" property="serialno"
						scope="request"	filter="true"/>
		</td>
 </tr>
 <tr>
		<td width="20%" align="right" >
			标题: 
		</td>
		<td width="30%" align="left" >
			<bean:write name="jyForm" property="title"
						scope="request"	filter="true"/>
		</td>
  </tr>
  <tr> 
	    <td width="20%" align="right" >
			档号:   
		</td>
		<td width="30%" align="left" >
			<bean:write name="jyForm" property="archivalcode"
						scope="request"	filter="true"/>
		</td>
  </tr>
  <tr>
	   <td width="20%" align="right" >
			申请人:
		</td>
		<td width="30%" align="left" >
			<bean:write name="jyForm" property="applicant"
						scope="request"	filter="true"/>
		</td>
  </tr>
  <tr>
		<td width="20%" align="right" >
			申请时间:
		</td>
		<td width="30%" align="left" >
		<bean:write name="jyForm" property="applytime"
							scope="request"	filter="true"/>
		</td>
  </tr>
  <tr>
		<td width="20%" align="right" >
			理由:
		</td>
		<td width="30%" align="left" >
			<bean:write name="jyForm" property="reason"
								scope="request"	filter="true"/>
		</td>
  </tr>
  <tr>
		<td width="20%" align="right" >
			审批人:
		</td>
		<td width="30%" align="left" >
			<bean:write name="jyForm" property="approver"
								scope="request"	filter="true"/>
		</td>
  </tr>
  <tr>
		<td width="20%" align="right" >
			审批时间:
		</td>
		<td width="30%" align="left" >
			<bean:write name="jyForm" property="approvetime"
								scope="request"	filter="true"/>
		</td>
  </tr>
   <tr>
		<td width="20%" align="right" >
			审批意见:
		</td>
		<td width="30%" align="left" >
			<bean:write name="jyForm" property="approvesuggest"
								scope="request"	filter="true"/>
		</td>
  </tr>
  <tr>
		<td width="20%" align="right" >
			答复人:
		</td>
		<td width="30%" align="left" >
			<bean:write name="jyForm" property="replier"
								scope="request"	filter="true"/>
		</td>
  </tr>
   <tr>
		<td width="20%" align="right" >
			答复时间:
		</td>
		<td width="30%" align="left" >
			<bean:write name="jyForm" property="replytime"
								scope="request"	filter="true"/>
		</td>
  </tr>
   <tr>
		<td width="20%" align="right" >
			答复意见:
		</td>
		<td width="30%" align="left" >
			<bean:write name="jyForm" property="replysuggest"
								scope="request"	filter="true"/>
		</td>
  </tr>
  <tr>
		<td width="20%" align="right" >
			申请的状态:
		</td>
		<td width="30%" align="left" >
			<bean:write name="jyForm" property="applystatus"
								scope="request"	filter="true"/>
		</td>
  </tr>
  <tr>
		<td align="right">
			<input type="button" value="返回" onClick="javascript:history.go(-1);">
		</td>
  </tr>
</logic:equal>



<!-- 网上申请登记页面  -->
<logic:equal name="jyForm" property="action"
                scope="request" value="Jysq">
<tr>
    <td width="20%" align="right" >
		文号:
	</td>
	<td width="30%" align="left" >
		<bean:write name="jyForm" property="serialno"
					scope="request"	filter="true"/>
	</td>
 </tr>
<html:hidden property="serialno"/>
 <tr>
    <td width="20%" align="right" >
		标题: </td>
	<td width="30%" align="left" >
		<bean:write name="jyForm" property="title"
					scope="request"	filter="true"/>
	</td>
  </tr>
  <html:hidden property="title"/>
  <tr> 
	   <td width="20%" align="right" >
			档号:   </td>
		<td width="30%" align="left" >
			<bean:write name="jyForm" property="archivalcode"
						scope="request"	filter="true"/>
		</td>
  </tr>
    <html:hidden property="archivalcode"/>
  <tr>
	   <td width="20%" align="right" >
			申请人:
		</td>
		<td width="30%" align="left" >
			<html:text value="<%=userInfo.getUserName()%>" property="applicant" readonly="true"/> 
		</td>
  </tr>
  <tr>
	   <td width="20%" align="right" >
			申请时间:
		</td>
		<td width="30%" align="left" >
			<html:text  property="applytime" readonly="true"/>
		 <img align=absMiddle
			  alt="日期选择" border=0 height=13 id=daysOfMonth2Pos name=daysOfMonth2Pos
			  onMouseUp="toggleDatePicker('daysOfMonth2','jyForm.ret',document.jyForm.applytime)"
			  src="../js/calendaricon.gif" width=13>
					  <div id=daysOfMonth2 style="POSITION: absolute"></div>
		</td>
   </tr>
    <tr>
		<td width="20%" align="right"  >
           选择处理人:
		</td>
		<td width="30%" align="left">
    	    <select name="approver" size=2 multiple>
			<%= getUserOptionsTemp("all","Username","fUserRole",2)%>
			</select>
		</td>
  </tr>
   <tr>
	   <td width="20%" align="right" >
			理由:
		</td>
		<td width="30%" align="left" >
			<html:textarea  property="reason"/>
		</td>
	  </tr>
		 <html:hidden property="borrowapplyid"/>
   <tr>
	<td align="right">
   <!--
	  <html:submit>
        <bean:message key="button.save"/>
      </html:submit>
    -->
	<input type="submit" value="保存" onClick="return submitApplyCheck()">
	</td>
	<td align="left">
	    <logic:notEqual name="jyForm" property="action"
                scope="request" value="Edit">
			  <html:reset>
				<bean:message key="button.reset"/>
			  </html:reset>
        </logic:notEqual>
	  &nbsp;
        <input type="button" value="返回" onClick="javascript:history.go(-1);">
    </td>
  </tr>
</logic:equal>




</table>

</html:form>


  </body>

  </html:html>

  <SCRIPT LANGUAGE="JavaScript">
//检测网上借阅申请输入数据
function submitApplyCheck(){
		var serialno  =document.jyForm.serialno.value;	
		var applicant =document.jyForm.applicant.value;
		var reason    =document.jyForm.reason.value;
        var title 	  =document.jyForm.title.value; 
        var archivalcode=document.jyForm.archivalcode.value; 
		
		if(serialno==""){
		   alert("文号不能为空");
           return false;
		}
		
        if(applicant==""){
		  alert("申请人不能为空");
		  return false;
		} 
		
		if(getTrim(reason)==""){
           alert("理由不能为空");
		   return false;
        }
		//最后正确-返回
		return true;
	
}

function submitReplyCheck(){
		var replier         =document.jyForm.replier.value;
		var replysuggest    =document.jyForm.replysuggest.value;
        
        if(replier==""){
		  alert("答复人不能为空");
		  return false;
		} 
		
		if(getTrim(replysuggest)==""){
           alert("答复意见不能为空");
		   return false;
        }
		//最后正确-返回
		return true;
	
}

function submitApproveCheck(){
		var approver       =document.jyForm.approver.value;	
		var approvesuggest =document.jyForm.approvesuggest.value;
        if(approver==""){
		  alert("审批人不能为空");
		  return false;
		} 
		
		if(getTrim(approvesuggest)==""){
           alert("审批意见不能为空");
		   return false;
        }
		//最后正确-返回
		return true;
	
}


</SCRIPT>
  

⌨️ 快捷键说明

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