var mnu = ""; var windowID; //加载 $(function () { windowID = $.SystemGeneral.getUrlParam("WindowID"); mnu = $.SystemGeneral.getUrlParam("MNU"); }); function GetRequest() { var url = location.search; //获取url中"?"符后的字串 var theRequest = new Object(); if (url.indexOf("?") != -1) { var str = url.substr(1); strs = str.split("&"); for (var i = 0; i < strs.length; i++) { theRequest[strs[i].split("=")[0]] = unescape(strs[i].split("=")[1]); } } return theRequest; } function Student_PicExportConfirm() { var Request = new Object(); Request = GetRequest(); var Studentselect = top.$("#" + windowID).data("inputData"); $("[name='QueryParamsDatas']").val(Studentselect.QueryParamsDatas); Studentselect.selectedIDs = Request["selectedIDs"]; $("[name='selectedIDs']").val(Studentselect.selectedIDs); radio = $("input[name='type']:checked").val(); if (radio != undefined) { var len = radio.length; if (len > 0) { Studentselect.ExportPictureType = radio; $("[name='ExportPictureType']").val(Studentselect.ExportPictureType); Studentselect.windowsssss = Request["WindowID"].toString(); $(document.forms[0]).submit(); } } else { $.messager.alert("系统提示", "请选择您要导出照片的命名方式。"); } }