@model EMIS.ViewModel.TeachingMaterial.TeachersOrderView @using EMIS.Web.Controls; @using Bowin.Web.Controls.Mvc; @using EMIS.ViewModel; @{ ViewBag.Title = "Edit"; List listAction = ViewData["listAction"] as List; Guid teachersOrderID = Model.TeachersOrderID; } @section scripts{ }
@using (Html.BeginForm()) {
计划审核信息
@if (Model.ApproveStatus != (int)ViewData["endStatus"]) {
@Html.ContextMenuBar("Edit")
}
@Html.HiddenFor(x => x.TeachersOrderID)
@Html.DropdownList(new DropdownListOptions { BindType = DropdownListBindType.None, ID = "ddlAction", Name = "ddlAction", ItemList = listAction })
@Html.DataGrid(new DataGridOptions { Columns = new List() { new BoundFieldColumn { FieldName="PName", HeaderText="步骤名称", Align=AlignStyle.Center }, new BoundFieldColumn { FieldName="ApproveUserName", HeaderText="处理用户", Align=AlignStyle.Center }, new BoundFieldColumn { FieldName="ActionName", HeaderText="处理动作", Align=AlignStyle.Center }, new BoundFieldColumn { FieldName="ApproveTime", HeaderText="处理时间", Align=AlignStyle.Center, Formatter = Formatter.OnlyYearMonthDay }, new BoundFieldColumn { FieldName="Comment", HeaderText="审核意见", Align=AlignStyle.Center } }, IsCheckOnSelect = true, DataSourceUrl = Url.Content("~/TeachersOrderExamine/ApproveWorkflowList?teachersOrderID=" + teachersOrderID + ""), ID = "dgAuditingWorkflowHistoryList", IsPagination = true, IsShowRowNumbers = true, IsSingleSelect = false })
@Html.TextArea("txtOpinioncomment", new Dictionary { { "style", "width:500px;" } })
}