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.
118 lines
4.1 KiB
Plaintext
118 lines
4.1 KiB
Plaintext
11 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="../../Scripts/bootstrap/css/bootstrap.min.css" rel="stylesheet" />
|
||
|
<link href="../../Scripts/easyUI145/themes/color.css" rel="stylesheet" />
|
||
|
<link href="../../Scripts/easyUI145/themes/default/easyui.css" rel="stylesheet" type="text/css" />
|
||
|
<link href="../../DataUser/Style/ccbpm.css" rel="stylesheet" type="text/css" />
|
||
|
<script type="text/javascript" src="../../Scripts/bootstrap/js/jquery.min.js"></script>
|
||
|
<script src="../../Scripts/QueryString.js" type="text/javascript"></script>
|
||
|
<link href="../../DataUser/Style/ccbpm.css" rel="stylesheet" type="text/css" />
|
||
|
<script src="../../Scripts/jquery-1.11.0.min.js" type="text/javascript"></script>
|
||
|
<script src="../../Scripts/easyUI/jquery.easyui.min.js" type="text/javascript"></script>
|
||
|
<script src="../../Scripts/bootstrap/js/bootstrap.min.js"></script>
|
||
|
<!-- 自己的系统风格统一. -->
|
||
|
<link href="../../Style/skin/adminfont/iconfont.css" rel="stylesheet" />
|
||
|
<link href="../../Style/skin/css/Default.css" rel="stylesheet" />
|
||
|
<!-- 引用通用的js文件. -->
|
||
|
<script type="text/javascript" src="../../Scripts/config.js"></script>
|
||
|
<script type="text/javascript" src="../../Comm/Gener.js"></script>
|
||
|
<script src="../Admin.js"></script>
|
||
|
<script src="DDLBar.js"></script>
|
||
|
<script src="../../Scripts/EasyUIUtility.js" type="text/javascript"></script>
|
||
|
<script src="../../Scripts/vue.js"></script>
|
||
|
<script type="text/javascript" language="javascript">
|
||
|
|
||
|
var flowNo = GetQueryString("FlowNo");
|
||
|
var enums = null;
|
||
|
//页面启动函数.
|
||
|
$(function () {
|
||
|
|
||
|
InitBar("Accepter");
|
||
|
|
||
|
var nodes = new Entities("BP.WF.Nodes");
|
||
|
nodes.Retrieve("FK_Flow", flowNo);
|
||
|
|
||
|
enums = new Entities("BP.Sys.SysEnums");
|
||
|
enums.Retrieve("EnumKey", "DeliveryWay");
|
||
|
|
||
|
var html = "<table class='table table-bordered table - hover' style='width:90%;' >";
|
||
|
html += "<tr>";
|
||
|
html += " <th>#</th>";
|
||
|
html += " <th>节点ID</th>";
|
||
|
html += " <th>名称</th>";
|
||
|
html += " <th>到达节点</th>";
|
||
|
html += " <th>接受人规则</th>";
|
||
|
//html += " <th>设置内容</th>";
|
||
|
html += "</tr>";
|
||
|
|
||
|
for (var i = 0; i < nodes.length; i++) {
|
||
|
|
||
|
var en = nodes[i];
|
||
|
html += "<tr>";
|
||
|
html += "<td>" + (i + 1) + "</td>";
|
||
|
|
||
|
html += "<td>" + en.NodeID + "</td>";
|
||
|
html += "<td><a href=\"javascript:Open('" + en.NodeID + "','" + en.FK_Flow + "')\" >" + en.Name + "</a></td>";
|
||
|
html += "<td>" + en.HisToNDs + "</td>";
|
||
|
html += "<td>" + GetName(en.DeliveryWay) + "</td>";
|
||
|
|
||
|
html += "<td>" + GetDesc(en) + "</td>";
|
||
|
|
||
|
html += "</tr>";
|
||
|
|
||
|
}
|
||
|
html += "</tr>";
|
||
|
|
||
|
|
||
|
html += "</table>";
|
||
|
$("#docs").html(html);
|
||
|
|
||
|
});
|
||
|
|
||
|
//获得描述.
|
||
|
function GetDesc(node) {
|
||
|
var deliveryParas = node.DeliveryParas || "";
|
||
|
deliveryParas = deliveryParas.replace(/~/g, "'");
|
||
|
return deliveryParas;
|
||
|
}
|
||
|
function GetName(val)
|
||
|
{
|
||
|
for (var i = 0; i < enums.length; i++) {
|
||
|
|
||
|
var en = enums[i];
|
||
|
if (en.IntKey == val)
|
||
|
return en.Lab;
|
||
|
}
|
||
|
return val;
|
||
|
}
|
||
|
|
||
|
function Open(nodeID, flowNo) {
|
||
|
var url = "../AttrNode/AccepterRole/Default.htm?FK_Node=" + nodeID + "&FK_Flow=" + flowNo;
|
||
|
window.open(url);
|
||
|
}
|
||
|
</script>
|
||
|
</head>
|
||
|
<body>
|
||
|
<div id="bar"> </div>
|
||
|
<form id="cc">
|
||
|
|
||
|
<fieldset>
|
||
|
<legend>
|
||
|
<label>接收人规则</label>
|
||
|
</legend>
|
||
|
<br />
|
||
|
<center>
|
||
|
<div id="docs">
|
||
|
</div>
|
||
|
</center>
|
||
|
|
||
|
</fieldset>
|
||
|
|
||
|
</form>
|
||
|
|
||
|
</body>
|
||
|
</html>
|