You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

58 lines
1.9 KiB
Plaintext

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>定期执行的页面</title>
<script type="text/javascript" src="../../WF/Scripts/easyUI145/jquery.min.js"></script>
<script type="text/javascript" src="../../WF/Scripts/config.js"></script>
<script src="../../WF/Comm/Gener.js" type="text/javascript" ></script>
<script type="text/javascript">
//页面启动函数.
$(function () {
var myurl = "";
if (plant == "CCFlow") {
myurl = "Handler.ashx?DoType=Timer";
}
if (plant == "JFlow") {
myurl = "Handler.do?DoType=Timer";
}
$.ajax({
type: 'post',
async: true,
xhrFields: {
withCredentials: true
},
crossDomain: true,
url: myurl,
dataType: 'html',
success: function (data) {
$("#Msg").html(data);
},
error: function (jqXHR, textStatus, errorThrown) {
/*错误信息处理*/
alert("GenerBindEntities,错误:参数:EnsName" + ensName + " , 异常信息 responseText:" + jqXHR.responseText + "; status:" + jqXHR.status + "; statusText:" + jqXHR.statusText + "; \t\n textStatus=" + textStatus + ";errorThrown=" + errorThrown);
}
});
});
</script>
</head>
<body>
<!--<h5> 这个是自定义附件组件</h5>-->
<ul>
<li>该页面里面可以定期执行任务.</li>
<li>根据用户的配置可以放入到操作系统的定期任务执行里.</li>
<li><font color=red><div id="url"></div></font></li>
</ul>
<div id="Msg"></div>
</body>
</html>