SendMessage.cshtml 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. @model EMIS.ViewModel.SystemView.AnnouncementView
  2. @using EMIS.Web.Controls;
  3. @using Bowin.Common.JSON;
  4. @using Bowin.Web.Controls.Mvc;
  5. @{
  6. ViewBag.Title = "Edit";
  7. }
  8. @section scripts{
  9. <script type="text/javascript">
  10. function SOCDetailGroupScoreSend_Save() {
  11. $("#idList").val("@ViewBag.UserIDLists");
  12. $(document.forms[0]).submit();
  13. }
  14. </script>
  15. }
  16. <div class="easyui-panel" data-options="border:false,fit:true" style="position: relative;">
  17. @using (Ajax.BeginForm(new AjaxOptions
  18. {
  19. OnSuccess = "EMISFunction.FormSuccess",
  20. OnBegin = "EMISFunction.FormSubmit",
  21. OnComplete = "EMISFunction.FormComplete"
  22. }))
  23. {
  24. <div class="p_title">
  25. <div style="float: left; margin-left: 10px; line-height: 30px; font-size: 12px;"></div>
  26. <div style="margin-right: 10px; line-height: 30px; font-size: 12px;">@Html.ContextMenuBar("GroupScoreSend")</div>
  27. </div>
  28. <div class="search_list popupWindowContent">
  29. @Html.Hidden("idList")
  30. <table cellpadding="0" cellspacing="0" id="departmenttable" width="100%">
  31. <tr>
  32. <td>@Html.LabelFor(x => x.Title):
  33. </td>
  34. <td>@Html.TextBoxFor(x => x.Title)
  35. </td>
  36. <td>@Html.LabelFor(x => x.AnnouncementTypeID):
  37. </td>
  38. <td>@Html.DropdownListFor(x => x.AnnouncementTypeID, new DropdownListOptions { ItemSourceUrl = Url.Content("~/Announcement/TypeDropdownList"), TextField = "Text", ValueField = "Value" })
  39. </td>
  40. </tr>
  41. @* <tr>
  42. <td>@Html.LabelFor(x => x.StartTime):
  43. </td>
  44. <td>@Html.TextBoxFor(x => x.StartTime, new TextBoxOptions { TextBoxType = TextBoxType.DateTime })
  45. </td>
  46. <td>@Html.LabelFor(x => x.EndTime):
  47. </td>
  48. <td>@Html.TextBoxFor(x => x.EndTime, new TextBoxOptions { TextBoxType = TextBoxType.DateTime })
  49. </td>
  50. </tr>*@
  51. <tr>
  52. <td>@Html.LabelFor(x => x.Content):
  53. </td>
  54. <td colspan="3">@Html.RichTextFor(x => x.Content, new RichTextOptions { Width = 700, Height = 520 })
  55. </td>
  56. </tr>
  57. </table>
  58. </div>
  59. }
  60. </div>