123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263 |
- @model EMIS.ViewModel.SystemView.RoleView
- @using EMIS.Web.Controls;
- @using Bowin.Web.Controls.Mvc;
- @{
- ViewBag.Title = "Edit";
- }
- <div class="easyui-panel" data-options="border:false,fit:true" style="position: relative;">
- @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() })
- <div class="p_title">
- @*<div style="float: left; margin-left: 10px; line-height: 30px; font-size: 12px;">
- 角色信息</div>*@
- @if (Request["isView"] != "1")
- {
- <div style="margin-right: 10px; line-height: 30px; font-size: 12px;">@Html.ContextMenuBar("Edit")</div>
- }
- </div>
- <div class="search_list popupWindowContent">
- <table cellpadding="0" cellspacing="0" id="departmenttable">
- <tr>
- <td>@Html.LabelFor(x => x.OrderNo):
- </td>
- <td>@Html.TextBoxFor(x => x.OrderNo)
- </td>
- <td>@Html.LabelFor(x => x.RoleName):
- </td>
- <td>@Html.TextBoxFor(x => x.RoleName)
- </td>
-
- </tr>
- <tr>
- <td>@Html.LabelFor(x => x.DefaultDataRange):
- </td>
- <td>@Html.DictionaryDropDownListFor(EMIS.ViewModel.DictionaryItem.SYS_DataRange, x => x.DefaultDataRange, new DropdownListOptions { BindType = DropdownListBindType.PleaseSelect })
- </td>
- <td></td>
- <td></td>
- </tr>
- <tr>
- <td>@Html.LabelFor(x => x.Description):
- </td>
- <td >@Html.TextAreaFor(x => x.Description, new Dictionary<string, object> { { "style", "height:15px;" } })
- </td>
- <td></td>
- <td></td>
- </tr>
- </table>
- </div>
- }
- </div>
- @section scripts{
- <script type="text/javascript">
- function Role_Save() {
- $(document.forms[0]).submit();
- }
- </script>
- }
|