List.cshtml 7.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  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/Payment.js" type="text/javascript"></script>
  8. <script type="text/javascript">
  9. var nonSelect = "@DropdownList.SELECT_ALL";
  10. </script>
  11. }
  12. <div class="easyui-panel" data-options="border:false,fit:true" style="position: relative;">
  13. @Html.Position()
  14. <div class="p_SearchTitle">
  15. <div style="float: left; margin-left: 10px; font-size: 12px; line-height: 30px;">
  16. 查询条件
  17. </div>
  18. </div>
  19. <form id="formQuery" method="post" action="@Url.Content("~/Payment/Excel")">
  20. @Html.PositionCondition()
  21. <div class="search_keyword">
  22. @Html.Hidden("SelectedID")
  23. <div class="search_input">
  24. <ul>
  25. <li class="sn" style="padding-left: 5px;">学年学期:</li>
  26. <li class="sv">
  27. @Html.DropdownList(new DropdownListOptions { BindType = DropdownListBindType.SelectAll, SelectedValue = BaseExtensions.GetCurrentSchoolYearID(), ItemSourceUrl = Url.Content("~/SchoolYear/DropDown"), ID = "ddlSchoolYear", Name = "ddlSchoolYear", OnSelect = "reload", OnLoadSuccess="reload" }, new Dictionary<string, string> { { "data-condition", "dgPaymentDetail" } })
  28. </li>
  29. <li class="sn" style="padding-left: 5px;">@EMIS.Utility.RSL.Get("College"):</li>
  30. <li class="sv">
  31. @Html.ComboGrid(new ComboGridOptions
  32. {
  33. TextField = "Name",
  34. ValueField = "CollegeID",
  35. Name = "cbgCollege",
  36. ID = "cbgCollege",
  37. OnSelect = "reload",
  38. GridOptions = new DataGridOptions
  39. {
  40. Columns = new List<DataGridColumn>()
  41. {
  42. new BoundFieldColumn { FieldName="Name", HeaderText=@EMIS.Utility.RSL.Get("CollegeName"), Align=AlignStyle.Center }
  43. },
  44. OnLoadSuccessFun = "reload",
  45. IsCheckOnSelect = true,
  46. DataSourceUrl = Url.Content("~/College/List"),
  47. IsPagination = true,
  48. IsShowRowNumbers = true,
  49. IsSingleSelect = false
  50. }
  51. }, new Dictionary<string, string> { { "data-condition", "dgPaymentDetail" } })
  52. </li>
  53. <li class="sn" style="padding-left: 5px;">职称:</li>
  54. <li class="sv">
  55. @Html.DictionaryDropDownList(EMIS.ViewModel.DictionaryItem.CF_Title, new DropdownListOptions { ID = "ddlTitle", Name = "ddlTitle", BindType = DropdownListBindType.SelectAll, OnSelect = "reload", OnLoadSuccess = "reload" }, new Dictionary<string, string> { { "data-condition", "dgPaymentDetail" } })
  56. </li>
  57. </ul>
  58. </div>
  59. </div>
  60. </form>
  61. <div class="p_title">
  62. <div style="float: left; margin-left: 10px; line-height: 30px; font-size: 12px;">
  63. 课酬统计列表
  64. </div>
  65. <div style="margin-right: 10px; line-height: 30px; font-size: 12px;">@Html.ContextMenuBar("List")</div>
  66. </div>
  67. @Html.PositionBatchModify()
  68. <div class="search_list">
  69. @Html.DataGrid(new DataGridOptions
  70. {
  71. Columns = new List<DataGridColumn>()
  72. {
  73. new BoundFieldColumn { FieldName="SchoolyearCode", HeaderText="学年学期", Align=AlignStyle.Center, Width=100 },
  74. new BoundFieldColumn { FieldName="CollegeName", HeaderText=EMIS.Utility.RSL.Get("College"), Align=AlignStyle.Center, Width=60 },
  75. new BoundFieldColumn { FieldName="UserName", HeaderText="任课老师", Align=AlignStyle.Center, Width=60 },
  76. new BoundFieldColumn { FieldName="TitleDesc", HeaderText="职称", Align=AlignStyle.Center, Width=100 },
  77. new BoundFieldColumn { FieldName="PaymentStandard", HeaderText="标准课酬", Align=AlignStyle.Center, CustomFormatFun="CMSFunction.DataTableFormatter.TwoDigit", Width=80 },
  78. new BoundFieldColumn { FieldName="EducationDesc", HeaderText=EMIS.Utility.RSL.Get("EducationID"), Align=AlignStyle.Center, Width=60 },
  79. new BoundFieldColumn { FieldName="LearningformDesc", HeaderText="学习形式", Align=AlignStyle.Center, Width=100 },
  80. new BoundFieldColumn { FieldName="LearningformRate", HeaderText="形式系数", Align=AlignStyle.Center, Width=80, CustomFormatFun="CMSFunction.DataTableFormatter.TwoDigit" },
  81. new BoundFieldColumn { FieldName="StudentCount", HeaderText="班级人数", Align=AlignStyle.Center, Width=80 },
  82. new BoundFieldColumn { FieldName="ExemptionCount", HeaderText="免考人数", Align=AlignStyle.Center, Width=80 },
  83. new BoundFieldColumn { FieldName="ActualStudentCount", HeaderText="实际人数", Align=AlignStyle.Center, Width=80 },
  84. new BoundFieldColumn { FieldName="StudentCountRate", HeaderText="人数系数", Align=AlignStyle.Center, Width=80, CustomFormatFun="CMSFunction.DataTableFormatter.TwoDigit" },
  85. new BoundFieldColumn { FieldName="RetakeStudentCount", HeaderText="重修人数", Align=AlignStyle.Center, Width=80 },
  86. new BoundFieldColumn { FieldName="ScheduleDayCount", HeaderText="排课天数", Align=AlignStyle.Center, Width=80 },
  87. new BoundFieldColumn { FieldName="ActualScheduleHours", HeaderText="实际学时", Align=AlignStyle.Center, Width=80 },
  88. new BoundFieldColumn { FieldName="HoursPayment", HeaderText="课时课酬", Align=AlignStyle.Center, Width=80, CustomFormatFun="CMSFunction.DataTableFormatter.TwoDigit" },
  89. new BoundFieldColumn { FieldName="PracticeHours", HeaderText="实践学时", Align=AlignStyle.Center, Width=80 },
  90. new BoundFieldColumn { FieldName="PracticeRate", HeaderText="实践系数", Align=AlignStyle.Center, Width=80, CustomFormatFun="CMSFunction.DataTableFormatter.TwoDigit" },
  91. new BoundFieldColumn { FieldName="PracticePayment", HeaderText="实践课酬", Align=AlignStyle.Center, Width=80, CustomFormatFun="CMSFunction.DataTableFormatter.TwoDigit" },
  92. new BoundFieldColumn { FieldName="TotalPayment", HeaderText="总课酬", Align=AlignStyle.Center, Width=80, CustomFormatFun="CMSFunction.DataTableFormatter.TwoDigit" },
  93. new BoundFieldColumn { FieldName="ClasamajorName", HeaderText="班级名称", Align=AlignStyle.Center, Width=200 },
  94. new BoundFieldColumn { FieldName="CoursematerialName", HeaderText="课程名称", Align=AlignStyle.Center, OverflowLength=14, Width=120 },
  95. new BoundFieldColumn { FieldName="PlanTotalHours", HeaderText="计划学时", Align=AlignStyle.Center, Width=60 },
  96. new BoundFieldColumn { FieldName="TimeSegmentDesc", HeaderText="课时类别", Align=AlignStyle.Center, Width=60 },
  97. new BoundFieldColumn { FieldName="ExaminationModeDesc", HeaderText="考核方式", Align=AlignStyle.Center, Width=80 }
  98. },
  99. IsCheckOnSelect = true,
  100. DataSourceUrl = Url.Content("~/Payment/List"),
  101. ID = "dgPaymentDetail",
  102. IsPagination = true,
  103. IsShowRowNumbers = true,
  104. IsSingleSelect = false
  105. })
  106. </div>
  107. </div>