1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859 |
- @using Bowin.Web.Controls.Mvc;
- @using EMIS.Web.Controls;
- @{
- ViewBag.Title = "List";
- }
- @section scripts{
- <script src="../../Scripts/Business/RetakeManage/RetakeOpenControl.js" type="text/javascript"></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" action="@Url.Content("~/RetakeOpenControl/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()
- {
- ID = "ddlSchoolYear",
- Name = "ddlSchoolYear",
- BindType = DropdownListBindType.SelectAll,
- ItemSourceUrl = Url.Content("~/SchoolYear/DropDown"),
- OnSelect = "reload"
- }, new Dictionary<string, string> { { "data-condition", "dgOpenControlList" } })
- </li>
- </ul>
- </div>
- </div>
- </form>
- <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>
- <div class="search_list">
- @Html.DataGrid(new DataGridOptions
- {
- Columns = new List<DataGridColumn>()
- {
- new CheckBoxFieldColumn{ HeaderText="", FieldName="RetakeOpenControlID" },
- new BoundFieldColumn { FieldName="SchoolyearCode", HeaderText="重修学年学期", Align=AlignStyle.Center, Width=0.1 },
- new BoundFieldColumn { FieldName="StartDate", HeaderText="开始时间", Align=AlignStyle.Center, Formatter = Formatter.LongDate, Width=0.04 },
- new BoundFieldColumn { FieldName="EndDate", HeaderText="结束时间", Align=AlignStyle.Center, Formatter = Formatter.LongDate, Width=0.04 }
- },
- IsCheckOnSelect = true,
- DataSourceUrl = Url.Content("~/RetakeOpenControl/List"),
- ID = "dgOpenControlList",
- IsPagination = true,
- IsShowRowNumbers = true,
- IsSingleSelect = false
- })
- </div>
- </div>
|