You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

384 lines
15 KiB

<%@page import="com.zky.para.Para"%>
<%@ page import="com.zky.bjca.SM4" %>
<%@ page import="cn.org.bjca.utils.Base64" %>
<%@include file="/auth.jsp"%>
<%@page language="java" contentType="text/html;charset=utf-8" pageEncoding="UTF-8"%>
<jsp:useBean id="getPara" scope="application" class="com.zky.para.SyncPara"/>
<%
Login login = (Login) request.getSession().getAttribute("login");
String useId = Common.convertNull(request.getParameter("useId"));
String operate = (String)request.getParameter("operate");
String sj = Common.convertNull(request.getParameter("sj"));
String qj = Common.convertNull(request.getParameter("qj"));
String pcs = Common.convertNull(request.getParameter("pcs"));
String protyname=Common.convertNull(request.getParameter("protyname"));
String nameproperty=Common.convertNull(request.getParameter("nameproperty"));
login_obj = (Login)session.getAttribute("login");
String optrid = login_obj.optrid;
String optrname = getPara.getDesc("TAB_EMPLOYEE","EMPID","EMPNAME",optrid);
%>
<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
<title>涉密资产统计信息</title>
<link rel="stylesheet" type="text/css" href="../../../css/font.css">
<script src="/js/check.js"></script>
<script src="../../../js/date.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">
<script charset="UTF-8">
function setValue() {
<%
if (!Common.isNull(sj)) {
out.println("form1.sj.value='" + sj + "';");
}
if (!Common.isNull(qj)) {
out.println("form1.qj.value='" + qj + "';");
}
if (!Common.isNull(pcs)) {
out.println("form1.pcs.value='" + pcs + "';");
}
if (!Common.isNull(operate)) {
out.println("form1.operate.value='" + operate + "';");
}
if (!Common.isNull(protyname)) {
out.println("form1.protyname.value='" + protyname + "';");
}
%>
}
function doclick(operate,useId){
form1.operate.value=operate;
if(operate=="showPropertys"){
window.open('/servlet/StatZctjManageServlet?operate=showPropertys&useId='+useId,'newwindow',' toolbar=no, menubar=no,scrollbars=yes,resizable=no,location=no, status=no,width=900,height=600,left=50,top=50') ;
}
}
function doclickss(operate,funcct,arery,names){
form1.operate.value=operate;
if(operate=="querydaoruSmsbAllStat"){
window.open('/servlet/StatZctjManageServlet?operate=querydaoruSmsbAllStat&sjj='+funcct+'&qjj='+arery+'&name='+names) ;
}
}
function check(operate,useId) {
form1.operate.value=operate;
if (operate == "queryStatScoreShowInfo") {
form1.action = "/servlet/StatZctjManageServlet?operate=queryStatScoreShowInfo&empid=" + empid;
}
if (operate == "querypic"){
form1.action="/Chartsmsb.jsp";
}
if (operate == "querySmsbAllStat"){
form1.action="/servlet/StatZctjManageServlet?operate=querySmsbAllStat";
}
if (operate == "querySmsbeEXStat"){
form1.action="/servlet/StatZctjManageServlet?operate=querySmsbeEXStat";
}
if (operate == "querySmsbeEXAllStat"){
form1.action="/servlet/StatZctjManageServlet?operate=querySmsbeEXAllStat";
}
if(operate=="exportExcelsmsb")
{
form1.action="/servlet/StatZctjManageServlet?operate=exportExcelsmsb";
}
if(operate=="exportExcelsmsbAll")
{
form1.action="/servlet/StatZctjManageServlet?operate=exportExcelsmsbAll";
}
if(operate=="importExcel")
{
form1.action = "/zhyw/smtj/zctj/ImportExcelData.jsp";
}
if (operate== "deleteProperty") {
var Infos = form1.Infos;
var count = 0;
if (Infos) {
if (Infos.length) {
for (var i=0; i<Infos.length; i++) {
if (Infos[i].checked==true) {
count++;
}
}
} else {
if (Infos.checked==true) {
count++;
}
}
} else {
alert("没有查到资产!");
return false;
}
if (count==0) {
alert("请选择要删除的资产!");
return false;
}
if (!confirm("确定要删除已经选择的资产吗?")) {
return false;
}
form1.action="/servlet/StatZctjManageServlet?operate=deleteProperty";
}
form1.submit();
}
function selectChange(i)
{
form1.action = "/zhyw/smtj/zctj/StatSmsb.jsp";
form1.submit();
}
</script>
<style type="text/css">
html { overflow-x:hidden; overflow-y:hidden; }
</style>
</head>
<body scroll="no" onload="setValue();">
<form name="form1" method="post" action="/servlet/StatZctjManageServlet">
<input type="hidden" name="operate" value=""/>
<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="center" 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">&nbsp;<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>
<table width="100%" border="0" align="center" cellpadding="2" cellspacing="1" class="table02">
<tr bgcolor="#FFFFFF">
<td class="cell1">所属市州</td>
<td class="cell2">
<select class='aselect' name="sj" setValue="<%=sj%>" style="width:155px" 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);" style="width:155px">
<%=Para.getQj(getPara,sj)%>
</select>
</td>
<td class="cell1">使用单位</td>
<td class="cell2">
<input name="pcs" type="text" />
</td>
<td class="cell1">涉密资产名称</td>
<td class="cell2">
<select class='aselect' name="protyname" id="typemenu" style="width:155px" setValue="<%=protyname%>" >
<option value="">---请选择种类---</option>
<option value="单向导入设备">单向导入设备</option>
<option value="涉密计算机">涉密计算机</option>
<option value="涉密U盘">涉密U盘</option>
<option value="移动硬盘">移动硬盘</option>
<option value="复印机">复印机</option>
<option value="打印机">打印机</option>
<option value="录音带">录音带</option>
<option value="录像带">录像带</option>
<option value="传真机">传真机</option>
<option value="照相机">照相机</option>
<option value="录音笔">录音笔</option>
<option value="光盘">光盘</option>
<option value="软盘">软盘</option>
<option value="其它">其它</option>
</select>
</td>
<td class="cell1" ><input type="image" name="button1" src="../../../images1/cx.png" onClick="check('querySmsbAllStat');"/></td>
<td class="cell2"></td>
</tr>
</table>
</td>
</tr>
</table>
<table width="99%" align="center">
<tr align="left">
<td>
<%if(login.getSanyuan().equals("0")){ %>
<input name="button2" onclick="check('exportExcelsmsb');" type="image" alt="导出" src="/images1/dc.png"/>&nbsp;
<input name="button2" onclick="check('importExcel');" type="image" alt="导入" src="/images1/dr.png"/>&nbsp;
<input name="button2" onclick="check('querySmsbeEXStat');" type="image" alt="导入查询" src="/images1/drcx.png"/>&nbsp;
<input name="button2" onclick="check('querySmsbeEXAllStat');" type="image" alt="汇总查询" src="/images1/hzcx.png"/>&nbsp;
<input name="button2" onclick="check('exportExcelsmsbAll');" type="image" alt="全部导出 " src="/images1/qbdc.png"/>
<%}else if(login.getSanyuan().equals("1")){ %>
<input name="button2" onclick="check('querySmsbeEXStat');" type="image" alt="导入查询" src="/images1/drcx.png"/>&nbsp;
<input name="button2" onclick="check('querySmsbeEXAllStat');" type="image" alt="汇总查询" src="/images1/hzcx.png"/>&nbsp;
<%}else { %>
<input name="button2" onclick="check('exportExcelsmsb');" type="image" alt="导出" src="/images1/dc.png"/>&nbsp;
<input name="button2" onclick="check('importExcel');" type="image" alt="导入" src="/images1/dr.png"/>&nbsp;
<input name="button2" onclick="check('querySmsbeEXStat');" type="image" alt="导入查询" src="/images1/drcx.png"/>&nbsp;
<input name="button2" onclick="check('querySmsbeEXAllStat');" type="image" alt="汇总查询" src="/images1/hzcx.png"/>&nbsp;
<input name="button2" onclick="check('exportExcelsmsbAll');" type="image" alt="全部导出 " src="/images1/qbdc.png"/>
<%} %>
</td>
</tr>
</table>
<%
HashFmlBuf buf = (HashFmlBuf) request.getAttribute("SmsbTjALL_info");
if (buf != null) {
int rowcount = buf.getRowCount();
%>
<table width="99%" border="0" align="center" cellpadding="0" cellspacing="1" class="box">
<tr>
<td>
<div style="width:100%; height:385px;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;"><b>序号</b></span>
<span>所属市州</span>
<span>所属区县</span>
<span width="20px" >使用单位</span>
<span> 使用人</span>
<span>资产名称</span>
<span>资产总数</span>
<span>操作</span>
</div>
</div>
<div class="gridBody">
<%
for (int i=0; i<rowcount; i++) {
String tempEmpid = buf.fget("use_id",i);
String disabled = "";
%>
<div class="gridRow" style="cursor:pointer;">
<span width="5px" style="text-align: center;"><%=i+1%></span>
<span><%=buf.fget("frameworkname",i)%></span>
<span><%=buf.fget("areadef",i)%></span>
<span><%=buf.fget("DEPARTNAME",i)%></span>
<span><%=SM4.SM4Decrypt(Base64.decode(buf.fget("RECOVER_STAFFID",i)))%></span>
<span><%=buf.fget("property_name",i) %></span>
<span><%=buf.fget("ddddd",i) %></span>
<span><a target="_blank" onclick="doclick('showPropertys','<%=tempEmpid %>');" style="cursor:pointer;"><img border="0" src="../../images1/read_document.png" ALT="查看" style="cursor: pointer;"/></a> </span>
<input type="hidden" name="nameproperty" value="<%=buf.fget("property_name",i) %>"/>
</div>
<%
}
%>
</div>
<!-- gridBody end -->
</div>
<!-- myGrid end -->
</div>
<tag:PageLinkTag operate="querySmsbAllStat" scope="request" width="99%" align="center"/>
</td>
</tr>
</table>
<%
}
%>
<%
HashFmlBuf buf2 = (HashFmlBuf) request.getAttribute("SmsbTjALL_info1");
if (buf2 != null) {
int rowcount = buf2.getRowCount();
%>
<table width="99%" border="0" align="center" cellpadding="0" cellspacing="1" class="box">
<tr>
<td>
<div style="width:100%; height:385px;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;"><b>序号</b></span>
<span width="15px;">所属市州/区县</span>
<span width="20px;"><b>所属单位</b></span>
<span width="10px;"> 使用人</span>
<span><b>资产名称</b></span>
<span width="15px;">导入编号</span>
<span width="15px;">导入时间</span>
<span>操作</span>
</div>
</div>
<div class="gridBody">
<%
for (int i=0; i<rowcount; i++) {
String tempEmpid = buf2.fget("tempid",i);
String disabled = "";
%>
<div class="gridRow">
<span width="15px" style="text-align: center;"><%=i+1 %>
</span>
<span><%=buf2.fget("framework_id",i)%><%=buf2.fget("area_id",i)%></span>
<span><%=buf2.fget("RECOVERNAME",i)%></span>
<span><%=buf2.fget("recover_departid",i)%></span>
<span><%=buf2.fget("property_name",i) %></span>
<span width="15px;"><%=buf2.fget("id",i)%></span>
<span><%=buf2.fget("extent_time",i) %></span>
<span><a href="/servlet/StatZctjManageServlet?operate=showSmsbeEXStat&tempid=<%=tempEmpid %>" style="cursor:pointer;"><img border="0" src="../../images1/read_document.png" ALT="查看" style="cursor: pointer;"/></a> </span>
</div>
<%
}
%>
</div>
<!-- gridBody end -->
</div>
<!-- myGrid end -->
</div>
<tag:PageLinkTag operate="querySmsbeEXStat" scope="request" width="99%" align="center"/>
</td>
</tr>
</table>
<%
}
%>
<%
HashFmlBuf buf3 = (HashFmlBuf) request.getAttribute("SmsbTjALL_info2");
if (buf3 != null) {
int rowcount = buf3.getRowCount();
%>
<table width="99%" border="0" align="center" cellpadding="0" cellspacing="1" class="box">
<tr>
<td>
<div style="width:100%; height:385px;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;"><b>序号</b></span>
<span>所属市州</span>
<span>所属区县</span>
<span>使用单位名称</span>
<span>涉密资产名称</span>
<span>涉密资产总数</span>
<span>操作</span>
</div>
</div>
<div class="gridBody">
<%
for (int i=0; i<rowcount; i++) {
String tempEmpid = buf3.fget("use_id",i);
String disabled = "";
%>
<div class="gridRow">
<span width="5px" style="text-align: center;"><%=i+1 %></span>
<span><%=buf3.fget("framework_id",i)%></span>
<span><%=buf3.fget("area_id",i)%></span>
<span><%=buf3.fget("RECOVERNAME",i)%></span>
<span><%=buf3.fget("PROPERTY_NAME",i)%></span>
<span><%=buf3.fget("total",i) %></span>
<span><a onclick="doclickss('querydaoruSmsbAllStat','<%=buf3.fget("framework_id",i) %>','<%=buf3.fget("area_id",i) %>','<%=buf3.fget("PROPERTY_NAME",i) %>');" style="cursor:pointer;"><img border="0" src="../../images1/read_document.png" ALT="查看" style="cursor: pointer;"/></a> </span>
</div>
<%
}
%>
</div>
<!-- gridBody end -->
</div>
<!-- myGrid end -->
</div>
<tag:PageLinkTag operate="querySmsbeEXAllStat" scope="request" width="99%" align="center"/>
</td>
</tr>
</table>
<%
}
%>
</form>
<%@include file="/foot.jsp"%>
</body>
</html>