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

📄 archive_edit.jsp

📁 一套完整的档案管理系统
💻 JSP
📖 第 1 页 / 共 2 页
字号:
<%@ page language="java" import="com.stsc.archive.file.*" %>
<%@ page  import="com.stsc.archive.second.fileinfoForm" %>
<%@ page contentType="text/html;charset=GB2312" %>
<%@ include file="/share/func.jsp"%>
<%@ include file="/share/share.jsp"%>

<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>


<SCRIPT TYPE="text/javascript" SRC="js/date.js" > </SCRIPT> 

<%String temp="",securityclass="",filetype="",category="",archiveno="",archivalcode="",serialno="";
//2003-05-28 add by liqf
String secutrity="",filetypenew="",categorynew="",retentionperiod="",code="",archivetypenew="";
String volumnno="";
//2003-06-02 add by liqf
temp=getFirst("farchivetype");
boolean bz=true;
%>


<!--
文件编辑页面.
-->
<html:html>
<head>

<logic:equal name="archiveForm" property="action"
            scope="request" value="Edit" >
  <title><bean:message key="archive.edit"/></title>
   <%
		ArchiveForm archiveForm1= (ArchiveForm) session.getAttribute("archiveForm");
		 //取得档案种类
		 temp=archiveForm1.getArchivetype();
		 //取得密级
		securityclass=archiveForm1.getSecurityclass();
		//取得文件种类
		filetype=archiveForm1.getFiletype();
		//取得类目号
		category=archiveForm1.getCategory();
		//取得类目号
		volumnno=archiveForm1.getVolumnno();
		//out.println("volunmno==========="+volumnno);
		if(volumnno!=null && !volumnno.equals("") && !volumnno.equals("null"))
		{
			bz=getVoun(volumnno);
			//out.println("bz==========="+bz);
		}
		//取得归档号(即存址号)
		archivalcode=archiveForm1.getArchivalcode();
		//取得电子档号
		archiveno=archiveForm1.getArchiveno();
		//bz=!bz;
		serialno=request.getParameter("serialno");

		retentionperiod=archiveForm1.getRetentionperiod();
	%>
</logic:equal>
<html:base/>
</head>
<body bgcolor="white">
<%
	
		String archivetype=request.getParameter("archivetype");
		if(archivetype!=null && !archivetype.equals("") && !archivetype.equals("null")){
			temp=archivetype;
			archivetype=" archivetype='"+archivetype+"'";
		}else{
			archivetype=" archivetype='"+temp+"'";
		}
		%>
<html:errors/>
<html:form action="/saveArchive" enctype="multipart/form-data">

<html:hidden property="action"/>
<table border="1" cellpadding="0" cellspacing="0" align="center" width="777" bgcolor="#3A5C9F" >
<logic:equal name="archiveForm" property="action"
                scope="request" value="Edit">
  <tr>
  <html:hidden property="serialno" />
  <html:hidden property="flowno" />
	  <%if(!bz){%>
		<td >案卷号:</td>
	<td>
		<html:text property="volumnno" readonly="true"/>
	</td>
	<%}%>
	<td width="20%" align="right">
		<bean:message key="prompt.archivetype"/>
	</td>
	<td width="30%" align="left" >
	<%if(bz){%>
	  <select name="archivetype"
	 onchange="javascript:location.href('editArchive.do?action=Edit&serialno='+document.archiveForm.serialno.value+'&archivetype='+document.archiveForm.archivetype.value)">
	<%= getBcOptions(temp,"archivetype","farchivetype")%>
	<%}else{%>
		<html:text property="archivetype" readonly="true"/>
	<%}%>
	</select>
	</td>
  </tr>
  <tr>
    <td align="right">
		<bean:message key="prompt.code"/>
    </td>
	<td align="left">
	<%if(bz){%>
		<html:text property="code" />
		<%}else{%>
		<html:text property="code" readonly="true"/>
	<%}%>

	</td>
	<td align="right">
		<bean:message key="prompt.category"/>
	</td>
	<!--
	<td align="left">
		<html:text property="category" />
	</td>
	-->
	<td width="30%" align="left" >
<%if(bz){%>
	  <select name="category">
	<%= getBcOptions(category,"category","fFileCategory")%>
	</select>
<%}else{%>
		<html:text property="category" readonly="true"/>
	<%}%>
  </tr>
    <tr>
    <td align="right">
		<bean:message key="prompt.filetype"/>
    </td>
	<!--
	<td align="left">
		<html:text property="filetype" />
	</td>
	-->
	<td width="30%" align="left" >
	  <select name="filetype">
	<%= getBcOptions(filetype,"FileType",archivetype,"ffiletype")%>
	</select>
	</td>
	<td align="right">
		<bean:message key="prompt.title"/>
	</td>
	<td align="left">
		<html:text property="title" />
	</td>
  </tr>
  <tr>
    <td align="right">
		<bean:message key="prompt.titleremark"/>
    </td>
	<td align="left">
		<html:text property="titleremark" />
	</td>
	<td align="right">
		<bean:message key="prompt.fileno"/>
	</td>
	<td align="left">
		<html:text property="fileno" />
	</td>
  </tr>
  <tr>
    <td align="right">
		<bean:message key="prompt.literaturetype"/>
    </td>
	<td align="left">
		<html:text property="literaturetype" />
	</td>
	<td align="right">
		<bean:message key="prompt.filedate"/>
	
	</td>
	<td align="left">
	<html:text size="12" property="filedate" readonly="true"/>
<img align=absMiddle
 		  alt="日期选择" border=0 height=13 id=daysOfMonth1Pos name=daysOfMonth1Pos
 		  onMouseUp="toggleDatePicker('daysOfMonth1','archiveForm.ret',document.archiveForm.filedate)"
 		  src="<%=data_path%>calendaricon.gif" width=13>
                  <div id=daysOfMonth1 style="POSITION: absolute"></div>
	</td>
  </tr>
  <tr>
    <td align="right">
		<bean:message key="prompt.pagenumber"/>
    </td>
	<td align="left">
		<html:text property="pagenumber" />
	</td>
	<td align="right">
		<bean:message key="prompt.duty"/>
	</td>
	<td align="left">
		<html:text property="duty" />
	</td>
  </tr>
  <tr>
    <td align="right">
		<bean:message key="prompt.otherduty"/>
    </td>
	<td align="left">
		<html:text property="otherduty" />
	</td>
	<td align="right">
		<bean:message key="prompt.electronicfilename"/>
	</td>
	<td align="left">
		<html:text property="electronicfilename" />
	</td>
  </tr>
  <tr>
    <td align="right">
		<bean:message key="prompt.attachmenttitle"/>
    </td>
	<td align="left">
		<html:text property="attachmenttitle" />
	</td>
	<td align="right">
		<bean:message key="prompt.keyword"/>
	</td>
	<td align="left">
		<html:text property="keyword" />
	</td>
  </tr>
  <tr>
    <td align="right">
		<bean:message key="prompt.memo"/>
    </td>
	<td align="left">
		<html:textarea rows="4" cols="25" property="memo" />
	</td>
	<td align="right">
		<bean:message key="prompt.annotation"/>
	</td>
	<td align="left">
		<html:textarea rows="4" cols="25" property="annotation" />
	</td>
  </tr>
  <tr>
   <td align="right">
		<bean:message key="prompt.handover"/>
    </td>
	<td align="left">
		<html:text property="handover" />
	</td>
    
	<td align="right">
		<bean:message key="prompt.copys"/>
	</td>
	<td align="left">
		<html:text property="copys" />
	</td>
  </tr>
  <tr>
    <td align="right">
		<bean:message key="prompt.lendnum"/>
    </td>
	<td align="left">
		<html:text property="lendnum" />
	</td>
	<td align="right">
		<bean:message key="prompt.securityclass"/>
	</td>
	<td align="left">
	<%if(bz){%> 
	<select name="securityclass" >
	<option value="普通" <%if(securityclass.equals("普通")) out.println("selected");%>>普通
	<%if(userInfo.hasPopedom(5) || userInfo.hasPopedom(4)){%>
	<option value="秘密" <%if(securityclass.equals("秘密")) out.println("selected");%>>秘密
	<%}%>
	<%if(userInfo.hasPopedom(5) ){%>
	<option value="机密" <%if(securityclass.equals("机密")) out.println("selected");%>>机密

⌨️ 快捷键说明

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