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.

172 lines
7.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>
<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 src="../../CCFlowEnum.js" type="text/javascript"></script>
<script type="text/javascript" language="javascript">
//页面启动函数.
$(function () {
var nodeID = GetQueryString("FK_Node");
var node = new Entity("BP.WF.Node", nodeID);
var flowNo = GetQueryString("FK_Flow");
var str = nodeID.substr(nodeID.length - 2);
if (str == "01" && node.DeliveryWay == DeliveryWay.BySelected) {
node.DeliveryWay = DeliveryWay.BySelected_1;
}
var url = '';
switch (parseInt(node.DeliveryWay)) {
case DeliveryWay.ByStation:
//Bind_1_ByStation();
url = "0.ByStation.htm";
break;
case DeliveryWay.ByDept:
//Bind_1_ByStation();
url = "1.ByDept.htm";
break;
case DeliveryWay.BySQL:
//Bind_1_ByStation();
url = "2.BySQL.htm";
break;
case DeliveryWay.ByBindEmp:
url = "3.ByBindEmp.htm";
break;
case DeliveryWay.BySelected:
url = "4.BySelected.htm";
break;
case DeliveryWay.BySelected_1:
url = "41.BySelected.htm";
break;
case DeliveryWay.BySelectedOrgs:
url = "42.BySelectedOrgs.htm";
break;
case DeliveryWay.ByDeptLeader: //按照部门负责人计算.
url = "23.ByDeptLeader.htm";
break;
case DeliveryWay.ByDeptShipLeader:
url = "28.ByDeptShipLeader.htm";
break;
case DeliveryWay.ByEmpLeader: //按照部门负责人计算.
url = "50.ByEmpLeader.htm";
break;
case DeliveryWay.ByPreviousNodeFormEmpsField:
url = "5.ByPreviousNodeFormEmpsField.htm";
break;
case DeliveryWay.ByPreviousNodeFormDepts:
url = "52.ByPreviousNodeFormDepts.htm";
break;
case DeliveryWay.ByPreviousNodeFormStationsAI:
url = "53.ByPreviousNodeFormStationsAI.htm";
break;
case DeliveryWay.ByPreviousNodeFormStationsOnly:
url = "54.ByPreviousNodeFormStationsOnly.htm";
break;
case DeliveryWay.BySelectEmpByOfficer:
url = "55.BySelectEmpByOfficer.htm";
break;
case DeliveryWay.ByPreviousNodeEmp:
url = "6.ByPreviousNodeEmp.htm";
break;
case DeliveryWay.ByStarter:
url = "7.ByStarter.htm";
break;
case DeliveryWay.BySpecNodeEmp:
url = "8.BySpecNodeEmp.htm";
break;
case DeliveryWay.ByDeptAndStation:
url = "9.ByDeptAndStation.htm";
break;
case DeliveryWay.ByStationAndEmpDept:
url = "10.ByStationAndEmpDept.htm";
break;
case DeliveryWay.BySpecNodeEmpStation:
url = "11.BySpecNodeEmpStation.htm";
break;
case DeliveryWay.BySQLAsSubThreadEmpsAndData:
url = "12.BySQLAsSubThreadEmpsAndData.htm";
break;
case DeliveryWay.ByDtlAsSubThreadEmps:
url = "13.ByDtlAsSubThreadEmps.htm";
break;
case DeliveryWay.ByStationOnly:
url = "14.ByStationOnly.htm";
break;
case DeliveryWay.ByFEE:
url = "15.ByFEEp.htm";
break;
case DeliveryWay.BySetDeptAsSubthread:
url = "16.BySetDeptAsSubthread.htm";
break;
case DeliveryWay.BySQLTemplate:
url = "17.BySQLTemplate.htm";
break;
case DeliveryWay.ByFromEmpToEmp:
url = "18.ByFromEmpToEmp.htm";
break;
case DeliveryWay.FindSpecDeptEmps:
url = "19.FindSpecDeptEmpsInStationlist.htm";
break;
case DeliveryWay.ByStationForPrj:
url = "20.ByStationForPrj.htm";
break;
case DeliveryWay.BySelectedForPrj:
url = "21.BySelectedForPrj.htm";
break;
case DeliveryWay.ByTeamOrgOnly:
url = "24.ByTeamOrgOnly.htm";
break;
case DeliveryWay.ByTeamOnly:
url = "25.ByTeamOnly.htm";
break;
case DeliveryWay.ByTeamDeptOnly:
url = "26.ByTeamDeptOnly.htm";
break;
case DeliveryWay.BySelectedOrgs:
url = "42.BySelectedOrgs.htm";
break;
case DeliveryWay.BySelectedEmpsOrgModel:
url = "43.BySelectedEmpsOrgModel.htm";
break;
case DeliveryWay.BySelfUrl: //自定义url.
url = "44.BySelfUrl.htm";
break;
case DeliveryWay.ByAPIUrl:
url = "45.ByAPIUrl.htm";
break;
case DeliveryWay.BySenderParentDeptLeader:
url = "46.BySenderParentDeptLeader.htm";
break;
case DeliveryWay.BySenderParentDeptStations:
url = "47.BySenderParentDeptStations.htm";
break;
case DeliveryWay.ByCCFlowBPM:
url = "100.ByCCFlowBPM.htm";
break;
case DeliveryWay.ByCCFlowBPM:
url = "100.ByCCFlowBPM.htm";
break;
default:
//alert('错误:没有解析到的' + node.DeliveryWay +" "+parseInt(node.DeliveryWay) );
//return;
url = "0.ByStation.htm";
break;
}
document.location.href = url + "?FK_Node=" + node.NodeID + "&FK_Flow=" + flowNo;
});
function Bind_1_ByStation() {
}
</script>
</head>
<body>
</body>
</html>