ScoreReport.cshtml 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. @using Bowin.Web.Controls.Mvc;
  2. @using EMIS.Web.Controls;
  3. @{
  4. ViewBag.Title = "ScoreReport";
  5. }
  6. @section scripts{
  7. @*<script src="~/Scripts/Business/ScoreManage/ScoreReport.js" type="text/javascript"></script>*@
  8. <script type="text/javascript">
  9. var FinalExaminationID = location.search.split("&")[0].split("=")[1]; //从地址获取FinalExaminationID参数
  10. Report();
  11. function Report() {
  12. var i = document.getElementById("selReport").value;
  13. if (i == 1) {
  14. $("#reportContent").attr("src", CMS_SystemConfig.ReportPagePath + "?ReportFolder=%2fEducationResult%2fGZtyStudentsResultView&FinalExaminationID_RAP=" + FinalExaminationID);
  15. }
  16. else if (i == 2) {
  17. $("#reportContent").attr("src", CMS_SystemConfig.ReportPagePath + "?ReportFolder=%2fEducationResult%2fGZtyStudentsResultDivClassView&FinalExaminationID_RAP=" + FinalExaminationID);
  18. }
  19. else if (i == 3) {
  20. $("#reportContent").attr("src", CMS_SystemConfig.ReportPagePath + "?ReportFolder=%2fEducationResult%2fGZtyStudentsAnalysisView&FinalExaminationID_RAP=" + FinalExaminationID);
  21. }
  22. else if (i == 4) {
  23. $("#reportContent").attr("src", CMS_SystemConfig.ReportPagePath + "?ReportFolder=%2fEducationResult%2fGZtyStudentsAnalysisDivClassView&FinalExaminationID_RAP=" + FinalExaminationID);
  24. }
  25. }
  26. </script>
  27. }
  28. <div class="easyui-panel" data-options="border:false,fit:true" style="position: relative;">
  29. <select id="selReport" onchange="Report()">
  30. <option value="1" selected="selected">课程成绩-广体(网上录入)-合班</option>
  31. <option value="2">课程成绩-广体(网上录入)-行政班</option>
  32. <option value="3">课程成绩-广体(质量分析)-合班</option>
  33. <option value="4">课程成绩-广体(质量分析)-行政班</option>
  34. </select>
  35. <div class="search_list">
  36. <iframe id="reportContent" frameborder="0" scrolling="no" style="width: 99%; height: 92%; position: absolute;
  37. left: 5px;"></iframe>
  38. </div>
  39. </div>