123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354 |
- @using Bowin.Web.Controls.Mvc;
- @using EMIS.Entities;
- @using EMIS.Web.Controls;
- @{
- ViewBag.Title = "List";
- }
- @section scripts{
- <script src="~/Scripts/Business/ExaminationApply/ExaminationSubject.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("~/ExaminationSubject/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 = "reload" }, new Dictionary<string, string> { { "data-condition", "dgExaminationSubjectList" } })
- </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="ExaminationSubjectID"},
- new LinkButtonColumn { FieldName="Name", HeaderText="考试科目", Align=AlignStyle.Center , Handle="edit" },
- new BoundFieldColumn { FieldName="ExaminationDate", HeaderText="考试日期", Formatter= Formatter.CHSOnlyYearMonthDay, Align=AlignStyle.Center },
- new BoundFieldColumn { FieldName="ExaminationTypeName", HeaderText="考试类型", Align=AlignStyle.Center },
- new BoundFieldColumn { FieldName="ExaminationFormName", HeaderText="考试类别", Align=AlignStyle.Center },
- new BoundFieldColumn { FieldName="ExaminationTypeID", HeaderText="考试类型", Align=AlignStyle.Center, IsHidden=true },
- new BoundFieldColumn { FieldName="ExaminationFormID", HeaderText="考试类别", Align=AlignStyle.Center, IsHidden=true },
- //new BoundFieldColumn { FieldName="PeopleNumLimit", HeaderText="最大报名人数", Align=AlignStyle.Center },
- new BoundFieldColumn { FieldName="SchoolyearCode", HeaderText="考试学年学期", Align=AlignStyle.Center }
- },
- IsCheckOnSelect = true,
- DataSourceUrl = Url.Content("~/ExaminationSubject/List"),
- ID = "dgExaminationSubjectList",
- IsPagination = true,
- IsShowRowNumbers = true,
- IsSingleSelect = false
- })
- </div>
- </div>
|