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.

84 lines
3.3 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>
<title>自定义URL人员选择器</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>
<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" type="text/javascript"></script>
<!-- 自己的系统风格统一. -->
<link href="../../../Style/skin/adminfont/iconfont.css" rel="stylesheet" />
<link href="../../../Style/skin/css/Default.css" rel="stylesheet" />
<!-- 自己的系统风格统一end -->
</head>
<body>
<div id="App">
<div id="bar">
</div>
<fieldset>
<legend>请在文本框里输入弹出人员选择的URL.</legend>
<br />
<textarea id="TB_URL" style="width: 95%; height: 50px" v-model="urlExt"></textarea>
</fieldset>
<fieldset>
<legend id="help"></legend>
<ul>
<li>该URL是点击发送直接弹出自定义的人员选择的页面需要客户自动的处理人员选择的保存。</li>
<li>系统将会把当前节点的信息传入到您的url里面去比如FK_Node,WorkID,FK_Flow </li>
<li>在选择完毕后您需要将选择的用户ID存储到到接口里面去。</li>
</ul>
</fieldset>
<fieldset>
<legend id="helpClose">说明</legend>
<ul>
<li><img src="44.BySelfUrl.png" /></li>
</ul>
</fieldset>
</div>
<script type="text/javascript">
var Baseinfo = new Vue({
el: '#App',
data: {
deliverWay: DeliveryWay.BySelfUrl,
urlExt: '',
nodeId: GetQueryString("FK_Node")
},
created() {
InitBar(this.deliverWay);
var node = new Entity("BP.WF.Node", this.nodeId);
if (node.DeliveryWay == DeliveryWay.BySelfUrl) {
this.urlExt = node.DeliveryParas;
}
}
});
function Save() {
var node = new Entity("BP.WF.Template.NodeExt", Baseinfo.nodeId);
node.DeliveryWay = Baseinfo.deliverWay;
if (Baseinfo.urlExt == "") {
alert("请输入自定义的URL.");
return;
}
node.DeliveryParas = Baseinfo.urlExt;
node.Update();
}
</script>
</body>
</html>