1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768 |
- @model EMIS.ViewModel.CalendarManage.SCalendarView
- @using EMIS.Web.Controls;
- @using Bowin.Web.Controls.Mvc;
- @{
- Layout = "~/Views/Shared/_Layout.cshtml";
- ViewBag.Title = "Edit";
- }
- <style type="text/css">
-
- </style>
- <div class="separatorline">
- @using (Ajax.BeginForm(new AjaxOptions
- {
- OnSuccess = "EMISFunction.FormSuccess",
- OnBegin = "EMISFunction.FormSubmit",
- OnComplete = "EMISFunction.FormComplete"
- }))
- {
-
- <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="gobal-from">
- @Html.HiddenFor(x => x.ActivitiesID)
- <table cellpadding="0" cellspacing="1">
- <tr>
- <th>@Html.LabelFor(x => x.Name):
- </th>
- <td>@Html.TextBoxFor(x => x.Name)
- </td>
- <th>@Html.LabelFor(x => x.ActivitiesType):
- </th>
- <td>@Html.DropdownListFor(x => x.ActivitiesType, new DropdownListOptions { ItemSourceUrl = Url.Content("~/Activitie/ActivitiesTypeDropdownListBanid"), TextField = "Text", ValueField = "Value" })
- </td>
- </tr>
- <tr>
- <th>@Html.LabelFor(x => x.ActivitiesTime):
- </th>
- <td>
- @Html.TextBoxFor(x => x.ActivitiesTime, new TextBoxOptions() { TextBoxType = TextBoxType.Date })
- </td>
- <th>@Html.LabelFor(x => x.TimesSegment):
- </th>
- <td>@Html.DropdownListFor(x => x.TimesSegment, new DropdownListOptions { ItemSourceUrl = Url.Content("~/Activitie/TimesSegmentDropdownListBanid"), TextField = "Text", ValueField = "Value" })
- </td>
- </tr>
- <tr>
- <th>@Html.LabelFor(x => x.ActivitiesContent):
- </th>
- <td colspan="3">@Html.TextAreaFor(x => x.ActivitiesContent, new { style = "width:525px;" })
- </td>
- </tr>
- </table>
- </div>
- }
- </div>
- @section scripts{
- <script type="text/javascript">
- function SCalendar_Save() {
- $(document.forms[0]).submit();
- }
- </script>
- }
|