123456789101112131415161718192021222324252627282930313233343536373839 |
- var windowID = "";
- var mnu = "";
- //加载
- $(function () {
- windowID = $.SystemGeneral.getUrlParam("WindowID");
- mnu = $.SystemGeneral.getUrlParam("MNU");
- })
- //查询Request
- function GetRequest() {
- var url = location.search;
- var thisRequest = new Object();
- if (url.indexOf("?") != -1) {
- var str = url.substr(1);
- strs = str.split("&");
- for (var i = 0; i < strs.length; i++) {
- thisRequest[strs[i].split("=")[0]] = unescape(strs[i].split("=")[1]);
- }
- }
- return thisRequest;
- }
- //导出确定
- function Student_PicExportConfirm() {
- var Request = new Object();
- Request = GetRequest();
- $("#userIDs").val(Request["userIDs"]);
- var dgStudentList = top.$("#" + windowID).data("inputData");
- $("#queryParamsDatas").val(dgStudentList.QueryParamsDatas);
- var pictureTypeValue = $("input[name='PictureType']:checked").val();
- if (pictureTypeValue != null && pictureTypeValue != "" && pictureTypeValue != undefined) {
- $("#exportPicType").val(pictureTypeValue);
- //$(document.forms[0]).submit();
- $(document.forms[0]).submitWithLoading();
- } else {
- $.messager.alert("系统提示", "请选择导出照片的命名方式。");
- }
- }
|