@model EMIS.ViewModel.SystemView.AnnouncementView @using EMIS.Web.Controls; @using Bowin.Web.Controls.Mvc; @{ ViewBag.Title = "Edit"; } @section scripts{ }
@Html.LabelFor(x => x.Title): | @Html.TextBoxFor(x => x.Title, new { style = "width: 90%" }) | ||||
@Html.LabelFor(x => x.AnnouncementTypeID): | @Html.DropdownListFor(x => x.AnnouncementTypeID, new DropdownListOptions { ItemSourceUrl = Url.Content("~/Announcement/TypeDropdownList"), TextField = "Text", ValueField = "Value", IsEditable = false }) | @Html.LabelFor(x => x.IsTop): | @Html.CheckBoxFor(x => x.IsTopEdit) | ||
@Html.LabelFor(x => x.StartTime): | @Html.TextBoxFor(x => x.StartTime, new TextBoxOptions { TextBoxType = TextBoxType.DateTime }) | @Html.LabelFor(x => x.EndTime): | @Html.TextBoxFor(x => x.EndTime, new TextBoxOptions { TextBoxType = TextBoxType.DateTime }) | ||
@Html.LabelFor(x => x.Content): | @Html.RichTextFor(x => x.Content, new RichTextOptions { Width = 700, Height = 520 }) | ||||
发布角色: |
@Html.ContextMenuBar("Edit-RoleViewGrid")
@Html.DataGrid(new DataGridOptions
{
Columns = new List |
||||
发布用户: |
@Html.ContextMenuBar("Edit-UserViewGrid")
@Html.DataGrid(new DataGridOptions
{
Columns = new List |