123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263 |
- @using Bowin.Web.Controls.Mvc;
- @using EMIS.Web.Controls;
- @{
- ViewBag.Title = "Report";
- var status = ViewBag.Status;
- string LoginUserID = ViewBag.UserID;
- var DataRange = ViewBag.DataRange;
- }
- @section scripts{
- <script type="text/javascript">
- var curWwwPath = window.document.location.href;
- var pathName = window.document.location.pathname;
- var pos = curWwwPath.indexOf(pathName);
- var localhostPaht = curWwwPath.substring(0, pos) + "/";
- var LoginUserID = '@LoginUserID';
- var DataRange = '@DataRange';
- var SchoolName = '@EMIS.Utility.RSL.Get("UniversityName")';
- var endStatusID = "@BaseExtensions.GetEndFlowStatus("CF_DifferentDynamic")";
- function Report() {//学籍卡
- var ApprovalStatus = endStatusID;
- if(ApprovalStatus=="") {
- ApprovalStatus = "99";
- }
- //学籍卡报表如果没有配置高校的特定版本,就用通用的StudentCardView
- var StudentCardName = $(CMS_SystemConfig.GetConfig()).find("configuration>reportServer>customReportName[name='StudentCardView']").attr("customName");
- StudentCardName = StudentCardName == "" || StudentCardName == null ? "StudentCardView" : StudentCardName;
- top.ReportParameter = {
- CampusID: null,
- CollegeID: null,
- Years: null,
- StandardID: null,
- LearningformID: null,
- ClassID: null,
- InSchoolStatusID: null,
- StudentStatus: null,
- isPhotos: null,
- LoginID: null,
- Url: localhostPaht,
- ApprovalStatus:ApprovalStatus,
- LoginUserID:LoginUserID,
- DataRange: DataRange,
- ConditionString: null,
- UserIDs: LoginUserID,
- ReportStatusID: null,
- SchoolName: SchoolName,
- Education: null,
- LearnSystem:null
- };
- var str = CMS_SystemConfig.VirtualDirectoryPath + CMS_SystemConfig.ScriptReportPagePath + "?ReportFolder=%2fStudentManage%2f" + StudentCardName;
- $("#reportContent").attr("src", str);
- }
- $(function () {
- Report();
- });
- </script>
- }
- @Html.DictionaryDropDownList(EMIS.ViewModel.DictionaryItem.CF_StudentsReport, new DropdownListOptions { BindType = DropdownListBindType.PleaseSelect, ID = "selReport", Name = "selReport", OnSelect = "Report", SelectedValue = 2 })
- <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>
|