123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081 |
- @using Bowin.Web.Controls.Mvc;
- @using EMIS.Web.Controls;
- @{
- ViewBag.Title = "ClassmajorReport";
- var status = ViewBag.Status;
- string LoginUserID = ViewBag.UserID;
- var DataRange = ViewBag.DataRange;
-
- ComboGridOptions cgopStandard = new ComboGridOptions
- {
- TextField = "StandardName",
- ValueField = "StandardID",
- OnSelect = "reload",
- Name = "DictionaryStandard",
- ID = "DictionaryStandard",
- GridOptions = new DataGridOptions
- {
- Columns = new List<DataGridColumn>()
- {
- new BoundFieldColumn { FieldName="StandardName", HeaderText="专业名称", Align=AlignStyle.Center }
- },
- IsCheckOnSelect = true,
- DataSourceUrl = Url.Content("~/Grademajor/StandardBindComboGridOptions"),
- IsPagination = true,
- IsShowRowNumbers = true,
- IsSingleSelect = false,
- IsShowHeader = false
- }
- };
- ListControlOptions course = new ListControlOptions
- {
- Name = "StatusID",
- TextField = "Name",
- ValueField = "Value",
- ColumnCount = 10,
- SelectedValueUrl = @Url.Content("~/EducationMissionClass/GetEducationMissionClassStatus"),
- //SelectedValues =
- };
- }
- @section scripts{
-
- <script type="text/javascript">
- var nonSelect = "@DropdownList.SELECT_ALL";
- var status = '@status';
- var LoginUserID = '@LoginUserID';
- var DataRange = '@DataRange';
- function reload() {
- var schoolYearID = $("#SchoolYearDropdown").combobox("getValue");
- if (schoolYearID != nonSelect) {
- $("#reportContent").attr("src", CMS_SystemConfig.ReportPagePath + "?ReportFolder=%2fEducationResult%2fStudentGraduationCountView&SchoolyearID_RAP=" + schoolYearID + "&DataRange_RAP=" + DataRange + "&LoginUserID_RAP=" + LoginUserID);
- }
- }
- </script>
- }
- <div class="easyui-panel" data-options="border:false,fit:true" style="position: relative;">
- @Html.Position()
- <div class="p_SearchTitle">
- <div style="float: left; margin-left: 10px; font-size: 12px; line-height: 30px;">
- 查询条件
- </div>
- </div>
- <form id="formQuery" method="post">
- <div class="search_keyword">
- <div class="search_input">
- <ul>
- <li class="sn" style="padding-left: 5px;">学年学期:</li>
- <li class="sv">
- @Html.DropdownList(new DropdownListOptions { BindType = DropdownListBindType.None, ItemSourceUrl = Url.Content("~/SchoolYear/DropDown"), SelectedValue = @ViewBag.SchoolYearID, ID = "SchoolYearDropdown", Name = "SchoolYearDropdown", OnSelect = "reload" })
- </li>
- <li class="sn" style="padding-right: 10px; float: left;"><a class="easyui-linkbutton l-btn"
- onclick="reload();" href="javascript:void(0)" data-options="iconCls:'icon-search'">
- 预览 </a></li>
- </ul>
- </div>
- </div>
- </form>
- <div class="search_list">
- <iframe id="reportContent" frameborder="0" scrolling="no" style="width: 99%; height: 85%; position: absolute; left: 5px;"></iframe>
- </div>
- </div>
|