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.
75 lines
3.2 KiB
Plaintext
75 lines
3.2 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>
|
|
<!--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="../../../../Scripts/easyUI145/themes/color.css" rel="stylesheet" />
|
|
<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>
|
|
<link href="../../../../../DataUser/Style/ccbpm.css" rel="stylesheet" type="text/css" />
|
|
<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>
|
|
//组织主键.
|
|
var mypk = "SingleChoiceSmall_" + GetQueryString("FK_MapData") + "_" + GetQueryString("KeyOfEn");
|
|
var en = new Entity("BP.Sys.MapExt");
|
|
en.MyPK = mypk;
|
|
var i = en.RetrieveFromDBSources();
|
|
if (i == 0)
|
|
$("#Btn_Delete").attr("disabled", true);
|
|
else
|
|
$("#Btn_Delete").removeAttr("disabled");
|
|
|
|
$(function () {
|
|
InitBar(4);
|
|
//绑定SQL
|
|
$("#TB_SQL").val(en.Tag4);
|
|
});
|
|
function Save() {
|
|
$("#Btn_Save").val("正在保存请稍候...");
|
|
en.FK_MapData = GetQueryString("FK_MapData");
|
|
en.AttrOfOper = GetQueryString("KeyOfEn");
|
|
en.ExtType = "SingleChoiceSmall";
|
|
en.MyPK = mypk;
|
|
en.DoWay = 4;
|
|
en.Tag4 = editor.getValue();
|
|
|
|
if (en.Update() == 0)
|
|
en.Insert();
|
|
Reload();
|
|
}
|
|
</script>
|
|
</head>
|
|
<body>
|
|
<div id="bar">
|
|
|
|
</div>
|
|
<form id="cc">
|
|
<fieldset>
|
|
<legend><label for="RB_4">按照SQL计算</label> </legend>
|
|
<br />
|
|
<textarea rows="3" id="TB_SQL" name="TB_SQL"></textarea>
|
|
</fieldset>
|
|
<fieldset>
|
|
<img src="SingleChouceSmall.png" />
|
|
</fieldset>
|
|
</form>
|
|
</body>
|
|
</html >
|