123456789101112131415161718192021222324252627282930313233343536 |
- var IDs, CollegeID, SupervisionType, StarDate, EndDate, ConditionString, SchoolyearID;
- $.parser.onComplete = function (context) {
- var jsonString = "";
- var parameterString = "";
- var windowID = $.SystemGeneral.getUrlParam("WindowID");
- reportParameter = top.$('#' + windowID).data("inputData");
- CollegeID = reportParameter.CollegeID;
- StarDate = reportParameter.StarDate;
- EndDate = reportParameter.EndDate;
- SupervisionType = reportParameter.SupervisionType;
- IDs = reportParameter.Ids;
- SchoolyearID = reportParameter.SchoolyearID;
- ConditionString = " and " + reportParameter.ConditionString;
- if (CollegeID == nonSelect || CollegeID == "") CollegeID = null;
- if (SupervisionType == nonSelect || SupervisionType == "") SupervisionType = null;
- if (StarDate == nonSelect || StarDate == "") StarDate = null;
- if (EndDate == nonSelect || EndDate == "") EndDate = null;
- if (IDs == nonSelect || IDs == ",") IDs = null;
- if (SchoolyearID == nonSelect || SchoolyearID == "") SchoolyearID = null;
- Report();
- }
- function Report() {
- top.ReportParameter = {
- CollegeID: CollegeID,
- SupervisionType: SupervisionType,
- SchoolyearID: SchoolyearID,
- StarDate: StarDate,
- EndDate:EndDate,
- ConditionString: ConditionString,
- UserID: UserID,
- IDs:IDs,
- DataRange: DataRange
- };
- var str = CMS_SystemConfig.VirtualDirectoryPath + CMS_SystemConfig.ScriptReportPagePath + "?ReportFolder=%2fSUPManage%2fSupEvaluation";
- $("#reportContent").attr("src", str);
- }
|