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.

67 lines
2.0 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>
<meta charset="UTF-8" />
<title>节点自定义参数</title>
<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" />
<!-- 引用通用的js文件. -->
<script type="text/javascript" src="../../Scripts/config.js"></script>
<script type="text/javascript" src="../../Comm/Gener.js"></script>
<script type="text/javascript" language="javascript">
var node = null;
var nodeID = 0;
//页面启动函数.
$(function () {
$("#Msg").html("正在加载,请稍后......");
//NodeID.
nodeID = GetQueryString("FK_Node");
//执行.
node = new Entity("BP.WF.Node", nodeID);
var doc = node.SelfParas;
//alert(doc);
//doc = doc.replace(/^/g, "\");
//doc = doc.replace(/~/g, "'");
$("#TB_Doc").val(doc);
});
function Save() {
var doc = $("#TB_Doc").val();
doc = doc.replace(/"/g, "^");
doc = doc.replace(/'/g, "~");
node.SelfParas = doc;
node.Update();
Reload();
return;
}
</script>
</head>
<body>
<form id="cc">
<table style="width: 95%;" >
<caption>节点自定义参数</caption>
<tr>
<td>
<textarea type="text" name='TB_Doc' id="TB_Doc" rows="15" style=" width:95%;" />
</textarea>
</td>
</tr>
<tr>
<td>
<input type="button" value="保存" onclick="Save()" />
</td>
</tr>
</table>
</form>
</body>
</html>