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.

37 lines
719 B
Plaintext

/*
1. 该JS文件被嵌入到了MyFlowGener.htm 的工作处理器中.
2. 开发者可以重写该文件处理通用的应用,比如通用的函数.
*/
//页面启动函数.
function LoaclOperation() {
var nodeID = GetQueryString("FK_Node");
if (nodeID == 302 || nodeID == 402 || nodeID == 502 || nodeID == 621) {
} else {
return;
}
var len = document.getElementById("DDL_Nodes").options.length;
if (len <= 2)
return;
for (var i = 0; i < len; i++) {
$("#DDL_Nodes option").eq(i).hide();
}
$("#DDL_Nodes option").eq(len - 1).show();
$("#DDL_Nodes").attr('value', $('#DDL_Nodes option:last').val());
//var len = document.getElementById("DDL_Nodes").options.length;
return;
}