@model EMIS.ViewModel.SchedulingManage.SchedulingSettings.CourseTimeHoursView @using EMIS.Web.Controls; @using Bowin.Web.Controls.Mvc; @{ Layout = "~/Views/Shared/_Layout.cshtml"; ViewBag.Title = "Edit"; ComboGridOptions time = new ComboGridOptions { TextField = "time_starTime_endTime", ValueField = "CoursesTimeID", Name = "TimeComboGrid", ID = "TimeComboGrid", GridOptions = new DataGridOptions { Columns = new List() { //new BoundFieldColumn { FieldName="TimesSegmentName", HeaderText="时间段", Align=AlignStyle.Center }, new BoundFieldColumn { FieldName="time_starTime_endTime", HeaderText="上课时间", Align=AlignStyle.Center }, }, IsCheckOnSelect = true, DataSourceUrl = Url.Content("~/CoursesTime/List"), IsPagination = true, IsShowRowNumbers = true, IsSingleSelect = false } }; }
@using (Ajax.BeginForm(new AjaxOptions { OnSuccess = "EMISFunction.FormSuccess", OnBegin = "EMISFunction.FormSubmit", OnComplete = "EMISFunction.FormComplete" })) {
@*
课程时间信息
*@ @if (Request["isView"] != "1") {
@Html.ContextMenuBar("Edit")
}
@Html.HiddenFor(x => x.CourseTimeHoursID)
@Html.LabelFor(x => x.Year): @Html.SchoolYearDropDownListFor(x => x.Year) @Html.LabelFor(x => x.CoursesTimeID): @Html.ComboGridFor(x => x.CoursesTimeID, time)
@Html.LabelFor(x=>x.Hours): @Html.TextBoxFor(x => x.Hours)
时间以24小时制(例如:下午2点应表示为14:00)
}
@section scripts{ }