@model EMIS.ViewModel.EvaluationManage.TeacherEvaluationView @using EMIS.Web.Controls; @using Bowin.Web.Controls.Mvc; @{ Layout = "~/Views/Shared/_Layout.cshtml"; ViewBag.Title = "教师评价编辑"; var cgopEducationMissionClassID = new ComboGridOptions { TextField = "Name", ValueField = "EducationMissionClassID", //OnSelect = "SelectCallback", GridOptions = new DataGridOptions { Columns = new List() { new BoundFieldColumn { FieldName="SchoolyearCode", HeaderText="学年学期", Align=AlignStyle.Center }, new BoundFieldColumn { FieldName="Name", HeaderText="任务班名称", Align=AlignStyle.Center }, new BoundFieldColumn { FieldName="CourseCode", HeaderText="课程代码", Align=AlignStyle.Center }, new BoundFieldColumn { FieldName="CourseName", HeaderText="课程名称", Align=AlignStyle.Center }, new BoundFieldColumn { FieldName="CollegeName", HeaderText=@EMIS.Utility.RSL.Get("College"), Align=AlignStyle.Center }, new BoundFieldColumn { FieldName="StartWeeklyNum", HeaderText="开始周次", Align=AlignStyle.Center }, new BoundFieldColumn { FieldName="EndWeeklyNum", HeaderText="结束周次", Align=AlignStyle.Center }, }, IsCheckOnSelect = true, DataSourceUrl = Url.Action("List", "EducationMission"), IsPagination = true, IsShowRowNumbers = true, IsSingleSelect = false } }; var cgopEducationTableID = new ComboGridOptions { TextField = "Name", ValueField = "TableID", //OnSelect = "SelectCallback", GridOptions = new DataGridOptions { Columns = new List() { new LinkButtonColumn { FieldName="Code", HeaderText="评价编号", Align=AlignStyle.Center ,}, new BoundFieldColumn { FieldName="Name", HeaderText="评价表名", Align=AlignStyle.Center ,}, new BoundFieldColumn { FieldName="Type", HeaderText="评价类型", Align=AlignStyle.Center ,}, }, IsCheckOnSelect = true, DataSourceUrl = Url.Action("List", "EvaluationTable") + "?evaluationType=" + ViewBag.EvaluationTypeId, IsPagination = true, IsShowRowNumbers = true, IsSingleSelect = false } }; }
@using (Html.BeginForm()) {
教师评价信息
@Html.ContextMenuBar("Edit")
@Html.HiddenFor(x => x.EntityID)
@Html.LabelFor(m => m.EducationMissionClassID): @Html.ComboGridFor(m => m.EducationMissionClassID, cgopEducationMissionClassID) @Html.LabelFor(m => m.TableID): @Html.ComboGridFor(m => m.TableID, cgopEducationTableID)
@Html.LabelFor(m => m.Participators): @Html.DictionaryDropDownListFor(EMIS.ViewModel.DictionaryItem.CF_YesOrNoStatus, m => m.OpenStatus) @Html.LabelFor(m => m.OpenStatus): @Html.DictionaryDropDownListFor(EMIS.ViewModel.DictionaryItem.CF_YesOrNoStatus, m => m.OpenStatus)
}
@section scripts{ }