12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970 |
- @model EMIS.ViewModel.EducationManagement.EducationMissionClassView
- @using Bowin.Web.Controls.Mvc;
- @using EMIS.Web.Controls;
- @{
- ViewBag.Title = "DataRange";
- ComboGridOptions time = new ComboGridOptions
- {
- TextField = "time_starTime_endTime",
- ValueField = "CoursesTimeID",
- GridOptions = new DataGridOptions
- {
- Columns = new List<DataGridColumn>()
- {
- //new BoundFieldColumn { FieldName="TimesSegmentName", HeaderText="时间段", Align=AlignStyle.Center },
- new BoundFieldColumn { FieldName="time_starTime_endTime", HeaderText="上课时间", Align=AlignStyle.Center },
- //new BoundFieldColumn { FieldName="EndDate", HeaderText="结束时间", Align=AlignStyle.Center }
- },
- IsCheckOnSelect = true,
- DataSourceUrl = Url.Content("~/CoursesTime/List"),
- IsPagination = true,
- IsShowRowNumbers = true,
- IsSingleSelect = false
- }
- };
- }
- @section scripts{
- <script type="text/javascript">
- var nonSelect = "@DropdownList.SELECT_ALL";
- function EducationMissionClass_BatchUpdateSave() {
- var id = $("#CourseTimeID").combogridX("getValue");
- if (id == nonSelect || id == "") {
- $.messager.alert("系统提示", "请选择课时类别。");
- return;
- }
- $(document.forms[0]).submit();
- }
- </script>
-
- }
- <div class="easyui-panel" data-options="border:false,fit:true" style="position: relative;">
- @using (Ajax.BeginForm(new AjaxOptions
- {
- OnSuccess = "EMISFunction.FormSuccess",
- OnBegin = "EMISFunction.FormSubmit",
- OnComplete = "EMISFunction.FormComplete"
- }))
- {
- <div class="p_title">
- <div style="margin-right: 10px; line-height: 30px; font-size: 12px;">@Html.ContextMenuBar("BatchUpdate")</div>
- </div>
- <div class="search_list">
- @Html.HiddenFor(x => x.EducationMissionClassStr)
- <table cellpadding="0" cellspacing="0" id="BatchInitPassword">
- <tr>
- <td>@Html.LabelFor(x => x.CourseTimeID):
- </td>
- <td>@Html.ComboGridFor(x => x.CourseTimeID, time)
- </td>
- </tr>
- <tr>
- <td>@Html.LabelFor(x => x.ClassroomTypeID):
- </td>
- <td>@Html.DictionaryDropDownListFor(EMIS.ViewModel.DictionaryItem.CF_ClassroomType, (x => x.ClassroomTypeID))
- </td>
- </tr>
- </table>
- </div>
- }
- </div>
|