123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081 |
- @using Bowin.Web.Controls.Mvc;
- @using EMIS.Web.Controls;
- @{
- ViewBag.Title = "List";
- }
- @section scripts{
- <script src="~/Scripts/Business/StudentManage/OnlineChecking/OpenObject.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("~/OpenObject/Excel")">
- @Html.PositionCondition()
- <div class="search_keyword">
- <div class="search_input">
- <ul>
- <li class="sn" style="padding-left: 5px;">@Html.RSLabel("EducationName"):</li>
- <li class="sv">
- @Html.DictionaryComboGrid(EMIS.ViewModel.DictionaryItem.CF_Education, DropdownListBindType.SelectAll,
- new ComboGridOptions
- {
- ID = "DictionaryEducation",
- Name = "DictionaryEducation",
- OnSelect = "reload"
- }, new Dictionary<string, string> { { "data-condition", "dgStudentEditObjectList" } })
- </li>
- <li class="sn" style="padding-left: 5px;">开放学年:</li>
- <li class="sv">
- @Html.DictionaryComboGrid(EMIS.ViewModel.DictionaryItem.CF_SchoolyearNum, DropdownListBindType.SelectAll,
- new ComboGridOptions
- {
- ID = "DictionarySchoolyearNum",
- Name = "DictionarySchoolyearNum",
- OnSelect = "reload"
- }, new Dictionary<string, string> { { "data-condition", "dgStudentEditObjectList" } })
- </li>
- <li class="sn" style="padding-left: 5px;color:red;">日期范围:</li>
- <li class="sv">
- @Html.TextBox(new TextBoxOptions { TextBoxType = TextBoxType.Date, Name = "txtDateRange"}, new Dictionary<string, string> { { "data-condition", "dgStudentEditObjectList" } })
- </li>
- @*<li class="sn" style="padding-left: 20px;"><a href="javascript:void(0)" class="easyui-linkbutton"
- data-options="iconCls:'icon-search'" onclick="reload();">查询</a></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="StudentEditObjectsID" },
- new LinkButtonColumn { FieldName="EducationName", HeaderText=EMIS.Utility.RSL.Get("EducationID"), Align=AlignStyle.Center, Handle="edit", OrderFieldName="EducationID", Width=0.05 },
- new BoundFieldColumn { FieldName="SchoolyearNumName", HeaderText="开放学年", Align=AlignStyle.Center, OrderFieldName="SchoolyearNumID", Width=0.05 },
- new BoundFieldColumn { FieldName="Starttime", HeaderText="开始时间", Align=AlignStyle.Center, Formatter = Formatter.LongDate, Width=0.1 },
- new BoundFieldColumn { FieldName="Endtime", HeaderText="结束时间", Align=AlignStyle.Center, Formatter = Formatter.LongDate, Width=0.1 },
- new BoundFieldColumn { FieldName="Remark", HeaderText="备注", Align=AlignStyle.Center, Width=0.02 },
- new BoundFieldColumn { FieldName="CreateUserName", HeaderText="创建人", Align=AlignStyle.Center, Width=0.04 },
- new BoundFieldColumn { FieldName="ModifyUserName", HeaderText="修改人", Align=AlignStyle.Center, Width=0.04 },
- new BoundFieldColumn { FieldName="ModifyTime", HeaderText="修改时间", Align=AlignStyle.Center, Width=0.06, Formatter= Formatter.LongDate }
- },
- IsCheckOnSelect = true,
- DataSourceUrl = Url.Content("~/OpenObject/List"),
- ID = "dgStudentEditObjectList",
- IsPagination = true,
- IsShowRowNumbers = true,
- IsSingleSelect = false
- })
- </div>
- </div>
|