1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889 |
- @model EMIS.ViewModel.StudentManage.OnlineChecking.OpenObjectView
- @using EMIS.Web.Controls;
- @using Bowin.Web.Controls.Mvc;
- @using EMIS.Utility;
- @{
- ViewBag.Title = "OpenObjectBatchAdd";
- }
- @section scripts{
- <script src="~/Scripts/Business/StudentManage/OnlineChecking/OpenObjectBatchAdd.js" type="text/javascript"></script>
- <script type="text/javascript">
- var nonSelect = "@DropdownList.SELECT_ALL";
- var educationName = '@EMIS.Utility.RSL.Get("EducationName")';
- </script>
- }
- <div class="easyui-panel" data-options="border:false,fit:true" style="position: relative;">
- @using (Ajax.BeginForm(new AjaxOptions
- {
- //生成成功后不关闭弹出页面(OnSuccess = "EMISFunction.FormSuccessNoClose")
- OnSuccess = "formSuccessReloadNoClose",
- 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("OpenObjectSelect")
- <div class="search_keyword">
- <div class="search_input">
- <ul>
- <li class="sn" style="padding-left: 5px;color:red;">@Html.RSLabel("EducationName"):</li>
- <li class="sv">
- @Html.DictionaryComboGridFor(EMIS.ViewModel.DictionaryItem.CF_Education, (x => x.EducationID), DropdownListBindType.PleaseSelect,
- new ComboGridOptions
- {
- ID = "DictionaryEducation",
- Name = "DictionaryEducation",
- OnSelect = "reload"
- }, new Dictionary<string, string> { { "data-condition", "dgSchoolyearNumDicNoAddList" } })
- </li>
- <li class="sn" style="padding-left: 5px;color:red;">开始时间:</li>
- <li class="sv">
- @Html.TextBoxFor(x => x.Starttime, new TextBoxOptions() { TextBoxType = TextBoxType.DateTime })
- </li>
- <li class="sn" style="padding-left: 5px;color:red;">结束时间:</li>
- <li class="sv">
- @Html.TextBoxFor(x => x.Endtime, new TextBoxOptions() { TextBoxType = TextBoxType.DateTime })
- </li>
- </ul>
- </div>
- </div>
- <div class="p_title">
- <div style="float: left; margin-left: 6px; line-height: 30px; font-size: 12px;">
- 开放学年列表
- </div>
- <div style="margin-right: 10px; line-height: 30px; font-size: 12px;">@Html.ContextMenuBar("BatchAdd")</div>
- </div>
- <div class="search_list">
- @Html.Hidden("schoolyearNumIDList")
- <table cellpadding="0" cellspacing="0" id="specialtytable">
- <tr>
- <td>
- @Html.DataGrid(new DataGridOptions
- {
- Columns = new List<DataGridColumn>()
- {
- new CheckBoxFieldColumn{ HeaderText="", FieldName="DictionaryItemID" },
- new BoundFieldColumn { FieldName="OrderNo", HeaderText="序号", Align=AlignStyle.Center, Width=0.02 },
- new BoundFieldColumn { FieldName="Name", HeaderText="名称", Align=AlignStyle.Center, Width=0.08 },
- new BoundFieldColumn { FieldName="Code", HeaderText="代码", Align=AlignStyle.Center, Width=0.1 }
- //new BoundFieldColumn { FieldName="Value", HeaderText="值", Align=AlignStyle.Center, Width=0.03, CustomFormatFun="SetRedColumn" },
- //new BoundFieldColumn { FieldName="DictionaryName", HeaderText="类型名称", Align=AlignStyle.Center, Width=0.06 }
- },
- IsPostBack = true,
- //IsAutoLoad = false,
- IsCheckOnSelect = true,
- DataSourceUrl = Url.Content("~/OpenObject/SchoolyearNumNoAddList"),
- ID = "dgSchoolyearNumDicNoAddList",
- IsPagination = true,
- IsShowRowNumbers = true,
- IsSingleSelect = false
- })
- </td>
- </tr>
- </table>
- </div>
- }
- </div>
|