1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283 |
- @using Bowin.Web.Controls.Mvc;
- @using EMIS.Entities;
- @using EMIS.Web.Controls;
- @{
- ViewBag.Title = "List";
- }
- @section scripts{
- <script src="~/Scripts/Business/ExaminationApply/SubjectCountLimit.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("~/ExaminationSubjectCountLimit/Excel")">
- <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 = "reload" }, new Dictionary<string, string> { { "data-condition", "dgSubjectCountLimitList" } })
- </li>
- <li class="sn" style="padding-left: 5px;">院系专业:</li>
- <li class="sv">
- @Html.ComboGrid(new ComboGridOptions
- {
- TextField = "Name",
- ValueField = "FacultymajorID",
- OnSelect = "reload",
- ID = "FacultymajorDropdown",
- Name = "FacultymajorDropdown",
- GridOptions = new DataGridOptions
- {
- Columns = new List<DataGridColumn>()
- {
- new LinkButtonColumn { FieldName="Code", HeaderText="院系专业代码", Align=AlignStyle.Center },
- new BoundFieldColumn { FieldName="Name", HeaderText="院系专业名称", Align=AlignStyle.Center },
- new BoundFieldColumn { FieldName="CollegeName", HeaderText=@EMIS.Utility.RSL.Get("College"), Align=AlignStyle.Center },
- new BoundFieldColumn { FieldName="CampusName", HeaderText=@EMIS.Utility.RSL.Get("Campus"), Align=AlignStyle.Center }
- },
- IsCheckOnSelect = true,
- DataSourceUrl = Url.Content("~/Facultymajor/List"),
- IsPagination = true,
- IsShowRowNumbers = true,
- IsSingleSelect = false
- }
- }, new Dictionary<string, string> { { "data-condition", "dgSubjectCountLimitList" } })
- </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", "dgSubjectCountLimitList" } })
- </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="ExaminationSubjectCountLimitID"},
- new LinkButtonColumn { FieldName="ExaminationTypeName", HeaderText="考试类型", Align=AlignStyle.Center , Handle="edit" },
- new BoundFieldColumn { FieldName="FacultymajorName", HeaderText="院系专业", Align=AlignStyle.Center },
- new BoundFieldColumn { FieldName="FacultymajorID", HeaderText="院系专业", Align=AlignStyle.Center,IsHidden=true },
- new BoundFieldColumn { FieldName="SchoolyearNumName", HeaderText="年级数", Align=AlignStyle.Center },
- new BoundFieldColumn { FieldName="Years", HeaderText="年级数", Align=AlignStyle.Center,IsHidden=true },
- new BoundFieldColumn { FieldName="SubjectCountLimit", HeaderText="报名门数", Align=AlignStyle.Center }
- },
- IsCheckOnSelect = true,
- DataSourceUrl = Url.Content("~/ExaminationSubjectCountLimit/List"),
- ID = "dgSubjectCountLimitList",
- IsPagination = true,
- IsShowRowNumbers = true,
- IsSingleSelect = false
- })
- </div>
- </div>
|