StudentChange.js 887 B

12345678910111213141516
  1. function StudentChange_Generate() {
  2. $.postWithLoading(CMS_SystemConfig.VirtualDirectoryPath + "/StudentChange/Generate?year=" + $("#YearDropdown").combobox('getValue'), null, reload);
  3. }
  4. function reload() {
  5. //报表名读配置
  6. var ReportName = $(CMS_SystemConfig.GetConfig()).find("configuration>reportServer>customReportName[name='HighBaseStudentChangeView']").attr("customName"); //$(CMS_SystemConfig.GetConfig()).find("configuration>reportServer>customReportName[name='DegreeEvaluation']").attr("customName");
  7. if (ReportName == null || ReportName == "")
  8. ReportName = "HighBaseStudentChangeView";
  9. var year = $("#YearDropdown").combobox('getValue');
  10. $("#reportContent").attr("src", CMS_SystemConfig.ReportPagePath + "?ReportFolder=%2fStudentManage%2f" + ReportName + "&Year_RAP=" + year);
  11. }
  12. $.parser.onComplete = function (context) {
  13. reload();
  14. }