123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384 |
- @model EMIS.ViewModel.SystemView.AnnouncementView
- @using EMIS.Web.Controls;
- @using Bowin.Web.Controls.Mvc;
- @{
- ViewBag.Title = "UserAnnouncementSendGDCX";
- }
- @section header{
- <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
- <link rel="stylesheet" type="text/css" href="~/Scripts/Bowin.Control.Core/Plugins/ueditor/themes/default/ueditor.css" />
- }
- @section scripts{
- <!-- 配置文件 -->
- <script type="text/javascript" charset="utf-8" src="~/Scripts/Bowin.Control.Core/Plugins/ueditor/editor_config.js"></script>
- <script type="text/javascript" charset="utf-8">
- (function () {
- window.UEDITOR_CONFIG.toolbars = [
- [ 'source', '|', 'undo', 'redo', '|',
- 'bold', 'italic', 'underline', 'strikethrough', 'superscript', 'subscript', 'removeformat', 'formatmatch', '|',
- 'forecolor', 'backcolor', 'insertorderedlist', 'insertunorderedlist', '|', 'rowspacingtop', 'rowspacingbottom','lineheight', '|','fontfamily', 'fontsize', '|',
- 'directionalityltr', 'directionalityrtl', '|',
- 'justifyleft', 'justifycenter', 'justifyright', 'justifyjustify', '|','touppercase','tolowercase','|', 'imagenone', 'imageleft', 'imageright',
- 'imagecenter', '|', 'insertimage', 'attachment', '|', 'spechars', 'searchreplace']
- ];
- })();
- </script>
- <!-- 编辑器源码文件 -->
- <script type="text/javascript" charset="utf-8" src="~/Scripts/Bowin.Control.Core/Plugins/ueditor/editor_all_min.js"></script>
- <script src="~/Scripts/Business/Common/UserAnnouncementSend.js" type="text/javascript"></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"
- }))
- {
- @Html.Hidden("UserIDs")
- <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("UserAnnouncementSend")</div>
- </div>
- <div class="search_list popupWindowContent">
- @Html.HiddenFor(x => x.textContent)
- <table cellpadding="0" cellspacing="0" id="departmenttable" width="100%">
- <tr>
- <td>
- @Html.LabelFor(x => x.Title):
- </td>
- <td colspan="3">
- @Html.TextBoxFor(x => x.Title, new { style = "width: 90%" })
- </td>
- </tr>
- <tr>
- <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>
- <td>
- @Html.LabelFor(x => x.IsSendWX):
- </td>
- <td>
- @Html.CheckBoxFor(x => x.IsSendWXEdit, new Dictionary<string, object> { { "onclick", "selectSendWX()" } })
- </td>
- </tr>
- <tr class="msgtr" style="display:none">
- <td colspan="4" style="color:red">
- 温馨提示:由于微信平台的消息显示限制,目前仅支持无特殊格式的纯文本信息,信息中的图片及特殊格式将无法显示,且内容字数不超过100字,请知悉,谢谢。
- </td>
- </tr>
- <tr>
- <td>
- @Html.LabelFor(x => x.Content):
- </td>
- <td colspan="3">
- @Html.RichTextFor(x => x.Content, new RichTextOptions { Width = 580 })
- </td>
- </tr>
- </table>
- </div>
- }
- </div>
|