List.cshtml 1.2 KB

123456789101112131415161718192021222324252627282930313233
  1. @model EMIS.ViewModel.EvaluationManage.EvaluationSetting.EvaluationSensitiveWordView
  2. @using EMIS.Web.Controls;
  3. @using Bowin.Web.Controls.Mvc;
  4. @{
  5. ViewBag.Title = "List";
  6. }
  7. <div class="easyui-panel" data-options="border:false,fit:true" style="position: relative;">
  8. @Html.Position()
  9. @using (Ajax.BeginForm(new AjaxOptions
  10. {
  11. OnSuccess = "EMISFunction.FormSuccess",
  12. OnBegin = "EMISFunction.FormSubmit",
  13. OnComplete = "EMISFunction.FormComplete"
  14. }))
  15. {
  16. <div class="p_title">
  17. <div style="float: left; margin-left: 10px; line-height: 30px; font-size: 12px;"></div>
  18. <div style="margin-right: 10px; line-height: 30px; font-size: 12px;">@Html.ContextMenuBar("List")</div>
  19. </div>
  20. <div class="search_list">
  21. <div style = "margin: 8px 8px; color: Red;">输入格式为每个敏感词之间用“|”隔开,例如:敏感词|敏感词|敏感词</div>
  22. @Html.TextAreaFor(x => x.Value, 30, 20, new Dictionary<string, object> { { "style", "width:98%;" } });
  23. </div>
  24. }
  25. </div>
  26. @section scripts{
  27. <script type="text/javascript">
  28. //保存
  29. function EvaluationSensitiveWord_Save() {
  30. $(document.forms[0]).submit();
  31. }
  32. </script>
  33. }