1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283 |
- @using Bowin.Web.Controls.Mvc;
- @using EMIS.Entities;
- @using EMIS.Web.Controls;
- @using EMIS.Utility;
- @using EMIS.ViewModel;
- @{
- ViewBag.Title = "List";
- }
- @section scripts{
- <script src="~/Scripts/Business/StudentManage/OnlineChecking/CheckingControl.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()
- @using (Ajax.BeginForm(new AjaxOptions
- {
- Url = @Url.Content("~/CheckingControl/StudentEditControlSet?MNU=" + Request["MNU"]),
- OnSuccess = "EMISFunction.FormSuccess",
- OnBegin = "EMISFunction.FormSubmit",
- OnComplete = "EMISFunction.FormComplete"
- }))
- {
- <div class="p_SearchTitle">
- <div style="float: left; margin-left: 10px; font-size: 12px; line-height: 30px;">查询条件</div>
- </div>
- @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.DictionaryComboGrid(EMIS.ViewModel.DictionaryItem.CF_CheckingType, DropdownListBindType.SelectAll,
- new ComboGridOptions
- {
- ID = "DictionaryCheckingType",
- Name = "DictionaryCheckingType",
- OnSelect = "reload"
- }, new Dictionary<string, string> { { "data-condition", "dgStudentEditControlList" } })
- </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>
- @*@Html.PositionBatchModify()*@
- <div class="search_list">
- @Html.DataGrid(new DataGridOptions
- {
- Columns = new List<DataGridColumn>()
- {
- //new CheckBoxFieldColumn{ HeaderText="", FieldName="StudentEditControlID" },
- //new BoundFieldColumn { FieldName="OrderNo", HeaderText="序号", Align=AlignStyle.Center, Width=0.03 },
- //new BoundFieldColumn { FieldName="ColumnName", HeaderText="校对代码", Align=AlignStyle.Center, Width=0.08 },
- //new BoundFieldColumn { FieldName="DisplayColumnName", HeaderText="校对列名", Align=AlignStyle.Center, Width=0.06 },
- new BoundFieldColumn { FieldName="Description", HeaderText="校对名称", Align=AlignStyle.Center, Width=0.06 },
- new RadioButtonColumn{ FieldName="CheckingTypeID", HeaderText="不可修改", Align=AlignStyle.Center, RadioValue=(int)CF_CheckingType.Close, Width=0.06 },
- new RadioButtonColumn{ FieldName="CheckingTypeID", HeaderText="记录且审核", Align=AlignStyle.Center, RadioValue=(int)CF_CheckingType.OpenApprove, Width=0.08 },
- new RadioButtonColumn{ FieldName="CheckingTypeID", HeaderText="记录且不审核", Align=AlignStyle.Center, RadioValue=(int)CF_CheckingType.OpenRecord, Width=0.08 },
- new RadioButtonColumn{ FieldName="CheckingTypeID", HeaderText="不记录且不审核", Align=AlignStyle.Center, RadioValue=(int)CF_CheckingType.AllOpen, Width=0.08 },
- 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 }
- },
- PageSize = 100,
- IsCheckOnSelect = true,
- IsPostBack = true,
- DataSourceUrl = Url.Content("~/CheckingControl/List"),
- ID = "dgStudentEditControlList",
- IsPagination = true,
- IsShowRowNumbers = true,
- IsSingleSelect = false
- })
- </div>
- }
- <form id="formQuery" method="post" action="@Url.Content("~/CheckingControl/Excel")">
- </form>
- </div>
|