📄 queryinterfaceresult.jsp
字号:
<%@ page import="com.doone.uurm.UserFactory,
com.doone.data.*,
com.doone.fj1w.fjmgr.statana.*,
com.doone.uurm.IOrgInfo,
com.doone.uurm.WebAuth"%>
<%@ page contentType="text/html; charset=GBK" %>
<%request.setCharacterEncoding("gb2312");%>
<%String sPurvICode="NGB004001001";%>
<%
WebAuth auth = WebAuth.getInstance(request);
if ( ! auth.IsAuthed() ) {
out.write("<script language=\"javascript\">self.parent.location.replace(\"" + request.getContextPath() + "/view/login/login.jsp" + "\");</script>");
return;
}
else if ( ! auth.CheckPurv(sPurvICode) ) {
out.write("<script language=javascript src=\"../../common/script/RightForbidden.js\"></script>");
return;
}
String appealmode=(String)session.getAttribute("appealmode");
String time=(String)session.getAttribute("time");
String time_end=(String)session.getAttribute("time_end");
String pageStr=request.getParameter("pageNo");
int pageNo=0;
MonitorBean mb=new MonitorBean();
if(pageStr==null)pageNo=1;
else pageNo=Integer.parseInt(pageStr);
DataTable dt=mb._getPageMsg("select rownum num,INTERFACESUBMITID,ENTITYNAME,CREATETIME,RESULTINFO,RESULTSTATE from tl_interfacesubmit",time,time_end,appealmode,pageNo);
%>
<html>
<head>
<title>接口日志查询</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<link href="../../common/style/main.css" rel="stylesheet" type="text/css" />
<link href="../../common/style/Sty01.css" rel="stylesheet" type="text/css" />
</head>
<SCRIPT LANGUAGE="JavaScript">
<!--
function changePageNo(no)
{
window.open("QueryInterfaceResult.jsp?pageNo=" + no,"_self");
}
function fn_onload() {
cltScript_Toolbar();
}
function cltScript_Toolbar() {
if ( self.parent != self ){
var pel = parent.document.all.tags("frame");
for ( i=0; i< pel.length; i++)
{
if ( pel(i).name == "main") {
divTop.style.width = pel(i).width;
divMain.style.width = pel(i).width;
divMain.style.height = pel(i).height - divTop.clientHeight;
}
}
}
}
//-->
</SCRIPT>
<body onload="fn_onload();">
<div onresize="cltScript_Toolbar();" style="width: 100%">
<div id="divTop" style="overflow: hidden">
<table id="ibtnPanel" style="font-size: 9pt; border-bottom: #efefef 1px outset" cellspacing="0"
cellpadding="0" width="100%" border="0">
<tr bgcolor="#efefef" height="33">
<td valign="middle" align="center" width="81" onclick="return windowOpenById('600','300');" id="ibtnAddArticle" style="behavior:url(../../common/button.htc)" DefaultClass="btnDefault" OverClass="btnOver" DownClass="btnDown" title="">查询接口</td>
<td> </td>
</tr>
</table>
<jsp:include page="../../common/inc_top.jsp" >
<jsp:param name="purvCode" value="<%=sPurvICode%>"/>
</jsp:include>
</div>
<div id="divMain" style="overflow: auto">
<table width="100%" border="0" cellspacing="0" cellpadding="1">
<tr class="OuterHead">
<td nowrap="nowrap" style="text-align:left">查询接口</td>
</tr>
</table>
<table style="font-size: 9pt; border-bottom: #efefef 1px outset" cellspacing="0"
cellpadding="0" width="100%" border="0" class="OuterTable">
<tr class="OuterHead">
<td class="title_td" align="center" width="10%"><b>提交接口历史序号</b></td>
<td class="title_td" align="center" width="10%"><b>服务、存储过程等名称</b></td>
<td class="title_td" align="center" width="10%"><b>时间(精确到秒)</b></td>
<td class="title_td" align="center" width="10%"><b>返回信息</b></td>
<td class="title_td" align="center" width="10%"><b>返回状态</b></td>
</tr>
</table>
<table id="" border=0 width=100% cellspacing=0 cellpadding=1 style="behavior:url(../../common/table.htc)" selectedtrcolor="#C8E6E6" keyName="SERIAL" trcolor="white" onselected="" maxnum="5" class="InnerTable">
<%
for(int i=0;i<dt.getRows().getCount();i++)
{
%>
<tr class="InnerMain" style="color: black">
<td class="body_td" align="left" width="10%" nowrap><%=dt.getRow(i).getString("INTERFACESUBMITID")%></td>
<td class="body_td" align="left" width="10%" nowrap><%= dt.getRow(i).getString("ENTITYNAME")%></td>
<td class="body_td" align="left" width="10%" nowrap><%=dt.getRow(i).getString("CREATETIME").toString()%></td>
<td class="body_td" align="left" width="10%" nowrap><%=dt.getRow(i).getString("RESULTINFO").length()%>
</td>
<td class="body_td" align="left" width="10%" nowrap>
<%if(dt.getRow(i).getString("RESULTSTATE").equals("S")){out.print("成功");}else{out.print("失败");}%>
</td>
</tr>
<%
}
%>
</table>
<form name="form1" method="post" action="">
<table cellpadding="0" cellspacing="0" border="0" width="100%" class="OuterTable">
<tr class="OuterFoot">
<td align="left" class="foot_td" nowrap width="20%">
<%
out.print("本页共有"+dt.getRows().getCount()+"条记录!");
%>
</td>
<td align="right" class="foot_td" nowrap width="2%">
第<%if(pageNo==0){out.print("1");}else{out.print(pageNo);}%>
页/共<%= mb._getPageCount("TL_InterfaceSubmit",time,time_end,appealmode) %>页
</td>
</tr>
<tr class="OuterFoot">
<td align="left" class="foot_td" nowrap width="20%">
</td>
<td align="right" class="foot_td" nowrap width="6%">
<select name="pageList" onChange="changePageNo(this.value)">
<%out.print(mb.buildPageOptions(mb._getPageCount("TL_InterfaceSubmit",time,time_end,appealmode),pageNo));%>
</select>
</td>
</tr>
</table>
</form>
</div>
</div>
</body>
</html>
<SCRIPT LANGUAGE="JavaScript">
function windowOpenById(width,height){
window.open("QureyInterface.jsp","windowRef","width=" + width + ",height=" + height+",top=150,left=200,screenX=10,screenY=20");
}
</SCRIPT>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -