Student.js 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504
  1. var url = CMS_SystemConfig.VirtualDirectoryPath + "/Student/Edit";
  2. var mnu = "";
  3. //url个性化配置
  4. var customerUrl = $(CMS_SystemConfig.GetConfig()).find("configuration>customUrls>add[key='StudentEdit']");
  5. if (customerUrl.attr("value")) {
  6. url = CMS_SystemConfig.VirtualDirectoryPath + customerUrl.attr("value");
  7. }
  8. //加载
  9. $(function () {
  10. mnu = $.SystemGeneral.getUrlParam("MNU");
  11. })
  12. //刷新
  13. function reload() {
  14. $("#dgStudentList").cmsXDataTable("load", $.getDataGridParams("dgStudentList"));
  15. }
  16. //获取选中的数据UserID
  17. function validChoose() {
  18. var d = [];
  19. $.each($("#dgStudentList").cmsXDataTable("getSelections"), function (index) {
  20. d.push(this.UserID);
  21. });
  22. return d;
  23. }
  24. //获取选中的数据LoginID
  25. function validChooseLoginID() {
  26. var d = [];
  27. $.each($("#dgStudentList").cmsXDataTable("getSelections"), function (index) {
  28. d.push(this.StudentNo);
  29. });
  30. return d;
  31. }
  32. //新增
  33. function Student_Add() {
  34. var d = validChoose();
  35. if (d.length > 0) {
  36. $.popupTopWindow('学生信息复制新增', url + '?newUserID=' + d[0] + '&MNU=' + mnu + '&type=copyAdd', 680, 550, null, null);
  37. } else {
  38. var redirectTo = url + "?MNU=" + mnu + "&type=add";
  39. $.popupTopWindow('学生信息新增', redirectTo, 680, 550, null, null);
  40. }
  41. }
  42. //修改按钮
  43. function Student_Edit() {
  44. var d = validChoose();
  45. if (d == "") {
  46. $.messager.alert("系统提示", "请选择您要修改的信息。");
  47. return;
  48. }
  49. if (d.length > 1) {
  50. $.messager.alert("系统提示", "只能选择单个记录进行修改。");
  51. return;
  52. }
  53. var redirectTo = url + "?newUserID=" + d + "&MNU=" + mnu + "&type=edit";
  54. $.popupTopWindow('学生信息修改', redirectTo, 680, 550, null, null);
  55. }
  56. //明细查看
  57. function edit(rowindex, rowdata) {
  58. var redirectTo = url + "?newUserID=" + rowdata.UserID + "&MNU=" + mnu + "&type=detail";
  59. $.popupTopWindow('学生信息明细', redirectTo, 680, 550, null, null);
  60. }
  61. //班级信息查看
  62. function editClassmajor(rowindex, rowdata) {
  63. var redirectTo = CMS_SystemConfig.VirtualDirectoryPath + "/Classmajor/Edit" + "?classmajorID=" + rowdata.ClassmajorID + "&MNU=" + mnu + "&type=detail";
  64. $.popupTopWindow('班级信息', redirectTo, 720, 480, null, null);
  65. }
  66. //照片信息查看
  67. function editPhoto(rowindex, rowdata) {
  68. var redirectTo = CMS_SystemConfig.VirtualDirectoryPath + "/Student/PhotoDetail" + "?userID=" + rowdata.UserID + "&MNU=" + mnu + "&type=detail";
  69. $.popupTopWindow('照片信息', redirectTo, 700, 580, null, null);
  70. }
  71. //学籍异动信息查看
  72. function editChange(rowindex, rowdata) {
  73. var redirectTo = CMS_SystemConfig.VirtualDirectoryPath + "/Student/ChangeDetail" + "?userID=" + rowdata.UserID + "&MNU=" + mnu;
  74. $.popupTopWindow('学籍异动信息', redirectTo, 1200, 540, null, null);
  75. }
  76. //学籍注册信息查看
  77. function editReport(rowindex, rowdata) {
  78. var redirectTo = CMS_SystemConfig.VirtualDirectoryPath + "/Student/ReportDetail" + "?userID=" + rowdata.UserID + "&MNU=" + mnu;
  79. $.popupTopWindow('学籍注册信息', redirectTo, 1024, 540, null, null);
  80. }
  81. //删除
  82. function Student_Delete() {
  83. var d = validChoose().join(',');
  84. if (d == "") {
  85. $.messager.alert("系统提示", "请选择您要删除的信息。");
  86. return;
  87. }
  88. $.messager.confirm("系统提示", "您确定要删除选择的信息?", function (r) {
  89. if (r) {
  90. $.postWithLoading(CMS_SystemConfig.VirtualDirectoryPath + '/Student/Delete', { userIDs: d }, function (data) {
  91. if (data.IsSuccess) {
  92. $.messager.alert("系统提示", data.Message);
  93. $("#dgStudentList").cmsXDataTable('load');
  94. } else {
  95. $.messager.alert("系统提示", data.Message);
  96. }
  97. });
  98. }
  99. });
  100. }
  101. //照片比对
  102. function Student_PictureComparison() {
  103. var redirectTo = CMS_SystemConfig.VirtualDirectoryPath + "/Student/PicComparison?MNU=" + mnu;
  104. $.popupTopWindow('照片比对信息', redirectTo, 1250, 600, null, null);
  105. }
  106. //删除照片
  107. function Student_PicDelete() {
  108. var d = validChoose().join(',');
  109. if (d == "") {
  110. $.messager.alert("系统提示", "请选择您要删除照片的信息。");
  111. return;
  112. }
  113. $.messager.confirm("系统提示", "您确定要删除选择的信息对应的照片?", function (r) {
  114. if (r) {
  115. $.postWithLoading(CMS_SystemConfig.VirtualDirectoryPath + '/Student/PicDelete', { userIDs: d }, function (data) {
  116. if (data.IsSuccess) {
  117. $.messager.alert("系统提示", data.Message);
  118. $("#dgStudentList").cmsXDataTable('load');
  119. } else {
  120. $.messager.alert("系统提示", data.Message);
  121. }
  122. });
  123. }
  124. });
  125. }
  126. //模拟登录
  127. function Student_SimulateLogin() {
  128. var d = validChooseLoginID();
  129. if (d.length == 0) {
  130. $.messager.alert("系统提示", "请选择您要模拟登录的学生。");
  131. return;
  132. }
  133. if (d.length > 1) {
  134. $.messager.alert("系统提示", "只能选择一个学生进行模拟登录。");
  135. return;
  136. }
  137. $.messager.confirm("系统提示", "您确定要进行模拟登录?", function (r) {
  138. if (r) {
  139. var loginID = d.toString();
  140. $.postWithLoading(CMS_SystemConfig.VirtualDirectoryPath + '/SimulateLogin/Login', { LoginID: loginID }, function (data) {
  141. parent.location.reload();
  142. });
  143. }
  144. });
  145. }
  146. //上报导出
  147. function Student_ReportExport() {
  148. var userIDs = validChoose().join(',');
  149. var dgStudentList = $.getDataGridParams("dgStudentList");
  150. var redirectTo = CMS_SystemConfig.VirtualDirectoryPath + "/Student/ReportExport?userIDs=" + userIDs + "&MNU=" + mnu;
  151. $.popupTopWindow('上报导出', redirectTo, 880, 580, null, dgStudentList);
  152. }
  153. //操行录入
  154. function Student_ConductInput() {
  155. var d = validChoose();
  156. if (d == "") {
  157. $.messager.alert("系统提示", "请选择您要进行录入的信息。");
  158. return;
  159. }
  160. var redirectTo = CMS_SystemConfig.VirtualDirectoryPath + "/Student/ConductInput" + "?MNU=" + mnu;
  161. $.popupTopWindow('操行录入', redirectTo, 480, 320, null, d);
  162. }
  163. //毕业证书编号Excel导入
  164. function Student_GraduateNoImport() {
  165. var redirectTo = CMS_SystemConfig.VirtualDirectoryPath + '/Student/GraduateNoImport?MNU=' + mnu;
  166. $.popupTopWindow('证书编号导入', redirectTo, 420, 300, reload);
  167. }
  168. //设置列颜色为红色
  169. function SetRedColumn(index, row, value) {
  170. return " <span style=\"color: red;\">" + value + "</span>";
  171. }
  172. //Excel导出
  173. function Student_Export() {
  174. var userIDs = validChoose().join(',');
  175. if (userIDs == "") {
  176. document.getElementById("UserIDs").value = "";
  177. }
  178. else {
  179. document.getElementById("UserIDs").value = userIDs;
  180. }
  181. $("#formQuery").attr("action", CMS_SystemConfig.VirtualDirectoryPath + "/Student/Excel");
  182. $("#formQuery").submit();
  183. }
  184. //导入学籍照片
  185. function Student_PicImport() {
  186. var redirectTo = CMS_SystemConfig.VirtualDirectoryPath + '/Student/PicImport?MNU=' + mnu;
  187. $.popupTopWindow('导入学籍照片', redirectTo, 420, 300, reload);
  188. }
  189. //导入学历照片
  190. function Student_GraPicImport() {
  191. var redirectTo = CMS_SystemConfig.VirtualDirectoryPath + '/Student/GraPicImport?MNU=' + mnu;
  192. $.popupTopWindow('导入学历照片', redirectTo, 420, 300, reload);
  193. }
  194. //导出照片
  195. function Student_PictureExport() {
  196. var userIDs = validChoose().join(',');
  197. var dgStudentList = $.getDataGridParams("dgStudentList");
  198. var redirectTo = CMS_SystemConfig.VirtualDirectoryPath + "/Student/PictureExport?userIDs=" + userIDs + "&MNU=" + mnu;
  199. $.popupTopWindow('导出照片', redirectTo, 400, 280, null, dgStudentList);
  200. }
  201. //Excel导入
  202. function Student_Import() {
  203. var redirectTo = CMS_SystemConfig.VirtualDirectoryPath + '/Student/Import?MNU=' + mnu;
  204. $.popupTopWindow('学生信息导入', redirectTo, 420, 300, reload);
  205. }
  206. //获取列表字段查询对应比较符
  207. function GetDynamicConditionString() {
  208. var conditionString = "";
  209. var attribute = eval('(' + $("[name='Attribute']").val() + ')').Value;
  210. var condition = $("[name='Condition']").val();
  211. var value = $.trim($("[name='Condition']").parent().parent().next().find("[name^=" + attribute + "]").val());
  212. if (document.getElementsByName(attribute + "_QueryDictionaryDropDownList")[0] != null) {
  213. if (value == "-1") {
  214. conditionString = "";
  215. } else {
  216. conditionString = "WHERE " + attribute + "=" + value;
  217. }
  218. } else {
  219. if (value != "") {
  220. if (condition == "左") {
  221. conditionString = "WHERE " + attribute + " LIKE '" + value + "%'";
  222. } else if (condition == "右") {
  223. conditionString = "WHERE " + attribute + " LIKE '%" + value + "'";
  224. } else if (condition == "中") {
  225. conditionString = "WHERE " + attribute + " LIKE '%" + value + "%'";
  226. } else {
  227. conditionString = "WHERE " + attribute + condition + "'" + value + "'";
  228. }
  229. } else {
  230. conditionString = "";
  231. }
  232. }
  233. return conditionString;
  234. }
  235. //学生证明报表
  236. function Student_ProveReport() {
  237. var campusID = $("#CampusDropdown").combogridX("getValue");
  238. var collegeID = $("#CollegeDropdown").combogridX("getValue");
  239. var gradeID = $("#DictionaryGrade").combogridX("getValue");
  240. var standardID = $("#DictionaryStandard").combogridX("getValue");
  241. var educationID = $("#DictionaryEducation").combogridX("getValue");
  242. var learningformID = $("#DictionaryLearningform").combogridX("getValue");
  243. var learnSystem = $("#DictionaryLearnSystem").combogridX("getValue");
  244. var classmajorID = $("#ClassmajorComboGrid").combogridX("getValue");
  245. var isPhoto = $("#IsPhotoDropdown").combogridX("getValue");
  246. var reportStatus = $("#DictionaryReportStatus").combogridX("getValue");
  247. var planningGraduateDate = $("#PlanningGraduateDateDropDown").combogridX("getValue");
  248. var inSchoolStatus = $("#DictionaryInschoolStatus").combobox("getValue");
  249. var userIDs = validChoose().join(',');
  250. var conditionString = GetDynamicConditionString();
  251. var redirectTo = CMS_SystemConfig.VirtualDirectoryPath + '/Student/ProveReport?MNU=' + mnu;
  252. var learningProveReportName = $(CMS_SystemConfig.GetConfig()).find("configuration>reportServer>customReportName[name='LearningProveReport']").attr("customName");
  253. var riseOnlyThisProveReportName = $(CMS_SystemConfig.GetConfig()).find("configuration>reportServer>customReportName[name='RiseOnlyThisProveReport']").attr("customName");
  254. var graduateProveReportName = $(CMS_SystemConfig.GetConfig()).find("configuration>reportServer>customReportName[name='GraduateProveReport']").attr("customName");
  255. $.popupTopWindow('证明报表', redirectTo, 680, 550, null, {
  256. CampusID: campusID,
  257. CollegeID: collegeID,
  258. GradeID: gradeID,
  259. StandardID: standardID,
  260. EducationID: educationID,
  261. LearningformID: learningformID,
  262. LearnSystem: learnSystem,
  263. ClassmajorID: classmajorID,
  264. IsPhoto: isPhoto,
  265. ReportStatus: reportStatus,
  266. PlanningGraduateDate: planningGraduateDate,
  267. InSchoolStatus: inSchoolStatus,
  268. UserIDs: userIDs,
  269. ConditionString: conditionString,
  270. LearningProveReportName: learningProveReportName,
  271. RiseOnlyThisProveReportName: riseOnlyThisProveReportName,
  272. GraduateProveReportName: graduateProveReportName
  273. });
  274. }
  275. //学生学籍卡报表
  276. function Student_CradReport() {
  277. var campusID = $("#CampusDropdown").combogridX("getValue");
  278. var collegeID = $("#CollegeDropdown").combogridX("getValue");
  279. var gradeID = $("#DictionaryGrade").combogridX("getValue");
  280. var standardID = $("#DictionaryStandard").combogridX("getValue");
  281. var educationID = $("#DictionaryEducation").combogridX("getValue");
  282. var learningformID = $("#DictionaryLearningform").combogridX("getValue");
  283. var learnSystem = $("#DictionaryLearnSystem").combogridX("getValue");
  284. var classmajorID = $("#ClassmajorComboGrid").combogridX("getValue");
  285. var isPhoto = $("#IsPhotoDropdown").combogridX("getValue");
  286. var reportStatus = $("#DictionaryReportStatus").combogridX("getValue");
  287. var planningGraduateDate = $("#PlanningGraduateDateDropDown").combogridX("getValue");
  288. var inSchoolStatus = $("#DictionaryInschoolStatus").combobox("getValue");
  289. var userIDs = validChoose().join(',');
  290. var conditionString = GetDynamicConditionString();
  291. var redirectTo = CMS_SystemConfig.VirtualDirectoryPath + '/Student/CradReport?MNU=' + mnu;
  292. var studentCradReportName = $(CMS_SystemConfig.GetConfig()).find("configuration>reportServer>customReportName[name='StudentCradReport']").attr("customName");
  293. if (studentCradReportName == "HBGDStudentCard") {
  294. $.popupTopWindow('学籍报表', redirectTo, 680, 550, null, {
  295. CampusID: campusID,
  296. CollegeID: collegeID,
  297. GradeID: gradeID,
  298. StandardID: standardID,
  299. EducationID: educationID,
  300. LearningformID: learningformID,
  301. LearnSystem: learnSystem,
  302. ClassmajorID: classmajorID,
  303. IsPhoto: isPhoto,
  304. ReportStatus: reportStatus,
  305. PlanningGraduateDate: planningGraduateDate,
  306. InSchoolStatus: inSchoolStatus,
  307. UserIDs: userIDs,
  308. ConditionString: conditionString,
  309. StudentCradReportName: studentCradReportName
  310. });
  311. } else {
  312. $.popupTopWindow('学籍报表', redirectTo, 1124, 550, null, {
  313. CampusID: campusID,
  314. CollegeID: collegeID,
  315. GradeID: gradeID,
  316. StandardID: standardID,
  317. EducationID: educationID,
  318. LearningformID: learningformID,
  319. LearnSystem: learnSystem,
  320. ClassmajorID: classmajorID,
  321. IsPhoto: isPhoto,
  322. ReportStatus: reportStatus,
  323. PlanningGraduateDate: planningGraduateDate,
  324. InSchoolStatus: inSchoolStatus,
  325. UserIDs: userIDs,
  326. ConditionString: conditionString,
  327. StudentCradReportName: studentCradReportName
  328. });
  329. }
  330. }
  331. //鉴定报表
  332. function Student_AppraiseReport() {
  333. var campusID = $("#CampusDropdown").combogridX("getValue");
  334. var collegeID = $("#CollegeDropdown").combogridX("getValue");
  335. var gradeID = $("#DictionaryGrade").combogridX("getValue");
  336. var standardID = $("#DictionaryStandard").combogridX("getValue");
  337. var educationID = $("#DictionaryEducation").combogridX("getValue");
  338. var learningformID = $("#DictionaryLearningform").combogridX("getValue");
  339. var learnSystem = $("#DictionaryLearnSystem").combogridX("getValue");
  340. var classmajorID = $("#ClassmajorComboGrid").combogridX("getValue");
  341. var isPhoto = $("#IsPhotoDropdown").combogridX("getValue");
  342. var reportStatus = $("#DictionaryReportStatus").combogridX("getValue");
  343. var planningGraduateDate = $("#PlanningGraduateDateDropDown").combogridX("getValue");
  344. var inSchoolStatus = $("#DictionaryInschoolStatus").combobox("getValue");
  345. var userIDs = validChoose().join(',');
  346. var conditionString = GetDynamicConditionString();
  347. var redirectTo = CMS_SystemConfig.VirtualDirectoryPath + '/Student/AppraiseReport?MNU=' + mnu;
  348. var studentGraAppraiseReportName = $(CMS_SystemConfig.GetConfig()).find("configuration>reportServer>customReportName[name='StudentGraAppraiseReport']").attr("customName");
  349. var studentPPraAppraiseReportName = $(CMS_SystemConfig.GetConfig()).find("configuration>reportServer>customReportName[name='StudentPPraAppraiseReport']").attr("customName");
  350. if (studentGraAppraiseReportName == "DefaultGraduateAppraise") {
  351. $.popupTopWindow('鉴定报表', redirectTo, 680, 550, null, {
  352. CampusID: campusID,
  353. CollegeID: collegeID,
  354. GradeID: gradeID,
  355. StandardID: standardID,
  356. EducationID: educationID,
  357. LearningformID: learningformID,
  358. LearnSystem: learnSystem,
  359. ClassmajorID: classmajorID,
  360. IsPhoto: isPhoto,
  361. ReportStatus: reportStatus,
  362. PlanningGraduateDate: planningGraduateDate,
  363. InSchoolStatus: inSchoolStatus,
  364. UserIDs: userIDs,
  365. ConditionString: conditionString,
  366. StudentGraAppraiseReportName: studentGraAppraiseReportName,
  367. StudentPPraAppraiseReportName: studentPPraAppraiseReportName
  368. });
  369. } else {
  370. $.popupTopWindow('鉴定报表', redirectTo, 680, 550, null, {
  371. CampusID: campusID,
  372. CollegeID: collegeID,
  373. GradeID: gradeID,
  374. StandardID: standardID,
  375. EducationID: educationID,
  376. LearningformID: learningformID,
  377. LearnSystem: learnSystem,
  378. ClassmajorID: classmajorID,
  379. IsPhoto: isPhoto,
  380. ReportStatus: reportStatus,
  381. PlanningGraduateDate: planningGraduateDate,
  382. InSchoolStatus: inSchoolStatus,
  383. UserIDs: userIDs,
  384. ConditionString: conditionString,
  385. StudentGraAppraiseReportName: studentGraAppraiseReportName,
  386. StudentPPraAppraiseReportName: studentPPraAppraiseReportName
  387. });
  388. }
  389. }
  390. //联动查询
  391. function queryCampus(data) {
  392. var campusID = $("#CampusDropdown").combogridX("getValue");
  393. var jsonString = "({'QueryParamsDatas':'CampusDropdown|*|" + campusID + "|@|'})";
  394. $("#CollegeDropdown").combogridX("reload", eval(jsonString));
  395. queryClass();
  396. }
  397. function queryCollege(data) {
  398. var campusID = $("#CampusDropdown").combogridX("getValue");
  399. var collegeID = $("#CollegeDropdown").combogridX("getValue");
  400. var jsonString = "({'QueryParamsDatas':'CampusDropdown|*|" + campusID + "|@|";
  401. jsonString += "CollegeDropdown|*|" + collegeID + "|@|'})";
  402. $("#CollegeDropdown").combogridX("reload", eval(jsonString));
  403. $("#DictionaryStandard").combogridX("reload", eval(jsonString));
  404. queryClass();
  405. }
  406. function queryGrade(data) {
  407. queryClass();
  408. }
  409. function queryStandard(data) {
  410. queryClass();
  411. }
  412. function queryLearnSystem(data) {
  413. queryClass();
  414. }
  415. function queryGrademajor(data) {
  416. queryClass();
  417. }
  418. function queryClass() {
  419. var jsonString = "";
  420. var parameterString = "";
  421. var campusID = $("#CampusDropdown").combogridX("getValue");
  422. var collegeID = $("#CollegeDropdown").combogridX("getValue");
  423. var gradeID = $("#DictionaryGrade").combogridX("getValue");
  424. var standardID = $("#DictionaryStandard").combogridX("getValue");
  425. var educationID = $("#DictionaryEducation").combogridX("getValue");
  426. var learningformID = $("#DictionaryLearningform").combogridX("getValue");
  427. var learnSystem = $("#DictionaryLearnSystem").combogridX("getValue");
  428. //var grademajorID = $("#GrademajorComboGrid").combogridX("getValue");
  429. if (campusID != nonSelect) parameterString += "CampusDropdown|*|" + campusID + "|@|";
  430. if (collegeID != nonSelect) parameterString += "CollegeDropdown|*|" + collegeID + "|@|";
  431. if (gradeID != nonSelect) parameterString += "DictionaryGrade|*|" + gradeID + "|@|";
  432. if (standardID != nonSelect) parameterString += "DictionaryStandard|*|" + standardID + "|@|";
  433. if (educationID != nonSelect) parameterString += "DictionaryEducation|*|" + educationID + "|@|";
  434. if (learningformID != nonSelect) parameterString += "DictionaryLearningform|*|" + learningformID + "|@|";
  435. if (learnSystem != nonSelect) parameterString += "DictionaryLearnSystem|*|" + learnSystem + "|@|";
  436. //if (grademajorID != nonSelect) parameterString += "GrademajorComboGrid|*|" + grademajorID + "|@|";
  437. if (parameterString != "") {
  438. jsonString = "({'QueryParamsDatas':'" + parameterString + "'})";
  439. $("#DictionaryStandard").combogridX("reload", eval(jsonString));
  440. //$("#GrademajorComboGrid").combogridX("reload", eval(jsonString));
  441. $("#ClassmajorComboGrid").combogridX("reload", eval(jsonString));
  442. }
  443. else {
  444. $("#DictionaryStandard").combogridX("reload");
  445. //$("#GrademajorComboGrid").combogridX("reload");
  446. $("#ClassmajorComboGrid").combogridX("reload");
  447. }
  448. reload();
  449. }
  450. function StudentCardReport() {
  451. var d = validChoose().join(',');
  452. if (d == "") {
  453. $.messager.alert("系统提示", "请选择您要打印学籍卡的学生信息。");
  454. return;
  455. }
  456. $.postWithLoading(CMS_SystemConfig.VirtualDirectoryPath + '/Students/StudentCardReport', { userIDList: d }, function (data) {
  457. if (data.IsSuccess) {
  458. var redirectTo = "../../Scripts/pdf.js/web/viewer.html?file=" + data.Message;
  459. $.popupTopWindow('学籍卡', redirectTo, 850, 480, reload);
  460. } else {
  461. $.messager.alert("系统提示", data);
  462. }
  463. });
  464. }