123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102 |
- var CampusID, CollegeID, GradeID, StandardID, EducationID, LearningformID, LearnSystem, ClassmajorID, IsPhoto, ReportStatus, PlanningGraduateDate,
- InSchoolStatus, UserIDs, ApproveEndStatusID, UniversityName, ConditionString, StudentCradReportName, LoginUserID, DataRangeID, Url, isWindowCanClose = false;
- $.parser.onComplete = function (context) {
- var windowID = $.SystemGeneral.getUrlParam("WindowID");
- var reportParameter = top.$('#' + windowID).data("inputData");
- UserIDs = reportParameter.UserIDs;
- if (UserIDs == "" || UserIDs == 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;
- IsPhoto = reportParameter.IsPhoto;
- ReportStatus = reportParameter.ReportStatus;
- PlanningGraduateDate = reportParameter.PlanningGraduateDate;
- InSchoolStatus = reportParameter.InSchoolStatus;
- ConditionString = reportParameter.ConditionString;
- } else {
- CampusID = null;
- CollegeID = null;
- GradeID = null;
- StandardID = null;
- EducationID = null;
- LearningformID = null;
- LearnSystem = null;
- ClassmajorID = null;
- IsPhoto = null;
- ReportStatus = null;
- PlanningGraduateDate = null;
- InSchoolStatus = null;
- ConditionString = null;
- }
- StudentCradReportName = reportParameter.StudentCradReportName;
- ApproveEndStatusID = approveEndStatusID;
- UniversityName = universityName;
- 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 (ClassmajorID == nonSelect || ClassmajorID == "") ClassmajorID = null;
- if (IsPhoto == nonSelect || IsPhoto == "") IsPhoto = null;
- if (ReportStatus == nonSelect || ReportStatus == "") ReportStatus = null;
- if (PlanningGraduateDate == nonSelect || PlanningGraduateDate == "") PlanningGraduateDate = null;
- if (InSchoolStatus == nonSelect || InSchoolStatus == "") InSchoolStatus = null;
- if (ConditionString == nonSelect || ConditionString == "") ConditionString = null;
- if (StudentCradReportName == "" || StudentCradReportName == null) StudentCradReportName = "DefaultStudentCard";
- StudentCradReport();
- }
- function StudentCradReport() {
- top.ReportParameter = {
- CampusID: CampusID,
- CollegeID: CollegeID,
- GradeID: GradeID,
- StandardID: StandardID,
- EducationID: EducationID,
- LearningformID: LearningformID,
- LearnSystem: LearnSystem,
- ClassmajorID: ClassmajorID,
- IsPhoto: IsPhoto,
- ReportStatus: ReportStatus,
- PlanningGraduateDate: PlanningGraduateDate,
- InSchoolStatus: InSchoolStatus,
- UserIDs: UserIDs,
- ConditionString: ConditionString,
- LoginUserID: LoginUserID,
- DataRangeID: DataRangeID,
- ApproveEndStatusID: ApproveEndStatusID,
- UniversityName: UniversityName,
- Url: Url
- };
- var studentCradReportID = $("#DictionaryStudentCradReport").combobox("getValue");
- if (studentCradReportID == card) {
- var str = CMS_SystemConfig.VirtualDirectoryPath + CMS_SystemConfig.ScriptReportPagePath + "?ReportFolder=%2fStudentManage%2fStudentProfile%2f" + StudentCradReportName;
- $("#reportContent").attr("src", str);
- } else if (studentCradReportID == classStudent) {
- var str = CMS_SystemConfig.VirtualDirectoryPath + CMS_SystemConfig.ScriptReportPagePath + "?ReportFolder=%2fStudentManage%2fStudentProfile%2f" + "DefaultClassStudent";
- $("#reportContent").attr("src", str);
- } else if (studentCradReportID == admissionNo) {
- var str = CMS_SystemConfig.VirtualDirectoryPath + CMS_SystemConfig.ScriptReportPagePath + "?ReportFolder=%2fStudentManage%2fStudentProfile%2f" + "DefaultAdmissionNo";
- $("#reportContent").attr("src", str);
- } else if (studentCradReportID == admissionNoBack) {
- var str = CMS_SystemConfig.VirtualDirectoryPath + CMS_SystemConfig.ScriptReportPagePath + "?ReportFolder=%2fStudentManage%2fStudentProfile%2f" + "DefaultAdmissionNoBack";
- $("#reportContent").attr("src", str);
- } else {
- var str = "";
- $("#reportContent").attr("src", str);
- }
- }
|