123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657 |
- @using Bowin.Web.Controls.Mvc;
- @using EMIS.Entities;
- @using EMIS.Web.Controls;
- @{
- ViewBag.Title = "List";
- }
- @section scripts{
- <script src="~/Scripts/Business/CalendarManage/SchoolYear.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("~/SchoolYear/Excel")">
- @Html.PositionCondition()
- <div class="search_keyword">
- <div class="search_input">
- <ul>
- <li class="sn" style="padding-left: 5px;">是否当前学期:</li>
- <li class="sv">
- @Html.DictionaryDropDownList(EMIS.ViewModel.DictionaryItem.CF_GeneralPurpose, new DropdownListOptions { BindType = DropdownListBindType.SelectAll, Name = "IsCurrentDropDown", OnSelect = "QueryIsCurrentDropdownList" }, new Dictionary<string, string> { { "data-condition", "dgSchoolYearList" } })
- </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="SchoolYearID"},
- new LinkButtonColumn { FieldName="Code", HeaderText="学年学期", Align=AlignStyle.Center , Handle="edit" , Width = 0.08},
- new BoundFieldColumn { FieldName="Years", HeaderText="学年", Align=AlignStyle.Center , Width = 0.03},
- new BoundFieldColumn { FieldName="SchoolcodeName", HeaderText="学期", Align=AlignStyle.Center , Width = 0.03},
- new BoundFieldColumn { FieldName="WeeksNum", HeaderText="周数", Align=AlignStyle.Center, Width = 0.03 },
- new BoundFieldColumn { FieldName="FirstWeek", HeaderText="首周周一日期",Formatter=Formatter.OnlyYearMonthDay, Align=AlignStyle.Center, Width = 0.06 },
- new BoundFieldColumn { FieldName="WeekDays", HeaderText="每周工作天数", Align=AlignStyle.Center, Width = 0.06 },
- new BoundFieldColumn { FieldName="Current", HeaderText="是否当前学期", Align=AlignStyle.Center, Width = 0.06 }
- },
- IsCheckOnSelect = true,
- DataSourceUrl = Url.Content("~/SchoolYear/List"),
- ID = "dgSchoolYearList",
- IsPagination = true,
- IsShowRowNumbers = true,
- IsSingleSelect = false
- })
- </div>
- </div>
|