12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667 |
- @model EMIS.ViewModel.CalendarManage.ActivitieView
- @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.ActivitiesTime):
- </th>
- <td>@Html.TextBoxFor(x => x.ActivitiesTimeMonth, new { style = "width:65px;" }) -@Html.TextBoxFor(x => x.ActivitiesTimeDay, new { style = "width:65px;" })
- </td>
- </tr>
- <tr>
- <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>
- <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:519px;" })
- </td>
- </tr>
- </table>
- </div>
- }
- </div>
- @section scripts{
- <script type="text/javascript">
- function Activitie_Save() {
- $(document.forms[0]).submit();
- }
- </script>
- }
|