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 = "https://gitee.com/opencc/JFlow/wikis/%E6%95%B0%E6%8D%AE%E5%AF%BC%E5%85%A5?sort_id=3942532"; window.open(url); } function changeOption() { var fk_MapDtl = GetQueryString("FK_MapDtl"); if (fk_MapDtl == null) fk_MapDtl = '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_MapDtl=" + fk_MapDtl); } function GetUrl(optionKey) { switch (parseInt(optionKey)) { case 0: url = "0.None.htm"; break; case 1: url = "1.Table.htm"; break; case 2: url = "2.ExcelFile.htm"; break; case 3: url = "3.BillModel.htm"; break; case 4: url = "4.TableSimple.htm"; break; default: url = "0.None.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(); } }); }