List.cshtml 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  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/PaymentStandard.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. @Html.PositionBatchModify()
  23. <div class="search_list">
  24. @Html.DataGrid(new DataGridOptions
  25. {
  26. Columns = new List<DataGridColumn>()
  27. {
  28. new CheckBoxFieldColumn{ HeaderText="", FieldName="PaymentStandardID" },
  29. new BoundFieldColumn { FieldName="TeacherTypeDesc", HeaderText="教师类型", Align=AlignStyle.Center },
  30. new BoundFieldColumn { FieldName="TitleDesc", HeaderText="职称", Align=AlignStyle.Center },
  31. new BoundFieldColumn { FieldName="Amount", HeaderText="标准课酬", Align=AlignStyle.Center, CustomFormatFun="CMSFunction.DataTableFormatter.TwoDigit" }
  32. },
  33. IsCheckOnSelect = true,
  34. DataSourceUrl = Url.Content("~/PaymentStandard/List"),
  35. ID = "dgPaymentStandardList",
  36. IsPagination = true,
  37. IsShowRowNumbers = true,
  38. IsSingleSelect = false
  39. })
  40. </div>
  41. </div>