天津投入产出系统后端
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.

52 lines
1.8 KiB

<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/AppMaster.Master" Inherits="System.Web.Mvc.ViewPage<QMAPP.Web.Models.Report.MonitorInfoModel>" %>
<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
数据处理任务监控
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
<%=Html.QPList() %>
<%=Html.QDateGrid<QMAPP.Web.Models.Report.MonitorInfoModel>(Model)%>
<%=Html.QPEnd() %>
<%=Html.Hidden("selectKey")%>
<script language="javascript" type="text/javascript">
//查看日志
function ViewLog() {
var ids = getSelectKey();
if (ids == "") {
MSI("提示", "请选择一个监控信息。");
return;
}
if (ids.indexOf(":") > 0) {
MSI("提示", "每次只能选择一个监控信息。");
return;
}
openAppWindow1('查看日志', 'TaskLogList?ID='+ids, '800', '460');
}
//加载时适应浏览器高度
$(document).ready(function () {
//刷新监控信息
setTimeout("RefreshMonitorInfo()", 5000); //单位毫秒
})
//刷新监控信息
function RefreshMonitorInfo() {
List();
setTimeout("RefreshMonitorInfo()", 5000);
}
</script>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ToolContent" runat="server">
<table cellpadding=0 cellspacing=0>
<tr>
<td>
<%=Html.QTButton("ViewLog", "PrintList", "search", "ViewLog()", (s, f) => { return true; })%>
<%=Html.QTButton("help", "", "help", "List();", (s, f) => { return true; })%>
</td>
</tr>
</table>
</asp:Content>