@using Bowin.Web.Controls.Mvc; @using EMIS.Web.Controls; @using Bowin.Common.Utility; @using EMIS.ViewModel; @{ ViewBag.Title = "List"; Guid? evaluationSettingID = Request.QueryString["evaluationSettingID"].ParseStrTo(); } @section scripts{ }
@using (Ajax.BeginForm(new AjaxOptions { Url = "/EvaluationSetting/Save", OnSuccess = "EMISFunction.FormSuccess", OnBegin = "EMISFunction.FormSubmit", OnComplete = "EMISFunction.FormComplete" })) {
@Html.Hidden("evaluationSettingID") @Html.Hidden("SaveType") @*
同行明细信息
*@
@if (ViewBag.OpenStatus != CF_GeneralPurpose.IsYes.ToString())//如果已经提交、那么删除、增加按钮不显示 { @Html.ContextMenuBar("TeaConfirm") }
@if (ViewBag.OpenStatus != CF_GeneralPurpose.IsYes.ToString())//如果已经提交、那么删除、增加按钮不显示 { @Html.ContextMenuBar("Edit-TeacherGrid") } @Html.DataGrid(new DataGridOptions { Columns = new List() { new CheckBoxFieldColumn{ HeaderText="", FieldName="UserID"}, new BoundFieldColumn { FieldName="SchoolyearCode", HeaderText="学年学期", Align=AlignStyle.Center, Width=0.08 }, new BoundFieldColumn { FieldName="StaffCode", HeaderText="教职工", Align=AlignStyle.Center, Width=0.06 }, new BoundFieldColumn { FieldName="Name", HeaderText="姓名", Align=AlignStyle.Center, Width=0.05 }, new BoundFieldColumn { FieldName="DepartmentName", HeaderText="教研室", Align=AlignStyle.Center, Width=0.1, OverflowLength=10 }, //new BoundFieldColumn { FieldName="EvaluationTypeName", HeaderText="参评类型", Align=AlignStyle.Center, Width=0.04 }, new BoundFieldColumn { FieldName="UserCodes", HeaderText="被评教师编号", Align=AlignStyle.Center, Width=0.06, OverflowLength=8 }, new BoundFieldColumn { FieldName="UserNames", HeaderText="被评教师",Align=AlignStyle.Center, Width=0.04, OverflowLength=4 }, new BoundFieldColumn { FieldName="EvaluationTableName", HeaderText="评价表名",Align=AlignStyle.Center, Width=0.05, OverflowLength=8 } }, PageSize =50, IsCheckOnSelect = true, DataSourceUrl = Url.Content("~/EvaluationSetting/GetStaffDetail?evaluationSettingID=" + evaluationSettingID), ID = "dgEvaluationSettingStaffDetailList", IsPagination = true, IsShowRowNumbers = true, IsPostBack = true, IsSingleSelect = false })
}