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.
59 lines
1.9 KiB
59 lines
1.9 KiB
<%@page import="org.wdk.module.auth.mount.bean.BaseSessionUser"%>
|
|
<%@page import="org.wdk.WDK"%>
|
|
<%@page import="org.wdk.module.auth.source.bean.TokenBean"%>
|
|
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
|
|
<%
|
|
String path = request.getContextPath();
|
|
String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";
|
|
BaseSessionUser su = WDK.getSessionUser(request, response);
|
|
if(null==su){
|
|
su = new BaseSessionUser();
|
|
}
|
|
String WDK_ROOT = WDKCore.WDK_ROOT;
|
|
String RSS_ROOT = WDK_ROOT +"/"+WDKConstant.Theme+"/"+WDKCore.THEME;
|
|
String commonURL = "/"+RSS_ROOT+"/module/public/common.jsp";
|
|
%>
|
|
<!DOCTYPE html>
|
|
<%@page import="org.wdk.WDKConstant"%>
|
|
<%@page import="org.wdk.WDKCore"%>
|
|
<html>
|
|
|
|
<head>
|
|
<base href="<%=basePath%>" target="_self">
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
<jsp:include page='<%=commonURL %>'></jsp:include>
|
|
<script type="text/javascript" src="<%=RSS_ROOT%>/core/js/wdk.js"></script>
|
|
<title>系统调度</title>
|
|
|
|
<script type="text/javascript">
|
|
|
|
|
|
window.onload = function(){
|
|
$.cuajax({
|
|
url:'wdk?action=wdk.public&method=scheduler_monitor&ajaxparam='+new Date().getTime(),
|
|
method:"post",
|
|
timeout:WDK_Timeout,
|
|
data:{},
|
|
success:function(result) {
|
|
var jres = $.str2json(result);
|
|
$("#layout_grid").empty();
|
|
for(var i=0;i<jres.schedulerlist.length;i++){
|
|
$("#layout_grid").append(jres.schedulerlist[i]+"<br><br>");
|
|
}
|
|
},
|
|
error:function(result){
|
|
alert('网络错误!result='+result);
|
|
}
|
|
});
|
|
|
|
};
|
|
|
|
|
|
</script>
|
|
</head>
|
|
<body class="easyui-layout" data-options="fit:true" style="padding:0px;margin:0px;background-color:#FF0000;">
|
|
<div id="layout_grid" data-options="region:'center',border:false,collapsed:false" style="overflow:hidden;border:1px solid #ddd;" >
|
|
|
|
</div>
|
|
</body>
|
|
</html>
|