12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061 |
- @model EMIS.ViewModel.SystemView.AnnouncementView
- @using EMIS.Web.Controls;
- @using Bowin.Common.JSON;
- @using Bowin.Web.Controls.Mvc;
- @{
- ViewBag.Title = "Edit";
- }
- @section scripts{
- <script type="text/javascript">
- function SOCDetailStudentScoreSend_Save() {
- $("#idList").val("@ViewBag.UserIDLists");
- $(document.forms[0]).submit();
- }
- </script>
- }
- <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"
- }))
- {
- <div class="p_title">
- <div style="float: left; margin-left: 10px; line-height: 30px; font-size: 12px;"></div>
- <div style="margin-right: 10px; line-height: 30px; font-size: 12px;">@Html.ContextMenuBar("Send")</div>
- </div>
- <div class="search_list popupWindowContent">
- @Html.Hidden("idList")
- <table cellpadding="0" cellspacing="0" id="departmenttable" width="100%">
- <tr>
- <td>@Html.LabelFor(x => x.Title):
- </td>
- <td>@Html.TextBoxFor(x => x.Title)
- </td>
- <td>@Html.LabelFor(x => x.AnnouncementTypeID):
- </td>
- <td>@Html.DropdownListFor(x => x.AnnouncementTypeID, new DropdownListOptions { ItemSourceUrl = Url.Content("~/Announcement/TypeDropdownList"), TextField = "Text", ValueField = "Value" })
- </td>
-
- </tr>
- @* <tr>
- <td>@Html.LabelFor(x => x.StartTime):
- </td>
- <td>@Html.TextBoxFor(x => x.StartTime, new TextBoxOptions { TextBoxType = TextBoxType.DateTime })
- </td>
- <td>@Html.LabelFor(x => x.EndTime):
- </td>
- <td>@Html.TextBoxFor(x => x.EndTime, new TextBoxOptions { TextBoxType = TextBoxType.DateTime })
- </td>
- </tr>*@
- <tr>
- <td>@Html.LabelFor(x => x.Content):
- </td>
- <td colspan="3">@Html.RichTextFor(x => x.Content, new RichTextOptions { Width = 700, Height = 520 })
- </td>
- </tr>
- </table>
- </div>
- }
- </div>
|