1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980 |
- @model EMIS.ViewModel.TeachingMaterial.LibraryView
- @using EMIS.Web.Controls;
- @using Bowin.Web.Controls.Mvc;
- @{
- ViewBag.Title = "Edit";
- }
- @section scripts{
- <script src="../../Scripts/Business/TeachingMaterial/Library.js" type="text/javascript"></script>
- <script type="text/javascript">
- function Library_Save() {
- $(document.forms[0]).submit();
- }
- </script>
- }
- <style type="text/css">
- #stafftable
- {
- width: 100%;
- border: 0px none;
- }
- #stafftable tr
- {
- min-height: 30px;
- }
- </style>
- <div class="easyui-panel" data-options="border:false,fit:true" style="position: relative;">
- @using (Ajax.BeginForm(new AjaxOptions { Url = "/Library/Edit", OnSuccess = "EMISFunction.FormSuccess", OnBegin = "EMISFunction.FormSubmit", OnComplete = "EMISFunction.FormComplete" }))
- {
- @Html.HiddenFor(x => x.LibraryID)
- <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">
- <table cellpadding="0" cellspacing="0" id="stafftable">
- <tr>
- <td>@Html.LabelFor(x => x.LibraryCode):
- </td>
- <td>@Html.TextBoxFor(x => x.LibraryCode)
- </td>
- <td>@Html.LabelFor(x => x.LibraryName):
- </td>
- <td>@Html.TextBoxFor(x => x.LibraryName)
- </td>
- </tr>
- <tr>
- <td>@Html.LabelFor(x => x.CampusName):
- </td>
- <td>@Html.DropdownListFor(x => x.CampusID, new DropdownListOptions { BindType = DropdownListBindType.PleaseSelect, ItemSourceUrl = Url.Content("~/Campus/CampusDropdownListBanid"), OnSelect = "SelectCampusCode" })
- </td>
- <td>@Html.LabelFor(x => x.HeadPeople):
- </td>
- <td>@Html.TextBoxFor(x => x.HeadPeople)
- </td>
- </tr>
- <tr>
- <td>@Html.LabelFor(x => x.ContectTelNumber):
- </td>
- <td>@Html.TextBoxFor(x => x.ContectTelNumber)
- </td>
- <td>
- </td>
- <td>
- </td>
- </tr>
- <tr>
- <td>@Html.LabelFor(x => x.Desc):
- </td>
- <td colspan="3">@Html.TextAreaFor(x => x.Desc, new Dictionary<string, string> { { "style", "width:1000px;" } })
- </td>
- </tr>
- </table>
- </div>
- }
- </div>
|