List.cshtml 3.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  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/LevelStandard.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. <form id="formQuery" method="post" action="@Url.Content("~/WorktimeAdjustment/Excel")">
  17. @Html.PositionCondition()
  18. <div class="search_keyword">
  19. <div class="search_input">
  20. <ul>
  21. <li class="sn" style="padding-left: 5px;">聘任类别:</li>
  22. <li class="sv">
  23. @Html.DictionaryDropDownList(EMIS.ViewModel.DictionaryItem.CF_EmploymentType, new DropdownListOptions { BindType = DropdownListBindType.SelectAll, Name = "ddlEmploymentType", ID = "ddlEmploymentType", OnSelect = "reload" }, new Dictionary<string, string> { { "data-condition", "dgLevelStandardList" } })
  24. </li>
  25. <li class="sn" style="padding-left: 5px;">教师类型:</li>
  26. <li class="sv">
  27. @Html.DictionaryDropDownList(EMIS.ViewModel.DictionaryItem.CF_TeacherType, new DropdownListOptions { BindType = DropdownListBindType.SelectAll, Name = "ddlTeacherType", ID = "ddlTeacherType", OnSelect = "reload" }, new Dictionary<string, string> { { "data-condition", "dgLevelStandardList" } })
  28. </li>
  29. <li class="sn" style="padding-left: 5px;">课酬级别:</li>
  30. <li class="sv">
  31. @Html.DictionaryDropDownList(EMIS.ViewModel.DictionaryItem.TP_PaymentLevel, new DropdownListOptions { BindType = DropdownListBindType.SelectAll, Name = "ddlPaymentLevel", ID = "ddlPaymentLevel", OnSelect = "reload" }, new Dictionary<string, string> { { "data-condition", "dgLevelStandardList" } })
  32. </li>
  33. </ul>
  34. </div>
  35. </div>
  36. </form>
  37. <div class="p_title">
  38. <div style="float: left; margin-left: 10px; line-height: 30px; font-size: 12px;">
  39. 标准课酬列表
  40. </div>
  41. <div style="margin-right: 10px; line-height: 30px; font-size: 12px;">@Html.ContextMenuBar("List")</div>
  42. </div>
  43. @Html.PositionBatchModify()
  44. <div class="search_list">
  45. @Html.DataGrid(new DataGridOptions
  46. {
  47. Columns = new List<DataGridColumn>()
  48. {
  49. new CheckBoxFieldColumn{ HeaderText="", FieldName="LevelStandardID" },
  50. new BoundFieldColumn { FieldName="EmploymentTypeDesc", HeaderText="聘任类别", Align=AlignStyle.Center },
  51. new BoundFieldColumn { FieldName="TeacherTypeDesc", HeaderText="教师类型", Align=AlignStyle.Center },
  52. new BoundFieldColumn { FieldName="PaymentLevelDesc", HeaderText="课酬级别", Align=AlignStyle.Center },
  53. new BoundFieldColumn { FieldName="Amount", HeaderText="标准课酬", Align=AlignStyle.Center, CustomFormatFun="CMSFunction.DataTableFormatter.TwoDigit" }
  54. },
  55. IsCheckOnSelect = true,
  56. DataSourceUrl = Url.Content("~/LevelStandard/List"),
  57. ID = "dgLevelStandardList",
  58. IsPagination = true,
  59. IsShowRowNumbers = true,
  60. IsSingleSelect = false
  61. })
  62. </div>
  63. </div>