@model EMIS.ViewModel.SystemView.RoleView @using EMIS.Web.Controls; @using Bowin.Web.Controls.Mvc; @{ ViewBag.Title = "Edit"; }
@using (Ajax.BeginForm(new AjaxOptions { OnSuccess = "EMISFunction.FormSuccess", OnBegin = "EMISFunction.FormSubmit", OnComplete = "EMISFunction.FormComplete" })) { @Html.HiddenFor(x => x.TypeID, new { Value = ((int)EMIS.ViewModel.SYS_RoleType.Teacher).ToString() })
@*
角色信息
*@ @if (Request["isView"] != "1") {
@Html.ContextMenuBar("Edit")
}
@Html.LabelFor(x => x.OrderNo): @Html.TextBoxFor(x => x.OrderNo) @Html.LabelFor(x => x.RoleName): @Html.TextBoxFor(x => x.RoleName)
@Html.LabelFor(x => x.DefaultDataRange): @Html.DictionaryDropDownListFor(EMIS.ViewModel.DictionaryItem.SYS_DataRange, x => x.DefaultDataRange, new DropdownListOptions { BindType = DropdownListBindType.PleaseSelect })
@Html.LabelFor(x => x.Description): @Html.TextAreaFor(x => x.Description, new Dictionary { { "style", "height:15px;" } })
}
@section scripts{ }