1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374 |
- @using Bowin.Web.Controls.Mvc;
- @using EMIS.Web.Controls;
- @{
- ViewBag.Title = "List";
-
- }
- @section scripts{
- <script src="~/Scripts/Business/DegreeManage/DegreeSetting/DegreeOpenControl.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" action="@Url.Content("~/DegreeOpenControl/Excel")">
- @Html.PositionCondition()
- <div class="search_keyword">
- <div class="search_input">
- <ul>
- <li class="sn" style="padding-left: 5px;color:red;">毕业学期:</li>
- <li class="sv">
- @Html.DropdownList(new DropdownListOptions
- {
- ID = "GradSchoolyearDropdown",
- Name = "GradSchoolyearDropdown",
- BindType = DropdownListBindType.SelectAll,
- ItemSourceUrl = Url.Content("~/SchoolYear/YearsDropdownListBanid"),
- OnSelect = "reload"
- },
- new Dictionary<string, string> { { "data-condition", "dgDegreeOpenControlList" } })
- </li>
- <li class="sn" style="padding-left: 5px;color: red;">学位批次:</li>
- <li class="sv">
- @Html.DictionaryComboGrid(EMIS.ViewModel.DictionaryItem.ER_DegreeBatch, DropdownListBindType.SelectAll,
- new ComboGridOptions
- {
- ID = "DictionaryDegreeBatch",
- Name = "DictionaryDegreeBatch",
- OnSelect = "reload"
- }, new Dictionary<string, string> { { "data-condition", "dgDegreeOpenControlList" } })
- </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>
- @Html.PositionBatchModify()
- <div class="search_list">
- @Html.DataGrid(new DataGridOptions
- {
- Columns = new List<DataGridColumn>()
- {
- new CheckBoxFieldColumn{ HeaderText="", FieldName="DegreeOpenControlID" },
- new BoundFieldColumn { FieldName="GraduatingSemesterCode", HeaderText="毕业学期", Align=AlignStyle.Center, Width=0.1, CustomFormatFun="SetRedColumn" },
- new BoundFieldColumn { FieldName="DegreeBatchName", HeaderText="学位批次", Align=AlignStyle.Center, OrderFieldName="DegreeBatchID", Width=0.06, CustomFormatFun="SetRedColumn" },
- new BoundFieldColumn { FieldName="StartDate", HeaderText="开始时间", Align=AlignStyle.Center, Formatter = Formatter.LongDate, Width=0.06 },
- new BoundFieldColumn { FieldName="EndDate", HeaderText="结束时间", Align=AlignStyle.Center, Formatter = Formatter.LongDate, Width=0.06 }
- },
- IsCheckOnSelect = true,
- DataSourceUrl = Url.Content("~/DegreeOpenControl/List"),
- ID = "dgDegreeOpenControlList",
- IsPagination = true,
- IsShowRowNumbers = true,
- IsSingleSelect = false
- })
- </div>
- </div>
|