List.cshtml 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  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/PaymentManage/LearningformRate.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. 查询条件
  14. </div>
  15. </div>
  16. <div class="p_title">
  17. <div style="float: left; margin-left: 10px; line-height: 30px; font-size: 12px;">
  18. 形式系数列表
  19. </div>
  20. <div style="margin-right: 10px; line-height: 30px; font-size: 12px;">@Html.ContextMenuBar("List")</div>
  21. </div>
  22. <div class="search_list">
  23. @Html.DataGrid(new DataGridOptions
  24. {
  25. Columns = new List<DataGridColumn>()
  26. {
  27. new CheckBoxFieldColumn{ HeaderText="", FieldName="LearningformRateID" },
  28. new BoundFieldColumn { FieldName="LearningformDesc", HeaderText="学习形式", Align=AlignStyle.Center },
  29. new BoundFieldColumn { FieldName="EducationDesc", HeaderText=EMIS.Utility.RSL.Get("EducationID"), Align=AlignStyle.Center },
  30. new BoundFieldColumn { FieldName="Rate", HeaderText="课酬系数", Align=AlignStyle.Center, CustomFormatFun="CMSFunction.DataTableFormatter.TwoDigit" }
  31. },
  32. IsCheckOnSelect = true,
  33. DataSourceUrl = Url.Content("~/LearningformRate/List"),
  34. ID = "dgLearningformRateList",
  35. IsPagination = true,
  36. IsShowRowNumbers = true,
  37. IsSingleSelect = false
  38. })
  39. </div>
  40. </div>