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.

108 lines
4.0 KiB
Plaintext

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

<!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>
<!--SQL编辑器-->
<link href="../../../Scripts/CodeMirror/lib/codemirror.css" rel="stylesheet" />
<link href="../../../Scripts/CodeMirror/addon/hint/show-hint.css" rel="stylesheet" />
<script src="../../../Scripts/CodeMirror/lib/codemirror.js"></script>
<script src="../../../Scripts/CodeMirror/addon/edit/matchbrackets.js"></script>
<script src="../../../Scripts/CodeMirror/mode/sql/sql.js"></script>
<script src="../../../Scripts/CodeMirror/addon/hint/show-hint.js"></script>
<script src="../../../Scripts/CodeMirror/addon/hint/sql-hint.js"></script>
<script src="../../../Scripts/LoadSql.js"></script>
<!-- 自己的系统风格统一. -->
<link href="../../../Style/skin/adminfont/iconfont.css" rel="stylesheet" />
<link href="../../../Style/skin/css/Default.css" rel="stylesheet" />
<!-- 自己的系统风格统一end -->
<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>
<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 type="text/javascript">
var nodeID = GetQueryString("FK_Node");
var node = new Entity("BP.WF.Node", nodeID);
$(function () {
InitBar(BlockModel.BySQL);
$("#TB_SQL").val(node.BlockExp);
});
function Save() {
$("#Btn_Save").html("正在保存请稍候...");
node.BlockModel = BlockModel.BySQL;
//node.BlockExp = $("#TB_SQL").val();
if (!editor.getValue());
node.BlockExp = editor.getValue();
node.Update();
//alert("保存完毕");
Reload();
}
</script>
</head>
<body>
<div id="bar">
</div>
<form id="cc">
<fieldset>
<legend>
<label for="RB_BlockModel_3">按照SQL阻塞</label>
</legend>
<br />
<textarea type="text" id="TB_SQL" name="TB_SQL" textmode="MultiLine"
rows="1" style="width: 95%"></textarea>
<br />
</fieldset>
<!--<input type="id" tb/>
<my-input value="xxx">
ant-design
<a-input></a-input>
naive-ui
<n-input></n-input>
</my-input>-->
<fieldset style="margin-bottom:50px;">
<legend id="help">
帮助:
</legend>
<div id="sql" style="color: Gray;">
<ul>
<li>配置一个SQL该SQL返回一行一列的数值类型的值。</li>
<li>如果该值大于0则阻塞发送, 反之不阻塞.</li>
<li>配置的参数支持ccbpm表达式。</li>
<li>demo:SELECT count(*) as NUM FROM nd702 WHERE jine1!=jine2 AND OID=@WorkID</li>
</ul>
</div>
<br />
<br />
</fieldset>
</form>
</body>
</html>