1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465 |
- @using Bowin.Web.Controls.Mvc;
- @using EMIS.Entities;
- @using EMIS.Web.Controls;
- @{
- ViewBag.Title = "List";
- }
- @section scripts{
- <script src="~/Scripts/Business/ExaminationApply/OpenControl.js" type="text/javascript"></script>
- }
- <div class="easyui-panel" data-options="border:false,fit:true" style="position: relative;">
- @Html.Position()
- <form id="formQuery" method="post" action="@Url.Content("~/ExaminationOpenControl/Excel")">
- @Html.PositionCondition()
- <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("~/ExaminationType/DropdownList"), ID = "ExaminationTypeDropdown", Name = "ExaminationTypeDropdown", OnSelect = "queryExaminationSubject" }, new Dictionary<string, string> { { "data-condition", "dgOpenControlList" } })
- </li>
- <li class="sn" style="padding-left: 5px;">考试科目:</li>
- <li class="sv">
- @Html.DropdownList(new DropdownListOptions { BindType = DropdownListBindType.SelectAll, ItemSourceUrl = Url.Content("~/ExaminationSubject/DropdownList"), ID = "ExaminationSubjectDropdown", Name = "ExaminationSubjectDropdown", OnSelect = "reload", OnLoadSuccess = "reload" }, new Dictionary<string, string> { { "data-condition", "dgOpenControlList" } })
- </li>
- <li class="sn" style="padding-left: 5px;">年级数:</li>
- <li class="sv">
- @Html.DictionaryDropDownList(EMIS.ViewModel.DictionaryItem.CF_SchoolyearNum, new DropdownListOptions { BindType = DropdownListBindType.SelectAll, ID = "YearNumDropdown", Name = "YearNumDropdown", OnSelect = "reload" }, new Dictionary<string, string> { { "data-condition", "dgOpenControlList" } })
- </li>
- <li class="sn" style="padding-left: 5px;">学生类别:</li>
- <li class="sv">
- @Html.DictionaryDropDownList(EMIS.ViewModel.DictionaryItem.CF_STUDENTTYPE, new DropdownListOptions { BindType = DropdownListBindType.SelectAll, ID = "StudentTypeDropdown", Name = "StudentTypeDropdown", OnSelect = "reload" }, new Dictionary<string, string> { { "data-condition", "dgOpenControlList" } })
- </li>
- </ul>
- </div>
- </div>
- <div class="p_title">
- <div style="float: left; margin-left: 10px; line-height: 30px; font-size: 12px;">
- 开放控制列表
- </div>
- <div style="margin-right: 10px; line-height: 30px; font-size: 12px;">@Html.ContextMenuBar("List")</div>
- </div>
- </form>
- @Html.PositionBatchModify()
- <div class="search_list">
- @Html.DataGrid(new DataGridOptions
- {
- Columns = new List<DataGridColumn>()
- {
- new CheckBoxFieldColumn{ HeaderText="", FieldName="ExaminationOpenControlID"},
- new LinkButtonColumn { FieldName="ExaminationSubjectName", HeaderText="考试科目", Align=AlignStyle.Center , Handle="edit" },
- new BoundFieldColumn { FieldName="StudentTypeDesc", HeaderText="学生类别", Align=AlignStyle.Center },
- new BoundFieldColumn { FieldName="SchoolyearNumName", HeaderText="年级数", Align=AlignStyle.Center },
- new BoundFieldColumn { FieldName="StartDate", HeaderText="报名时间起", Formatter = Formatter.OnlyYearMonthDay, Align=AlignStyle.Center },
- new BoundFieldColumn { FieldName="EndDate", HeaderText="报名时间止", Formatter = Formatter.OnlyYearMonthDay, Align=AlignStyle.Center },
- new BoundFieldColumn { FieldName="PeopleNumLimit", HeaderText="限定人数", Align=AlignStyle.Center }
- },
- IsCheckOnSelect = true,
- DataSourceUrl = Url.Content("~/ExaminationOpenControl/List"),
- ID = "dgOpenControlList",
- IsPagination = true,
- IsShowRowNumbers = true,
- IsSingleSelect = false
- })
- </div>
- </div>
|