📄 index.jsp
字号:
<%@ page contentType="text/html; charset=GBK" %>
<%@ include file="/inc/pv/super.jsp"%>
<%@ include file="/inc/public/msg.jsp"%>
<%
String strDate = igec.util.Tool.getStr(request.getParameter("W_START"));
if(igec.util.Tool.IsEmpty(strDate)){
strDate = igec.util.Tool.getStrTime("",1);
}
%>
<html>
<head>
<title>运行日志查询</title>
<meta http-equiv="Content-Type" content="text/html; charset=GBK">
<link rel="stylesheet" type="text/css" href="<%=strCssPath%>">
<script language="javascript" src="<%=site.bean.SitePara.strVirtualName%>/js/public.js"></script>
<script language="javascript" src="<%=site.bean.SitePara.strVirtualName%>/js/xmlhttp.js"></script>
<script language="javascript" src="<%=site.bean.SitePara.strVirtualName%>/js/CalendarDlg.js"></script>
<script language="javascript" src="<%=strSkinBase%>/js/forbid.js"></script>
<script language="javascript">
<!--
function downRunLog(){
var loDate = getObject("W_START");
if(loDate==null){
alert("无法获取日期对象!");
return;
}
var lsDate = loDate.value;
if(lsDate==""){
alert("请选择要另存的运行日志对应的日期!");
return;
}
_Igec_RunLogForm.location = "down.jsp?rd=" + lsDate;
}
function showRunLog(){
var loDate = getObject("W_START");
if(loDate==null){
alert("无法获取日期对象!");
return;
}
var lsDate = loDate.value;
self.location = "?W_START=" + lsDate;
}
function getRunLog(){
var loDate = getObject("W_START");
if(loDate==null){
alert("无法获取日期对象!");
return;
}
var lsDate = loDate.value;
__XmlHttpPool__.PostRemoteData("show.jsp?rd=" + lsDate + "&mr=" + Math.random(),function onGetData(strContent){_Igec_Get_RunLog_Content(strContent,"");},"");
}
function _Igec_Get_RunLog_Content(strContent){
var loContent = getObject("_IGEC_RunLogForm");
if(loContent!=null){
loContent.innerHTML = strContent;
}
}
//-->
</script>
</head>
<body class="bodycolor" topmargin="5" onload="javascript:getRunLog();">
<table border="0" width="100%" cellspacing="0" cellpadding="3" class="small">
<tr>
<td class="Big"><img src="<%=strSkinBase%>/images/notify_new.gif" align="absmiddle"><span class="big3"> 运行日志查询</span>
</td>
</tr>
</table>
<table border="0" cellspacing="1" width="100%" class="small" bgcolor="#000000" cellpadding="3" align="center" >
<form action="" method="get" name="form2" id="form2">
<tr>
<td nowrap class="TableData" width="10%">日期选择:</td>
<td class="TableData">
<input type="text" name="W_START" size="9" maxlength="19" class="BigInput" value="<%=strDate%>">
<img src="<%=strSkinBase%>/images/menu/calendar.gif" border="0" align="absMiddle" style="cursor:hand" onclick="fPopUpCalendarDlg('<%=igec.site.base.bean.SitePara.strVirtualName%>',form2.W_START);">
</td>
<td nowrap class="TableControl" align="center" width="10%">
<input type="button" value="查询" class="BigButton" title="根据条件进行查询" onclick="showRunLog();">
<input type="button" value="另存为" class="BigButton" title="将选定日期的运行日志另存到本地" onclick="downRunLog();">
</td>
</tr>
</form>
</table>
<br>
<table width="95%" border="0" cellspacing="0" cellpadding="0" height="3">
<tr>
<td background="<%=strSkinBase%>/images/dian1.gif" width="100%"></td>
</tr>
</table>
<table border="0" width="100%" cellspacing="0" cellpadding="3" class="small">
<tr>
<td class="Big"><img src="<%=strSkinBase%>/images/notify_open.gif" align="absmiddle"><span class="big3"> <a name="bottom">运行日志查看</span>
</td>
</tr>
</table>
<div width="100%" id="_IGEC_RunLogForm" name="_IGEC_RunLogForm">
<h2>请稍候,正在获取日志内容....</h2>
</div>
<iframe id="_Igec_RunLogForm" name="_IGEC_RunLogForm" src="" width="0" height="0" style="display:none"></iframe>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -