123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162 |
- @using Bowin.Web.Controls.Mvc;
- @using EMIS.Web.Controls;
- @{
- ViewBag.Title = "Report";
- ComboGridOptions cgop = new ComboGridOptions
- {
- TextField = "Name",
- ValueField = "CollegeID",
- Name = "CollegeComboGrid",
- ID = "CollegeComboGrid",
- OnSelect = "queryCollege",
- GridOptions = new DataGridOptions
- {
- Columns = new List<DataGridColumn>()
- {
- // new LinkButtonColumn { FieldName="No", HeaderText=@EMIS.Utility.RSL.Get("CollegeCode"), Align=AlignStyle.Center },
- new BoundFieldColumn { FieldName="Name", HeaderText=@EMIS.Utility.RSL.Get("CollegeName"), Align=AlignStyle.Center }
- },
- IsCheckOnSelect = true,
- DataSourceUrl = Url.Content("~/College/ListOnlyCollege"),
- IsPagination = true,
- IsShowRowNumbers = true,
- IsSingleSelect = false
- }
- };
- ComboGridOptions ExaminationSubject = new ComboGridOptions
- {
- TextField = "Name",
- ValueField = "ExaminationSubjectID",
- Name = "ExaminationSubjectDropdown",
- ID = "ExaminationSubjectDropdown",
- SelectedIndex = 1,
- GridOptions = new DataGridOptions
- {
- Columns = new List<DataGridColumn>()
- {
- ///new LinkButtonColumn { FieldName="SchoolyearCode", HeaderText="学年学期", Width=0.1, Align=AlignStyle.Center },
- new BoundFieldColumn { FieldName="ExaminationTypeName", HeaderText="考试类型", Width=0.1, Align=AlignStyle.Center },
- new BoundFieldColumn { FieldName="ExaminationFormName", HeaderText="考试类别", Width=0.1, Align=AlignStyle.Center },
- new BoundFieldColumn { FieldName="Name", HeaderText="科目名称", Width=0.1, Align=AlignStyle.Center }
- },
- IsCheckOnSelect = true,
- DataSourceUrl = Url.Content("~/ExaminationSubject/List"),
- IsPagination = true,
- IsShowRowNumbers = true,
- IsSingleSelect = false,
- }
- };
- ComboGridOptions cgopStandard = new ComboGridOptions
- {
- TextField = "StandardName",
- ValueField = "StandardID",
- OnSelect = "queryStandard",
- 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,
- }
- };
- ComboGridOptions cgopLearnSystem = new ComboGridOptions
- {
- TextField = "LearnSystem",
- ValueField = "LearnSystem",
- OnSelect = "queryClass",
- Name = "DictionaryLearnSystem",
- ID = "DictionaryLearnSystem",
- GridOptions = new DataGridOptions
- {
- Columns = new List<DataGridColumn>()
- {
- new BoundFieldColumn { FieldName="LearnSystem", HeaderText="学制", Align=AlignStyle.Center }
- },
- IsCheckOnSelect = true,
- DataSourceUrl = Url.Content("~/Specialty/LearnSystem"),
- IsPagination = true,
- IsShowRowNumbers = true,
- IsSingleSelect = false,
- IsShowHeader = false
- }
- };
- }
- @section scripts{
- <script src="~/Scripts/Business/ScoreManage/LevelScoreRate.js"
- type="text/javascript"></script>
- <script type="text/javascript">
- var nonSelect = "@DropdownList.SELECT_ALL";
- </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.SelectAll, ItemSourceUrl = Url.Content("~/SchoolYear/YearsDropdownListBanid"), ID = "SchoolyearDropdown", Name = "SchoolyearDropdown", SelectedValue = BaseExtensions.GetCurrentSchoolYearID() })
- </li>
- <li class="sn" style="padding-left: 5px;">@EMIS.Utility.RSL.Get("College"):</li>
- <li class="sv">
- @Html.ComboGrid(cgop)
- </li>
- <li class="sn" style="padding-left: 5px;">年级:</li>
- <li class="sv">
- @Html.SchoolYearDropDownList(new DropdownListOptions { BindType = DropdownListBindType.SelectAll, ID = "DictionarySchoolyear", Name = "DictionarySchoolyear", OnSelect = "queryClass" })
- </li>
- <li class="sn" style="padding-left: 5px;">专业名称:</li>
- <li class="sv">
- @Html.ComboGrid(cgopStandard)
- </li>
- <li class="sv">@Html.Button(new ButtonOptions { OnClick = "Report_Search()", Icon = ButtonIcon.Search, Text = "查询" })</li>
- </ul>
- <ul>
- <li class="sn" style="padding-left: 5px;">@Html.RSLabel("EducationID"):</li>
- <li class="sv">
- @Html.DictionaryDropDownList(EMIS.ViewModel.DictionaryItem.CF_Education, new DropdownListOptions { ID = "DictionaryEducation", Name = "DictionaryEducation", BindType = DropdownListBindType.SelectAll, OnSelect = "queryClass" })
- </li>
- <li class="sn" style="padding-left: 5px;">学习形式:</li>
- <li class="sv">
- @Html.DictionaryDropDownList(EMIS.ViewModel.DictionaryItem.CF_Learningform, new DropdownListOptions { BindType = DropdownListBindType.SelectAll, ID = "LearningformDictionaryDropDown", Name = "LearningformDictionaryDropDown", SelectedValue = BaseExtensions.GetDefaultLearnformForList(), OnSelect = "queryClass" })
- </li>
- <li class="sn" style="padding-left: 5px;">学制:</li>
- <li class="sv">
- @Html.ComboGrid(cgopLearnSystem)
- </li>
- <li class="sn" style="padding-left: 5px;">在校状态:</li>
- <li class="sv">
- @Html.DictionaryDropDownList(EMIS.ViewModel.DictionaryItem.CF_InschoolStatus, new DropdownListOptions { BindType = DropdownListBindType.SelectAll, SelectedValue = 1, ID = "InSchoolStatusDictionaryDropDown", Name = "InSchoolStatusDictionaryDropDown" })
- </li>
- </ul>
- <ul>
- <li class="sn" style="padding-left: 5px;">考试科目:</li>
- <li class="sv">
- @Html.ComboGrid(ExaminationSubject)
- </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>
|