1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- @using Bowin.Web.Controls.Mvc;
- @using EMIS.Web.Controls;
- @{
- ViewBag.Title = "ClassStudentStatisticsReport";
- }
- @section scripts{
- <script type="text/javascript">
- var schoolYearID, examinationSubjectID;
- var str = decodeURI(location.href);
- var num = str.indexOf("?");
- if (num != -1) {
- str = str.substr(num + 1); //取得所有参数
- //各个参数放到数组里
- var arr = str.split("&");
- for (var i = 0; i < arr.length; i++) {
- switch (arr[i].split("=")[0]) {
- case "SchoolYearID":
- schoolYearID = arr[i].split("=")[1];
- break;
- case "ExaminationSubjectID":
- examinationSubjectID = arr[i].split("=")[1];
- break;
- }
- }
- }
- schoolYearID = schoolYearID == "" || schoolYearID==-1 ? "=" : "=" + schoolYearID;
- examinationSubjectID = examinationSubjectID == "" || examinationSubjectID== - 1 ? "=" : "=" + examinationSubjectID;
-
- Report();
- function Report() {
- $("#reportContent").attr("src", CMS_SystemConfig.ReportPagePath + "?ReportFolder=%2fExaminationManage%2fExaminationClassStudentStatisticsView&SchoolyearID_RAP"
- + schoolYearID + "&ExaminationSubjectID_RAP" + examinationSubjectID);
- }
- </script>
- }
- <div class="easyui-panel" data-options="border:false,fit:true" style="position: relative;">
-
- <div class="search_list">
- <iframe id="reportContent" frameborder="0" scrolling="no" style="width: 99%; height: 95%; position: absolute;
- left: 5px;"></iframe>
- </div>
- </div>
|