123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596 |
- @using Bowin.Web.Controls.Mvc;
- @using EMIS.Web.Controls;
- @{
- ViewBag.Title = "StudentScoreReport";
- }
- @section scripts{
- <script type="text/javascript">
- var LoginID = "";
- var UserID;
- 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 "LoginID":
- LoginID = arr[i].split("=")[1];
- break;
- case "UserID":
- UserID = arr[i].split("=")[1];
- break;
- }
- }
- }
- Report();
- // function Report() {
- // var str = CMS_SystemConfig.ReportPagePath + "?ReportFolder=%2fEducationResult%2fPersonalStudentScoreView&LoginID_RAP=" + LoginID
- // + "&UserID_RAP=" + UserID
- // + "&CollegeID_RAP=" + "&StandardID_RAP=" + "&YearID_RAP="
- // + "&SchoolyearNumID_RAP=" + "&SchoolcodeID_RAP=" + "&ClassmajorID_RAP=";
- // $("#reportContent").attr("src", str);
- // }
- function Report() {
- var i = document.getElementById("selReport").value;
- if (i == 1) {
- var str = CMS_SystemConfig.ReportPagePath + "?ReportFolder=%2fEducationResult%2fGZtyPersonalStudentScoreView&LoginID_RAP=" + LoginID
- + "&UserID_RAP=" + UserID
- + "&CollegeID_RAP=" + "&StandardID_RAP=" + "&YearID_RAP="
- + "&SchoolyearNumID_RAP=" + "&SchoolcodeID_RAP=" + "&ClassmajorID_RAP=";
- $("#reportContent").attr("src", str);
- }
- else if (i == 2) {
- var str = CMS_SystemConfig.ReportPagePath + "?ReportFolder=%2fEducationResult%2fGZtyPersonalStudentScoreNoHonestMessageView&LoginID_RAP=" + LoginID
- + "&UserID_RAP=" + UserID
- + "&CollegeID_RAP=" + "&StandardID_RAP=" + "&YearID_RAP="
- + "&SchoolyearNumID_RAP=" + "&SchoolcodeID_RAP=" + "&ClassmajorID_RAP=";
- $("#reportContent").attr("src", str);
- }
- else if (i == 3) {
- var str = CMS_SystemConfig.ReportPagePath + "?ReportFolder=%2fEducationResult%2fGztyPersonalStudentScoreOptionalView&LoginID_RAP=" + LoginID
- + "&UserID_RAP=" + UserID
- + "&CollegeID_RAP=" + "&StandardID_RAP=" + "&YearID_RAP="
- + "&SchoolyearNumID_RAP=" + "&SchoolcodeID_RAP=" + "&ClassmajorID_RAP=";
- $("#reportContent").attr("src", str);
- }
- else if (i == 4) {
- var str = CMS_SystemConfig.ReportPagePath + "?ReportFolder=%2fEducationResult%2fGztyPersonalStudentScoreNoHonestMessageOptionalView&LoginID_RAP=" + LoginID
- + "&UserID_RAP=" + UserID
- + "&CollegeID_RAP=" + "&StandardID_RAP=" + "&YearID_RAP="
- + "&SchoolyearNumID_RAP=" + "&SchoolcodeID_RAP=" + "&ClassmajorID_RAP=";
- $("#reportContent").attr("src", str);
- }
- else if (i == 5) {
- var str = CMS_SystemConfig.ReportPagePath + "?ReportFolder=%2fEducationResult%2fGZtyPersonalStudentScorePassView&LoginID_RAP=" + LoginID
- + "&UserID_RAP=" + UserID
- + "&CollegeID_RAP=" + "&StandardID_RAP=" + "&YearID_RAP="
- + "&SchoolyearNumID_RAP=" + "&SchoolcodeID_RAP=" + "&ClassmajorID_RAP=";
- $("#reportContent").attr("src", str);
- }
- else if (i == 6) {
- var str = CMS_SystemConfig.ReportPagePath + "?ReportFolder=%2fEducationResult%2fGztyPersonalStudentScoreNoHonestMessagePassView&LoginID_RAP=" + LoginID
- + "&UserID_RAP=" + UserID
- + "&CollegeID_RAP=" + "&StandardID_RAP=" + "&YearID_RAP="
- + "&SchoolyearNumID_RAP=" + "&SchoolcodeID_RAP=" + "&ClassmajorID_RAP=";
- $("#reportContent").attr("src", str);
- }
- }
- </script>
- }
- <div class="easyui-panel" data-options="border:false,fit:true" style="position: relative;">
- <select id="selReport" onchange="Report()">
- <option value="1" selected="selected">存档成绩A4_全部_广体</option>
- <option value="2">存档成绩A4_全部无诚信值_广体</option>
- <option value="3">存档成绩A4_限选任选校本及格_广体</option>
- <option value="4">存档成绩A4_限选任选校本及格无诚信值_广体</option>
- <option value="5">存档成绩A4_所有及格成绩_广体</option>
- <option value="6">存档成绩A4_所有及格成绩无诚信值_广体</option>
- </select>
- <div class="search_list">
- <iframe id="reportContent" frameborder="0" scrolling="no" style="width: 99%; height: 95%; position: absolute;
- left: 5px;"></iframe>
- </div>
- </div>
|