function InitBar(optionKey) { var html = "转向规则:"; html += ""; html += ""; //html += ""; html += ""; document.getElementById("bar").innerHTML = html; $("#changBar option[value='" + optionKey + "']").attr("selected", "selected"); } function HelpOnline() { var url = "http://doc.ccbpm.cn"; window.open(url); } function changeOption() { var nodeNo = GetQueryString("FK_Node"); if (nodeNo == null) nodeNo = '001'; var obj = document.getElementById("changBar"); var sele = obj.options; var index = obj.selectedIndex; var optionKey = optionKey = sele[index].value; var url = GetUrl(optionKey); SetHref(url + "?FK_Node=" + nodeNo); } function GetUrl(optionKey) { switch (parseInt(optionKey)) { case DirCondModel.ByLineCond: url = "0.ByLineCond.htm"; break; case DirCondModel.ByDDLSelected: url = "1.ByDDLSelected.htm"; break; case DirCondModel.ByPopSelect: url = "2.ByPopSelect.htm"; break; case DirCondModel.ByButtonSelected: url = "3.ByButtonSelected.htm"; break; default: url = "0.ByLineCond.htm"; break; } return url; } function SaveAndClose() { Save(); window.close(); } //打开窗体. function OpenEasyUiDialogExt(url, title, w, h, isReload) { OpenEasyUiDialog(url, "eudlgframe", title, w, h, "icon-property", true, null, null, null, function () { if (isReload == true) { Reload(); } }); } $(function () { jQuery.getScript(basePath + "/WF/Admin/Admin.js") .done(function () { /* 耶,没有问题,这里可以干点什么 */ // alert('ok'); }) .fail(function () { /* 靠,马上执行挽救操作 */ //alert('err'); }); });