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.
83 lines
3.3 KiB
Plaintext
83 lines
3.3 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>
|
|
<link href="../../../../DataUser/Style/ccbpm.css" rel="stylesheet" type="text/css" />
|
|
<link href="../../../Scripts/easyUI145/themes/icon.css" rel="stylesheet" type="text/css" />
|
|
<link href="../../../Scripts/easyUI145/themes/default/easyui.css" rel="stylesheet" type="text/css" />
|
|
<script src="../../../Scripts/jquery-1.7.2.min.js" type="text/javascript"></script>
|
|
<script src="../../../Scripts/easyUI/jquery.easyui.min.js" type="text/javascript"></script>
|
|
<script src="../../../Scripts/QueryString.js" type="text/javascript"></script>
|
|
<script type="text/javascript" src="../../../Scripts/config.js"></script>
|
|
<script type="text/javascript" src="../../../Comm/Gener.js"></script>
|
|
<!-- 自己的系统风格统一. -->
|
|
<link href="../../../Style/skin/adminfont/iconfont.css" rel="stylesheet" />
|
|
<link href="../../../Style/skin/css/Default.css" rel="stylesheet" />
|
|
<!-- 自己的系统风格统一end -->
|
|
<script src="DDLBar.js" type="text/javascript"></script>
|
|
<script src="../../CCFlowEnum.js" type="text/javascript"></script>
|
|
<script src="../../../Scripts/EasyUIUtility.js" type="text/javascript"></script>
|
|
<script src="../../../Scripts/vue.js"></script>
|
|
<script src="../../Admin.js"></script>
|
|
<script>
|
|
$(function () {
|
|
|
|
InitBar(BlockModel.ByExp);
|
|
|
|
var nodeID = GetQueryString("FK_Node");
|
|
var node = new Entity("BP.WF.Node", nodeID);
|
|
$("#TB_Exp").val(node.BlockExp);
|
|
|
|
});
|
|
function Save() {
|
|
|
|
var exp = $("#TB_Exp").val();
|
|
if (exp == null || exp == '') {
|
|
alert('err@您必须输入表达式,请参考格式要求.');
|
|
return;
|
|
}
|
|
|
|
$("#Btn_Save").html("正在保存请稍候...");
|
|
var nodeID = GetQueryString("FK_Node");
|
|
var node = new Entity("BP.WF.Node", nodeID);
|
|
node.BlockModel = BlockModel.ByExp;
|
|
node.BlockExp = exp;// $("#TB_Exp").val();
|
|
node.Update();
|
|
Reload();
|
|
}
|
|
</script>
|
|
</head>
|
|
<body>
|
|
<div id="bar">
|
|
|
|
</div>
|
|
<form id="cc">
|
|
<fieldset>
|
|
<legend>
|
|
<label for="RB_BlockModel_4">按照表达式阻塞</label>
|
|
</legend>
|
|
<br />
|
|
<input type="text" id="TB_Exp" name="TB_Exp" style="width: 95%" />
|
|
</fieldset>
|
|
|
|
|
|
<fieldset id="help">
|
|
<legend id="help">
|
|
帮助:
|
|
</legend>
|
|
|
|
<br />
|
|
<div id="exp" style="color: Gray;">
|
|
<ul>
|
|
<li>配置一个表达式, 比如: @MyFieldName = 1 该表达式成立的时候,系统就不能向下发送。 </li>
|
|
<li>表达式:@+字段名+空格+运算符+空格+值;字段名就是节点表单的所有字段,空格为英文状态下空格,运算符包含=、!=、>、>=、<、<=、LIKE </li>
|
|
<li>注意: 仅仅支持一个表达式 . 比如: @JinE > 10000 </li>
|
|
</ul>
|
|
</div>
|
|
|
|
</fieldset>
|
|
|
|
</form>
|
|
</body>
|
|
</html>
|