123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- @using Bowin.Web.Controls.Mvc;
- @using EMIS.Web.Controls;
- @{
- ViewBag.Title = "StudentScoreReport";
- }
- @section scripts{
- <script type="text/javascript">
- var classmajorID, inSchoolStatus;
- 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 "ClassmajorID":
- classmajorID = arr[i].split("=")[1];
- break;
- case "InSchoolStatus":
- inSchoolStatus = arr[i].split("=")[1];
- break;
-
- }
- }
- }
- classmajorID = classmajorID == "" ? "=" : "=" + classmajorID;
- inSchoolStatus = inSchoolStatus == "" ? "=" : "=" + inSchoolStatus;
- Report();
- function Report() {
- var str = CMS_SystemConfig.ReportPagePath + "?ReportFolder=%2fEducationResult%2fSpecialityScoreSumView&ClassmajorID_RAP" + classmajorID
- + "&InSchoolStatus_RAP" + inSchoolStatus
- + "&rc:Parameters=false&CollegeID_RAP=&Years_RAP=&GrademajorID_RAP=&LoginID_RAP=&Condition_RAP=&UserName_RAP=&ClassName_RAP=";
-
- $("#reportContent").attr("src", str);
- }
- </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>
|