123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384 |
- var CampusID, CollegeID, GradeID, StandardID, EducationID, LearningformID, LearnSystem, GrademajorID, ClassmajorID,
- IsDoubt, IsStudentNo, RecordStatus, NewStudentIDs, ConditionString, LoginUserID, DataRangeID, Url, isWindowCanClose = false;
- $.parser.onComplete = function (context) {
- var windowID = $.SystemGeneral.getUrlParam("WindowID");
- var reportParameter = top.$('#' + windowID).data("inputData");
- NewStudentIDs = reportParameter.NewStudentIDs;
- if (NewStudentIDs == "" || NewStudentIDs == null) {
- CampusID = reportParameter.CampusID;
- CollegeID = reportParameter.CollegeID;
- GradeID = reportParameter.GradeID;
- StandardID = reportParameter.StandardID;
- EducationID = reportParameter.EducationID;
- LearningformID = reportParameter.LearningformID;
- LearnSystem = reportParameter.LearnSystem;
- GrademajorID = reportParameter.GrademajorID
- ClassmajorID = reportParameter.ClassmajorID;
- IsDoubt = reportParameter.IsDoubt;
- IsStudentNo = reportParameter.IsStudentNo;
- RecordStatus = reportParameter.RecordStatus;
- ConditionString = reportParameter.ConditionString;
- } else {
- CampusID = null;
- CollegeID = null;
- GradeID = null;
- StandardID = null;
- EducationID = null;
- LearningformID = null;
- LearnSystem = null;
- GrademajorID = null;
- ClassmajorID = null;
- IsDoubt = null;
- IsStudentNo = null;
- RecordStatus = null;
- ConditionString = null;
- }
- LoginUserID = loginUserID;
- DataRangeID = dataRangeID;
- Url = localhostPaht;
- if (CampusID == nonSelect || CampusID == "") CampusID = null;
- if (CollegeID == nonSelect || CollegeID == "") CollegeID = null;
- if (GradeID == nonSelect || GradeID == "") GradeID = null;
- if (StandardID == nonSelect || StandardID == "") StandardID = null;
- if (EducationID == nonSelect || EducationID == "") EducationID = null;
- if (LearningformID == nonSelect || LearningformID == "") LearningformID = null;
- if (LearnSystem == nonSelect || LearnSystem == "") LearnSystem = null;
- if (GrademajorID == nonSelect || GrademajorID == "") GrademajorID = null;
- if (ClassmajorID == nonSelect || ClassmajorID == "") ClassmajorID = null;
- if (IsDoubt == nonSelect || IsDoubt == "") IsDoubt = null;
- if (IsStudentNo == nonSelect || IsStudentNo == "") IsStudentNo = null;
- if (RecordStatus == nonSelect || RecordStatus == "") RecordStatus = null;
- if (ConditionString == nonSelect || ConditionString == "") ConditionString = null;
- AdmissionLetterReport();
- }
- function AdmissionLetterReport() {
- top.ReportParameter = {
- CampusID: CampusID,
- CollegeID: CollegeID,
- GradeID: GradeID,
- StandardID: StandardID,
- EducationID: EducationID,
- LearningformID: LearningformID,
- LearnSystem: LearnSystem,
- GrademajorID: GrademajorID,
- ClassmajorID: ClassmajorID,
- IsDoubt: IsDoubt,
- IsStudentNo: IsStudentNo,
- RecordStatus: RecordStatus,
- NewStudentIDs: NewStudentIDs,
- ConditionString: ConditionString,
- LoginUserID: LoginUserID,
- DataRangeID: DataRangeID
- };
- var admissionLetterReportName = $(CMS_SystemConfig.GetConfig()).find("configuration>reportServer>customReportName[name='AdmissionLetterReport']").attr("customName");
- if (admissionLetterReportName == "HBGDAdmissionLetter") {
- var str = CMS_SystemConfig.VirtualDirectoryPath + CMS_SystemConfig.ScriptReportPagePath + "?ReportFolder=%2fEnrollManage%2fNewStudent%2f" + admissionLetterReportName;
- $("#reportContent").attr("src", str);
- } else {
- $.messager.alert("系统提示", "录取通知书报表打印失败,原因:未提供相应的录取通知书打印报表信息。");
- }
- isWindowCanClose = true;
- }
|