123456789101112131415161718192021222324252627282930313233343536373839404142 |
- var mnu = "";
- var windowID;
- //加载
- $(function () {
- windowID = $.SystemGeneral.getUrlParam("WindowID");
- mnu = $.SystemGeneral.getUrlParam("MNU");
- });
- function Student_ExportPictures() {
- 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]).submitWithLoading();
- }
- }
- else
- {
- $.messager.alert("系统提示", "请选择您要导出相片的命名方式。");
- }
- }
- 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;
- }
|