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.

88 lines
3.8 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>
<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>
<!-- 自己的系统风格统一. -->
<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>设置</legend>
<ul>
<li>
<a href="javascript:void(0)" @click="OpenDialog()">设置/更改岗位用户组处理人</a>
</li>
<li>说明:绑定的所有的人员,都可以处理该节点的工作。</li>
<li> 绑定多少个人,当前节点就有多少个人处理,这一种是最简洁最直接的方式。</li>
<li> 适用于当前节点人员比较稳定,一般不会变化的情况。</li>
<li> 如果人员变化比较频繁,就需要设置岗位,让岗位设置用户组人员。</li>
</ul>
</fieldset>
<fieldset>
<legend>绑定的人员</legend>
<div id="emp">
<ul>
<li v-show="emps.length===0">未设置</li>
<template v-for="emp in emps">
<li v-if="emp.FK_EmpText!=undefined">{{emp.FK_EmpText}}</li>
</template>
</ul>
</div>
</fieldset>
</div>
<script type="text/javascript">
var Baseinfo = new Vue({
el: '#App',
data: {
emps: [],
deliverWay:DeliveryWay.ByBindTeamEmp
},
methods: {
OpenDialog: function () {
var url = "../../../Comm/RefFunc/BranchesAndLeaf.htm?EnName=BP.WF.Template.NodeSheet&Dot2DotEnsName=BP.Port.TeamEmps&Dot2DotEnName=BP.Port.TeamEmp&AttrOfOneInMM=FK_Team&AttrOfMInMM=FK_Emp&EnsOfM=BP.Port.Teams&DefaultGroupAttrKey=FK_TeamType";
var nodeID = GetQueryString("FK_Node");
url += '&NodeID=' + nodeID + '&PKVal=' + nodeID + "&M=" + Math.random();
OpenEasyUiDialogExtCloseFunc(url, '设置用户组人员', 800, 500, function () {
Baseinfo.emps = getEmps();
});
}
},
created() {
InitBar(this.deliverWay);
this.emps = getTeamEmps();
}
});
//保存
function Save() {
var nodeID = GetQueryString("FK_Node");
var node = new Entity("BP.WF.Template.NodeExt", nodeID);
node.DeliveryWay = Baseinfo.deliverWay;
node.Update();
}
</script>
</body>
</html>