|
|
|
<%@page import="com.zky.para.Para"%>
|
|
|
|
<%@page import="com.zky.zhyw.smwj.CreateFileIdUtils"%>
|
|
|
|
<%@include file="/auth.jsp"%>
|
|
|
|
<%@page language="java" contentType="text/html;charset=utf-8"%>
|
|
|
|
<jsp:useBean id="getPara" scope="application" class="com.zky.para.SyncPara"/>
|
|
|
|
<%
|
|
|
|
String fileState="";
|
|
|
|
String secret="";
|
|
|
|
String writeDate="";
|
|
|
|
String year[]=null;
|
|
|
|
String schoolid = (String)request.getAttribute("schoolid");
|
|
|
|
String sj = Common.convertNull(request.getParameter("sj"));
|
|
|
|
String qj = Common.convertNull(request.getParameter("qj"));
|
|
|
|
String departId=Common.convertNull(request.getParameter("departId"));
|
|
|
|
String employeeId=(String)request.getAttribute("writeempid");
|
|
|
|
String employeeId1=Common.convertNull(request.getParameter("writeempid"));
|
|
|
|
HashFmlBuf bufs=(HashFmlBuf)request.getAttribute("bufEmployee"); //读取学生编号
|
|
|
|
String areaid=(String)request.getAttribute("areaid");
|
|
|
|
HashFmlBuf bufschool=(HashFmlBuf)request.getAttribute("writeDepartment"); //通过区县读取学校
|
|
|
|
Login login = (Login) request.getSession().getAttribute("login");
|
|
|
|
%>
|
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<title>文件提取管理</title>
|
|
|
|
<link rel="stylesheet" type="text/css" href="../../../css/font.css">
|
|
|
|
<script src="/js/check.js"></script>
|
|
|
|
|
|
|
|
<link rel="stylesheet" type="text/css" href="../../../js/2k3Grid.css">
|
|
|
|
<link rel="stylesheet" type="text/css" href="../../../js/2k3Menu.css">
|
|
|
|
<link rel="stylesheet" type="text/css" href="../../../js/2k3Dialog.css">
|
|
|
|
<style type="text/css">
|
|
|
|
select
|
|
|
|
{
|
|
|
|
width:155px;
|
|
|
|
}
|
|
|
|
html { overflow-x:hidden; overflow-y:hidden; }
|
|
|
|
#myGrid .gridHead{
|
|
|
|
height: 50px;
|
|
|
|
line-height: 50px;
|
|
|
|
background-color: #cce7f5;
|
|
|
|
color: #000;
|
|
|
|
font-size: 16px;
|
|
|
|
font-weight: bold;
|
|
|
|
box-sizing: border-box;
|
|
|
|
}
|
|
|
|
#myGrid .gridHead .gridRow{
|
|
|
|
display: flex;
|
|
|
|
justify-content: start;
|
|
|
|
}
|
|
|
|
#myGrid .gridHead span{
|
|
|
|
text-align: center;
|
|
|
|
display: inline-block;
|
|
|
|
border-right: 1px solid #000000;
|
|
|
|
box-sizing: border-box;
|
|
|
|
}
|
|
|
|
#myGrid .gridHead span:nth-child(1){
|
|
|
|
width: 100px;
|
|
|
|
}
|
|
|
|
#myGrid .gridHead span:nth-child(2){
|
|
|
|
width: 200px;
|
|
|
|
}
|
|
|
|
#myGrid .gridHead span:nth-child(3){
|
|
|
|
width: 120px;
|
|
|
|
}
|
|
|
|
#myGrid .gridHead span:nth-child(4){
|
|
|
|
width: 220px;
|
|
|
|
}
|
|
|
|
#myGrid .gridHead span:nth-child(5){
|
|
|
|
width: 220px;
|
|
|
|
}
|
|
|
|
#myGrid .gridHead span:nth-child(6){
|
|
|
|
width: 200px;
|
|
|
|
}
|
|
|
|
#myGrid .gridHead span:nth-child(7){
|
|
|
|
width: 200px;
|
|
|
|
}
|
|
|
|
#myGrid .gridHead span:nth-child(8){
|
|
|
|
width: 217px;
|
|
|
|
border-right: none;
|
|
|
|
}
|
|
|
|
#myGrid .gridBody .gridRow{
|
|
|
|
height: 30px;
|
|
|
|
/*margin-top: 5px;*/
|
|
|
|
display: flex;
|
|
|
|
justify-content: start;
|
|
|
|
align-items: center;
|
|
|
|
border-bottom: 1px solid #000;
|
|
|
|
color: #000;
|
|
|
|
}
|
|
|
|
#myGrid .gridBody .gridRow span{
|
|
|
|
width: 148px;
|
|
|
|
display: inline-block;
|
|
|
|
border-right: 1px solid;
|
|
|
|
text-align: center;
|
|
|
|
height: 30px;
|
|
|
|
line-height: 30px;
|
|
|
|
box-sizing: border-box;
|
|
|
|
}
|
|
|
|
#myGrid .gridBody .gridRow span:nth-child(1){
|
|
|
|
width: 100px;
|
|
|
|
}
|
|
|
|
#myGrid .gridBody .gridRow span:nth-child(2){
|
|
|
|
width: 200px;
|
|
|
|
}
|
|
|
|
#myGrid .gridBody .gridRow span:nth-child(3){
|
|
|
|
width: 120px;
|
|
|
|
}
|
|
|
|
#myGrid .gridBody .gridRow span:nth-child(4){
|
|
|
|
width: 220px;
|
|
|
|
}
|
|
|
|
#myGrid .gridBody .gridRow span:nth-child(5){
|
|
|
|
width: 220px;
|
|
|
|
}
|
|
|
|
#myGrid .gridBody .gridRow span:nth-child(6){
|
|
|
|
width: 200px;
|
|
|
|
}
|
|
|
|
#myGrid .gridBody .gridRow span:nth-child(7){
|
|
|
|
width: 200px;
|
|
|
|
}
|
|
|
|
#myGrid .gridBody .gridRow span:nth-child(8){
|
|
|
|
width: 217px;
|
|
|
|
border-right: none;
|
|
|
|
}
|
|
|
|
#myGrid .gridBody .gridRow span a,#myGrid .gridBody .gridRow span img,#myGrid .gridBody .gridRow span input {
|
|
|
|
margin-right: 6px;
|
|
|
|
margin-top: 6px;
|
|
|
|
}
|
|
|
|
form{
|
|
|
|
height: 96%;
|
|
|
|
}
|
|
|
|
</style>
|
|
|
|
<script>
|
|
|
|
function setValue() {
|
|
|
|
<%if (!Common.isNull(sj)) {
|
|
|
|
out.println("form1.sj.value='" + sj + "';");
|
|
|
|
}
|
|
|
|
if (!Common.isNull(qj)) {
|
|
|
|
out.println("form1.qj.value='" + qj + "';");
|
|
|
|
}
|
|
|
|
%>
|
|
|
|
}
|
|
|
|
function check(operate,receiveId) {
|
|
|
|
form1.operate.value=operate;
|
|
|
|
if (operate == "ExtractId") {
|
|
|
|
if (!confirm("确定要提取这份文件吗?")) {
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
form1.action = "/servelt/FileExtractManage?operate=ExtractId&receiveId=" + receiveId;
|
|
|
|
}
|
|
|
|
if (operate == "queryFileExtract"){
|
|
|
|
}
|
|
|
|
form1.button1.disabled=true;
|
|
|
|
form1.submit();
|
|
|
|
}
|
|
|
|
function selectChange(i)
|
|
|
|
{
|
|
|
|
form1.action = "/zhyw/smwj/wjtq/fileExtractManage.jsp";
|
|
|
|
form1.submit();
|
|
|
|
}
|
|
|
|
function getClass(parasm){
|
|
|
|
var optiontext="";
|
|
|
|
for (i = 1; i < document.getElementById(parasm).length; i++) {
|
|
|
|
if (document.getElementById(parasm).options[i].selected == true) {
|
|
|
|
optiontext = document.getElementById(parasm).options[i].value;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if(optiontext!=""){
|
|
|
|
if(parasm=="areaid"){
|
|
|
|
location="/servelt/FileExtractManage?operate=readAridSchoolManage&areaid="+optiontext;
|
|
|
|
}
|
|
|
|
if(parasm=="schoolid"){
|
|
|
|
location="/servelt/FileExtractManage?operate=readEmployeeByDepartmentManage&schoolid="+optiontext+"&areaid=<%=areaid%>";
|
|
|
|
}
|
|
|
|
if (parasm=="typeInfo") {
|
|
|
|
if (
|
|
|
|
document.getElementById(parasm).value=="2" || document.getElementById(parasm).value=="3" || document.getElementById(parasm).value=="5"||
|
|
|
|
document.getElementById(parasm).value=="6"||document.getElementById(parasm).value=="7" || document.getElementById(parasm).value=="8" ||
|
|
|
|
document.getElementById(parasm).value=="9") {
|
|
|
|
}else {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</script>
|
|
|
|
</head>
|
|
|
|
<body onload="setValue();" scroll="no">
|
|
|
|
<form name="form1" method="post" action="/servelt/FileExtractManage">
|
|
|
|
<table width="99%" border="0" align="center" cellpadding="0" cellspacing="1" class="box">
|
|
|
|
<tr>
|
|
|
|
<td valign="top">
|
|
|
|
<table width="100%" height="23" border="0" cellpadding="0" cellspacing="0">
|
|
|
|
<tr>
|
|
|
|
<td width="25%" background="/images/tab_search_01.jpg"><table width="100%" height="23" border="0" align="left" cellpadding="0" cellspacing="0">
|
|
|
|
<tr>
|
|
|
|
<td width="6%" align="right"><img src="/images/little_red.jpg" width="12" height="12"></td>
|
|
|
|
<td width="94%" class="font12b"> <b>涉密文件提取</b></td>
|
|
|
|
</tr>
|
|
|
|
</table></td>
|
|
|
|
<td width="82%" background="/images/tab_search_03.jpg"><img src="/images/tab_search_02.jpg" width="12" height="23"></td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
<input type="hidden" name="operate" value=""/>
|
|
|
|
<table width="99%" border="0" align="center" height="60px" cellpadding="2" cellspacing="1" bgcolor="#FFFFFF" class="table02">
|
|
|
|
<tr bgcolor="#FFFFFF">
|
|
|
|
<!--
|
|
|
|
<td class="cell1">所属市州</td>
|
|
|
|
<td class="cell2"><select class='aselect' name="sj" id="sj" onChange="selectChange(1);">
|
|
|
|
<%=Para.getSj(getPara)%>
|
|
|
|
</select></td>
|
|
|
|
<td class="cell1">所属区县</td>
|
|
|
|
<td class="cell2"><select class='aselect' name="qj"
|
|
|
|
setValue="<%=qj%>" onChange="selectChange(1);">
|
|
|
|
<%=Para.getQj(getPara, sj)%>
|
|
|
|
</select></td>
|
|
|
|
-->
|
|
|
|
<td class="cell1">提取状态</td>
|
|
|
|
<td class="cell2">
|
|
|
|
<select class='aselect' name="extractstate" value="<%=fileState%>">
|
|
|
|
<%
|
|
|
|
if (secret.equals("")){
|
|
|
|
out.println(Para.getStatic(getPara,"FILEEXTRACTSTATE"));
|
|
|
|
%>
|
|
|
|
<script>
|
|
|
|
form1.filesecret.value='<%=secret%>';
|
|
|
|
</script>
|
|
|
|
<%
|
|
|
|
}else{
|
|
|
|
out.println(getPara.getSParaFilter("td_s_static","data_code","dataname","type_code","FILEEXTRACTSTATE","data_code",fileState));
|
|
|
|
}
|
|
|
|
%>
|
|
|
|
</select>
|
|
|
|
</td>
|
|
|
|
<td class="cell1">
|
|
|
|
<input type="image" name="button1" src="/images1/cx.png" onClick="check('queryFileExtract');"/>
|
|
|
|
</td>
|
|
|
|
<td class="cell2">
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
<%
|
|
|
|
HashFmlBuf buf = (HashFmlBuf) request.getAttribute("extractBuf");
|
|
|
|
if (buf != null) {
|
|
|
|
int rowcount = buf.getRowCount();
|
|
|
|
%>
|
|
|
|
<table width="99%" border="0" cellpadding="0" cellspacing="1" class="box" style="margin-top: 4px;height: 90%;">
|
|
|
|
<tr>
|
|
|
|
<td>
|
|
|
|
<div style="width:100%; height:96%;overflow: auto;">
|
|
|
|
<div id="myGrid" class="2k3Grid" borderWidth="0" contextMenu="mnuGridContextMenu" altRowColor="oldLace">
|
|
|
|
<div class="gridHead">
|
|
|
|
<!--div align="left"><span width="5%">共检索到<%=rowcount%>条记录</span></div-->
|
|
|
|
<div class="gridRow">
|
|
|
|
<span width="5px" style="text-align: center;">序号</span>
|
|
|
|
<span width="15px">文件编号</span>
|
|
|
|
<span width="10px">提取状态</span>
|
|
|
|
<span width="20px">文件名称</span>
|
|
|
|
<span width="20px">提取单位</span>
|
|
|
|
<span width="10px">提取人员</span>
|
|
|
|
<span width="10px">提取日期</span>
|
|
|
|
<span width="10px">管理</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="gridBody">
|
|
|
|
<%
|
|
|
|
for (int i=0; i<rowcount; i++) {
|
|
|
|
String tempstate = buf.fget("EXTRACT_STATE",i);
|
|
|
|
String disabled = "";
|
|
|
|
if (tempstate.equals("1")) {
|
|
|
|
tempstate = "已提取";
|
|
|
|
disabled = "";
|
|
|
|
}
|
|
|
|
else{
|
|
|
|
tempstate = "未提取";
|
|
|
|
disabled = "disabled";
|
|
|
|
}
|
|
|
|
%>
|
|
|
|
<div class="gridRow">
|
|
|
|
<span width="5px" style="text-align: center;"><%=i+1%></span>
|
|
|
|
<span><%=buf.fget("file_id",i) %></span>
|
|
|
|
<span>
|
|
|
|
<%
|
|
|
|
if(tempstate.equals("已提取")){
|
|
|
|
%>
|
|
|
|
<%=tempstate %>
|
|
|
|
<%
|
|
|
|
}else{
|
|
|
|
%>
|
|
|
|
<font color="#ff0000"><%=tempstate %></font>
|
|
|
|
<%
|
|
|
|
}
|
|
|
|
%>
|
|
|
|
</span>
|
|
|
|
<span width="35px"><%=buf.fget("file_name",i) %></span>
|
|
|
|
<span><%=buf.fget("EXTRACT_DEPARTID",i) %></span>
|
|
|
|
<span><%=buf.fget("EXTRACT_STAFFID",i) %></span>
|
|
|
|
<span><%=buf.fget("EXTRACT_DATE",i) %></span>
|
|
|
|
<span>
|
|
|
|
<a href="/servelt/FileExtractManage?operate=showFileExtract&provideId=<%=buf.fget("file_id",i)%>"><img src="/images1/read_document.png" border="0" alt="预览"/></a>
|
|
|
|
<a onclick="return confirm('您确定要删除此信息吗?');" href="/servelt/FileExtractManage?operate=deleteExtractFileRow&receiveId=<%=buf.fget("receive_id",i)%>"><img src="../../images1/delete.gif" border="0" alt="删除"/></a>
|
|
|
|
<%
|
|
|
|
if(buf.fget("EXTRACT_STATE",i).equals("1"))
|
|
|
|
{ %>
|
|
|
|
<img src="../../images1/tiqus.png" border="0" alt="已提取"/>
|
|
|
|
<%}else{ %>
|
|
|
|
<a onclick="return confirm('您确定要提取此文件吗?');" href="/servelt/FileExtractManage?operate=ExtractId&receiveId=<%=buf.fget("receive_id",i)%>"><img src="../../images1/tiqu.png" border="0" alt="未提取"/></a>
|
|
|
|
<%} %>
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
<%
|
|
|
|
}
|
|
|
|
%>
|
|
|
|
</div>
|
|
|
|
<!-- gridBody end -->
|
|
|
|
</div>
|
|
|
|
<!-- myGrid end -->
|
|
|
|
</div>
|
|
|
|
<tag:PageLinkTag operate="queryFileReceive" scope="request" width="99%" align="center"/>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
</form>
|
|
|
|
<%
|
|
|
|
}
|
|
|
|
%>
|
|
|
|
<%@include file="/foot.jsp"%>
|
|
|
|
</body>
|
|
|
|
</html>
|