List.cshtml 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. @using Bowin.Web.Controls.Mvc;
  2. @using EMIS.Web.Controls;
  3. @{
  4. ViewBag.Title = "List";
  5. }
  6. @section scripts{
  7. <script src="~/Scripts/Business/ScoreManage/GradePointFormula.js" type="text/javascript"></script>
  8. }
  9. <div class="easyui-panel" data-options="border:false,fit:true" style="position:relative;">
  10. @Html.Position()
  11. <div class="p_SearchTitle">
  12. <div style="float: left; margin-left: 10px; font-size: 12px; line-height: 30px;">
  13. 查询条件</div>
  14. </div>
  15. <div class="search_keyword">
  16. <div class="search_input">
  17. <ul>
  18. <li class="sn" style="padding-left: 5px;">绩点公式名称:</li>
  19. <li class="sv">
  20. @Html.TextBox(new TextBoxOptions { Name = "textName" }, new Dictionary<string, string> { { "data-condition", "dgGradePointFormulaList" } })
  21. </li>
  22. <li class="sn" style="padding-left: 20px;"><a href="javascript:void(0)" class="easyui-linkbutton"
  23. data-options="iconCls:'icon-search'" onclick="reload();">查询</a></li>
  24. </ul>
  25. </div>
  26. </div>
  27. <div class="p_title">
  28. <div style="float: left; margin-left: 10px; line-height: 30px; font-size: 12px;">
  29. 绩点公式设置列表</div>
  30. <div style="margin-right: 10px; line-height: 30px; font-size: 12px;">@Html.ContextMenuBar("List")</div>
  31. </div>
  32. <div class="search_list">
  33. @Html.DataGrid(new DataGridOptions
  34. {
  35. Columns = new List<DataGridColumn>()
  36. {
  37. new CheckBoxFieldColumn{ HeaderText="", FieldName="GradePointFormulaID" },
  38. new LinkButtonColumn { FieldName="Name", HeaderText="绩点公式名称", Align=AlignStyle.Center , Handle="edit" },
  39. new BoundFieldColumn { FieldName="GradePointlimit", HeaderText="绩点基准分数", Align=AlignStyle.Center },
  40. new BoundFieldColumn { FieldName="GradePointFloor", HeaderText="后续绩点增率(绩点/分)", Align=AlignStyle.Center }
  41. },
  42. IsCheckOnSelect = true,
  43. DataSourceUrl = Url.Content("~/GradePointFormula/List"),
  44. ID = "dgGradePointFormulaList",
  45. IsPagination = true,
  46. IsShowRowNumbers = true,
  47. IsSingleSelect = false
  48. })
  49. </div>
  50. </div>