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.

69 lines
2.5 KiB
Plaintext

9 months ago
<!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>
<meta charset="UTF-8" />
<title>测试方案定义</title>
<link href="../../../DataUser/Style/ccbpm.css" rel="stylesheet" type="text/css" />
<link href="../../Scripts/bootstrap/css/bootstrap.css" rel="stylesheet" />
<script src="../../Scripts/easyUI145/jquery.min.js" type="text/javascript"></script>
<script src="../../Scripts/easyUI145/jquery.easyui.min.js" type="text/javascript"></script>
<script src="../../Scripts/QueryString.js" type="text/javascript"></script>
<script src="../../Scripts/config.js" type="text/javascript"></script>
<script src="../../Comm/Gener.js" type="text/javascript"></script>
<script language="javascript" type="text/javascript">
//页面启动函数.
$(function () {
$("#Msg").html("<img src=../../Img/loading.gif />正在执行请稍候...大概需要1-2分钟时间.");
var flowNo = "";
if (flowNo == null || flowNo == undefined || flowNo == "")
flowNo = "001";
var flow = new Entity("BP.WF.Flow", flowNo);
var dt = flow.DoMethodReturnJSON("DoCheck2018");
var html = "<table class='table table-bordered table-hover table-condensed' style='width:80%;'>";
html += "<caption><img style='vertical-align:middle' src='../../Img/Event.png' />" + flow.Name + ":模拟测试运行</caption>";
html += "<tr>";
html += "<th>节点ID</th>";
html += "<th>名称</th>";
html += "<th>类型</th>";
html += "<th>信息</th>";
html += "</tr>";
for (var i = 0; i < dt.length; i++) {
var nd = dt[i];
html += "<tr>";
html += "<td>" + nd.NodeID + "</td>";
html += "<td>" + nd.NodeName + "</td>";
html += "<td>" + nd.InfoType + "</td>";
html += "<td>" + nd.Msg + "</td>";
html += "</tr>";
}
html += "</table>";
$("#Msg").html(html);
});
</script>
<style type="text/css">
caption {
text-align: left;
font-family: 'Microsoft YaHei';
font-weight: bolder;
border-bottom: none;
margin-bottom: 10px;
}
</style>
</head>
<body>
<div id="Msg">
</div>
</body>
</html>