12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485 |
- var CampusID, CollegeID, GradeID, StandardID, EducationID, LearningformID, LearnSystem, ClassmajorID, SchoolyearID, ChangeTypeID, InSchoolStatus,
- ApprovalStatus, StudentChangeIDs, ConditionString, StudentChangeApplyReportName, LoginUserID, DataRangeID, UniversityName, Url, isWindowCanClose = false;
- $.parser.onComplete = function (context) {
- var windowID = $.SystemGeneral.getUrlParam("WindowID");
- var reportParameter = top.$('#' + windowID).data("inputData");
- StudentChangeIDs = reportParameter.StudentChangeIDs;
- if (StudentChangeIDs == "" || StudentChangeIDs == null) {
- CampusID = reportParameter.CampusID;
- CollegeID = reportParameter.CollegeID;
- GradeID = reportParameter.GradeID;
- StandardID = reportParameter.StandardID;
- EducationID = reportParameter.EducationID;
- LearningformID = reportParameter.LearningformID;
- LearnSystem = reportParameter.LearnSystem;
- ClassmajorID = reportParameter.ClassmajorID;
- SchoolyearID = reportParameter.SchoolyearID;
- ChangeTypeID = reportParameter.ChangeTypeID;
- InSchoolStatus = reportParameter.InSchoolStatus;
- ApprovalStatus = reportParameter.ApprovalStatus;
- ConditionString = reportParameter.ConditionString;
- } else {
- CampusID = null;
- CollegeID = null;
- GradeID = null;
- StandardID = null;
- EducationID = null;
- LearningformID = null;
- LearnSystem = null;
- ClassmajorID = null;
- SchoolyearID = null;
- ChangeTypeID = null;
- InSchoolStatus = null;
- ApprovalStatus = null;
- ConditionString = null;
- }
- StudentChangeApplyReportName = reportParameter.StudentChangeApplyReportName;
- LoginUserID = loginUserID;
- DataRangeID = dataRangeID;
- UniversityName = universityName;
- 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 (ClassmajorID == nonSelect || ClassmajorID == "") ClassmajorID = null;
- if (SchoolyearID == nonSelect || SchoolyearID == "") SchoolyearID = null;
- if (ChangeTypeID == nonSelect || ChangeTypeID == "") ChangeTypeID = null;
- if (InSchoolStatus == nonSelect || InSchoolStatus == "") InSchoolStatus = null;
- if (ApprovalStatus == nonSelect || ApprovalStatus == "") ApprovalStatus = null;
- if (ConditionString == nonSelect || ConditionString == "") ConditionString = null;
- if (StudentChangeApplyReportName == "" || StudentChangeApplyReportName == null) StudentChangeApplyReportName = "DefaultStudentChangeApply";
- ChangeApplyReport();
- }
- function ChangeApplyReport() {
- top.ReportParameter = {
- CampusID: CampusID,
- CollegeID: CollegeID,
- GradeID: GradeID,
- StandardID: StandardID,
- EducationID: EducationID,
- LearningformID: LearningformID,
- LearnSystem: LearnSystem,
- ClassmajorID: ClassmajorID,
- SchoolyearID: SchoolyearID,
- ChangeTypeID: ChangeTypeID,
- InSchoolStatus: InSchoolStatus,
- ApprovalStatus: ApprovalStatus,
- StudentChangeIDs: StudentChangeIDs,
- ConditionString: ConditionString,
- LoginUserID: LoginUserID,
- DataRangeID: DataRangeID,
- UniversityName: UniversityName,
- Url: Url
- };
- var str = CMS_SystemConfig.VirtualDirectoryPath + CMS_SystemConfig.ScriptReportPagePath + "?ReportFolder=%2fStudentManage%2fStudentChange%2f" + StudentChangeApplyReportName;
- $("#reportContent").attr("src", str);
- isWindowCanClose = true;
- }
|