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.
418 lines
14 KiB
418 lines
14 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"/>
|
|
<% request.setCharacterEncoding("UTF-8");%>
|
|
<%
|
|
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 netSecret=Common.convertNull(request.getParameter("netSecret"));
|
|
String nameproperty=Common.convertNull(request.getParameter("nameproperty"));
|
|
String protyname=Common.convertNull(request.getParameter("protyname"));
|
|
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">
|
|
<style>
|
|
#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: 120px;
|
|
}
|
|
#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: 150px;
|
|
}
|
|
#myGrid .gridHead span:nth-child(7){
|
|
width: 150px;
|
|
}
|
|
#myGrid .gridHead span:nth-child(8){
|
|
width: 120px;
|
|
}
|
|
#myGrid .gridHead span:nth-child(9){
|
|
width: 150px;
|
|
}
|
|
#myGrid .gridHead span:nth-child(10){
|
|
width: 126px;
|
|
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: 120px;
|
|
}
|
|
#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: 150px;
|
|
}
|
|
#myGrid .gridBody .gridRow span:nth-child(7){
|
|
width: 150px;
|
|
}
|
|
#myGrid .gridBody .gridRow span:nth-child(8){
|
|
width: 120px;
|
|
}
|
|
#myGrid .gridBody .gridRow span:nth-child(9){
|
|
width: 150px;
|
|
}
|
|
#myGrid .gridBody .gridRow span:nth-child(10){
|
|
width: 126px;
|
|
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>
|
|
</head>
|
|
<script charset="UTF-8" type="text/javascript">
|
|
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(pcs)) {
|
|
out.println("form1.pcs.value='" + pcs + "';");
|
|
}
|
|
if (!Common.isNull(netSecret)) {
|
|
out.println("form1.netSecret.value='" + netSecret + "';");
|
|
}
|
|
if (!Common.isNull(protyname)) {
|
|
out.println("form1.propertyName.value='" + protyname + "';");
|
|
}
|
|
%>
|
|
}
|
|
function check(operate,useId) {
|
|
form1.operate.value=operate;
|
|
if (operate == "queryStatScoreShowInfo") {
|
|
|
|
form1.action = "/servlet/PropertyNetManageServlete?operate=queryStatScoreShowInfo&empid=" + empid;
|
|
}
|
|
if (operate == "querypic"){
|
|
form1.action="/Chartsmsb.jsp";
|
|
}
|
|
if (operate == "querytmaSmsbAllStat"){
|
|
}
|
|
if (operate == "querySmsbeEXStat"){
|
|
|
|
form1.action="/servlet/StatZdtjManageServlet?operate=querySmsbeEXStat";
|
|
}
|
|
if (operate == "querySmsbeEXAllStat"){
|
|
|
|
form1.action="/servlet/StatWltjManageServlet?operate=querySmsbeEXNetALLStat";
|
|
}
|
|
if(operate=="exportExcelsmsbzd"){
|
|
form1.action="/servlet/StatZdtjManageServlet?operate=exportExcelsmsbzd";
|
|
}
|
|
if(operate=="importExcel")
|
|
{
|
|
form1.action = "/zhyw/smtj/zdtj/ImportExcelTmaData.jsp";
|
|
}
|
|
form1.submit();
|
|
}
|
|
function selectChange(i)
|
|
{
|
|
form1.action = "/zhyw/smtj/zdtj/StatTma.jsp";
|
|
form1.submit();
|
|
}
|
|
</script>
|
|
<style type="text/css">
|
|
html { overflow-x:hidden; overflow-y:hidden; }
|
|
</style>
|
|
<body scroll="no" onload="setValue();">
|
|
<form name="form1" method="post" action="/servlet/StatZdtjManageServlet">
|
|
<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"> <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" height="60px">
|
|
<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">
|
|
<select class='aselect' name="pcs" setValue="<%=pcs%>" style="width:155px"><%if(sj.equals("0930")){ %>
|
|
<%=Para.getXx1(getPara, sj)%>
|
|
<%}else { %>
|
|
<%=Para.getXx(getPara,qj)%>
|
|
<%} %>
|
|
</select>
|
|
</td>
|
|
<td class="cell1">网络类型</td>
|
|
<td class="cell2">
|
|
<select name="tmatype" id="tmatype" class='aselect' >
|
|
<option>--请选择类型--</option>
|
|
<option value="广域网">广域网</option>
|
|
<option value="城域网">城域网</option>
|
|
<option value="局域网">局域网</option>
|
|
</select>
|
|
</td>
|
|
<td align="left">
|
|
<input type="image" name="button1" src="../../../images1/cx.png" onClick="check('querytmaSmsbAllStat');"/>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table width="99%" align="center">
|
|
<tr align="left" valign="middle">
|
|
<td>
|
|
<input type="image" name="button2" alt="导出" src="../../../images1/dc.png" onClick="check('exportExcelsmsbzd');"/>
|
|
<input type="image" name="button2" alt="导入" src="../../../images1/dr.png" onClick="check('importExcel');"/>
|
|
<input name="button2" onclick="check('querySmsbeEXStat');" type="image" alt="导入查询" src="/images1/drcx.png"/>
|
|
<!--<input type="image" name="button2" alt="导入查询" src="../../../images1/dr.png" onClick="check('querySmsbeEXStat');"/>
|
|
<input type="image" name="button2" alt="汇总查询" src="../../../images1/dr.png" onClick="check('querySmsbeEXAllStat');"/>
|
|
<input type="button" name="button2" value=" 导入 " class="box_button" onclick="check('importExcel');"/>
|
|
<input type="button" name="button1" value=" 导入查询 " class="box_button" onclick="check('querySmsbeEXStat');"/>
|
|
<input type="button" name="button1" value=" 汇总查询 " class="box_button" onclick="check('querySmsbeEXAllStat');"/>
|
|
<INPUT TYPE="button" name="button2" class="box_button" VALUE="图像查看" onclick="check('querypic');"/>
|
|
--></td>
|
|
</tr>
|
|
</table>
|
|
<%
|
|
HashFmlBuf buf = (HashFmlBuf) request.getAttribute("SmsbTmaTjALL_info");
|
|
if (buf != null) {
|
|
int rowcount = buf.getRowCount();
|
|
%>
|
|
<table width="99%" border="0" align="center" style="height: 85%" cellpadding="0" cellspacing="1" class="box">
|
|
<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;"><b>序号</b></span>
|
|
<span>所属市州</span>
|
|
<span>所属区县</span>
|
|
<span width="20px">登记单位名称</span>
|
|
<span width="16px">使用单位名称</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 = buf.fget("TMA_ID",i);
|
|
String Secret=buf.fget("TMA_SECURITY",i);
|
|
|
|
if (Secret.equals("1")) {
|
|
Secret = "秘密";
|
|
}
|
|
else if(Secret.equals("2"))
|
|
{
|
|
Secret = "机密";
|
|
}
|
|
else if(Secret.equals("3")) {
|
|
Secret = "绝密";
|
|
}
|
|
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><%=buf.fget("recover_deparname",i)%></span>
|
|
<span><%=SM4.SM4Decrypt(Base64.decode(buf.fget("TMANAME",i)))%></span>
|
|
<span><%=buf.fget("TMATYPE",i)%></span>
|
|
<span><%=Secret%></span>
|
|
<span><%=buf.fget("TERMINAL",i) %></span>
|
|
<span><a target="_blank" href="/servlet/StatZdtjManageServlet?operate=showPropertyTmaId&InfoId=<%=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="querytmaSmsbAllStat" 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:375px;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="10px">所属市州</span>
|
|
<span width="10px">所属区县</span>
|
|
<span width="18px">登记单位名称</span>
|
|
<span width="18px">使用单位名称</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 = buf2.fget("TMA_ID",i);
|
|
String disabled = "";
|
|
String Secret1=buf2.fget("TMA_SECURITY",i);
|
|
|
|
if (Secret1.equals("1")) {
|
|
Secret1 = "秘密";
|
|
}
|
|
else if(Secret1.equals("2"))
|
|
{
|
|
Secret1 = "机密";
|
|
}
|
|
else if(Secret1.equals("3")) {
|
|
Secret1 = "绝密";
|
|
}
|
|
%>
|
|
<div class="gridRow">
|
|
<span width="5px" style="text-align: center;"><%=i+1 %></span>
|
|
<span><%=buf2.fget("framework_id",i)%></span>
|
|
<span><%=buf2.fget("area_id",i)%></span>
|
|
<span><%=buf2.fget("TMA_DEPARTID",i)%></span>
|
|
<span><%=buf2.fget("TMA_RECOVERDEPARTID",i)%></span>
|
|
<span><%=buf2.fget("TMANAME",i)%></span>
|
|
<span><%=buf2.fget("TMATYPE",i)%></span>
|
|
<span><%=Secret1%></span>
|
|
<span><%=buf2.fget("TERMINAL",i) %></span>
|
|
<span><a target="_blank" href="/servlet/StatZdtjManageServlet?operate=showPropertyTmaId&InfoId=<%=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>
|
|
<%
|
|
}
|
|
%>
|
|
</form>
|
|
<%@include file="/foot.jsp"%>
|
|
</body>
|
|
</html> |