?? 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 + -